Return ``x + y`` element-wise with `broadcasting `_. Parameters ---------- x: <\\*, T> (Required) * Shape must be compatible with ``y`` in broadcast. y: <\\*, T> (Required) * Shape must be comp
| 91 | |
| 92 | @register_op |
| 93 | class add(elementwise_binary): |
| 94 | """ |
| 95 | Return ``x + y`` element-wise with |
| 96 | `broadcasting <https://docs.scipy.org/doc/numpy/user/basics.broadcasting.html>`_. |
| 97 | |
| 98 | Parameters |
| 99 | ---------- |
| 100 | x: <\\*, T> (Required) |
| 101 | * Shape must be compatible with ``y`` in broadcast. |
| 102 | |
| 103 | y: <\\*, T> (Required) |
| 104 | * Shape must be compatible with ``x`` in broadcast. |
| 105 | |
| 106 | Returns |
| 107 | ------- |
| 108 | <\\*, T> |
| 109 | |
| 110 | Attributes |
| 111 | ---------- |
| 112 | T: fp16, fp32, i32 |
| 113 | """ |
| 114 | |
| 115 | def get_operator(self): |
| 116 | return operator.add |
| 117 | |
| 118 | |
| 119 | @register_op |
nothing calls this directly
no outgoing calls
no test coverage detected