Skip to content

Commit 79f13b0

Browse files
larryliu0820pytorchbot
authored andcommitted
Update compiler-backend-dialect.md (#5890)
Summary: Update the backend operator list Pull Request resolved: #5890 Reviewed By: helunwencser Differential Revision: D63916244 Pulled By: larryliu0820 fbshipit-source-id: b7dee4939912e0d0bcfa2a5f51ac3d7b07d89954 (cherry picked from commit d9aeca5)
1 parent d8dacf3 commit 79f13b0

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

docs/source/compiler-backend-dialect.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,12 @@ There are the backend operators currently using `bind_pattern_to_op` API.
145145
* `executorch_prims::floordiv.int(SymInt a, SymInt b) -> SymInt`
146146
* pattern: builtin.floordiv
147147
* backend: executor
148+
* `executorch_prims::truediv.int(Scalar a, Scalar b) -> Scalar`
149+
* pattern: builtin.div
150+
* backend: executor
151+
* `executorch_prims::sym_float.Scalar(Scalar a) -> Scalar`
152+
* pattern: builtin.float
153+
* backend: executor
148154
* `executorch_prims::gt.int(SymInt a, SymInt b) -> bool`
149155
* pattern: builtin.gt
150156
* backend: executor
@@ -160,6 +166,12 @@ There are the backend operators currently using `bind_pattern_to_op` API.
160166
* `executorch_prims::eq.int(SymInt a, SymInt b) -> bool`
161167
* pattern: builtin.eq
162168
* backend: executor
169+
* `executorch_prims::mod.Scalar(SymInt a, SymInt b) -> SymInt`
170+
* pattern: builtin.divmod
171+
* backend: executor
172+
* `executorch_prims::neg.Scalar(Scalar a) -> Scalar`
173+
* pattern: operator.ne
174+
* backend: executor
163175
* `quantized_decomposed::embedding_byte(Tensor weight, Tensor weight_scales, Tensor weight_zero_points, int weight_quant_min, int weight_quant_max, Tensor indices) -> Tensor`
164176
* pattern: [source](https://github.com/pytorch/executorch/blob/main/exir/passes/_quant_patterns_and_replacements.py)
165177
* backend: quantization

0 commit comments

Comments
 (0)