Skip to content

Commit

Permalink
#14782: Automating supported params table for unary backward ops (#14894
Browse files Browse the repository at this point in the history
)

### Ticket
#14782 

### Problem description
The table format needs to be updated in unary backward pybind to avoid
duplicating it for each op that is added.

### What's changed
- Updated supported parameters table format
- Reworded some descriptions
- Added clip_bw to rst file
- Move some binary backward ops from unary backward doc list.

### Checklist
- [x] [Post commit CI
passes](https://github.com/tenstorrent/tt-metal/actions/runs/11773476764)
  • Loading branch information
mcw-anasuya authored Nov 11, 2024
1 parent 498db4e commit f42fc28
Show file tree
Hide file tree
Showing 2 changed files with 397 additions and 690 deletions.
9 changes: 5 additions & 4 deletions docs/source/ttnn/ttnn/api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -194,16 +194,15 @@ Pointwise Unary
ttnn.threshold
ttnn.trunc
ttnn.clamp_bw
ttnn.clip_bw
ttnn.hardtanh_bw
ttnn.threshold_bw
ttnn.softplus_bw
ttnn.rdiv_bw
ttnn.bias_gelu_bw
ttnn.pow_bw
ttnn.exp_bw
ttnn.tanh_bw
ttnn.sqrt_bw
ttnn.assign_bw
ttnn.multigammaln_bw
ttnn.lgamma_bw
ttnn.fill_bw
Expand Down Expand Up @@ -255,8 +254,6 @@ Pointwise Unary
ttnn.logiteps_bw
ttnn.log2_bw
ttnn.sign_bw
ttnn.fmod_bw
ttnn.remainder_bw
ttnn.div_no_nan_bw
ttnn.exp2_bw
ttnn.expm1_bw
Expand Down Expand Up @@ -341,9 +338,13 @@ Pointwise Binary
ttnn.scatter
ttnn.atan2
ttnn.add_bw
ttnn.assign_bw
ttnn.atan2_bw
ttnn.bias_gelu_bw
ttnn.div_bw
ttnn.embedding_bw
ttnn.fmod_bw
ttnn.remainder_bw
ttnn.addalpha_bw
ttnn.subalpha_bw
ttnn.xlogy_bw
Expand Down
Loading

0 comments on commit f42fc28

Please sign in to comment.