(x, y, axis=-1, name=None)
| 1408 | |
| 1409 | |
| 1410 | def _subtract_with_axis(x, y, axis=-1, name=None): |
| 1411 | # opt performance, only dynamic mode needs reshape |
| 1412 | if in_dynamic_or_pir_mode(): |
| 1413 | return _elementwise_op_with_axis(x, y, axis, name, "subtract") |
| 1414 | else: |
| 1415 | op_type = 'elementwise_sub' |
| 1416 | return _elementwise_op(LayerHelper(op_type, **locals())) |
| 1417 | |
| 1418 | |
| 1419 | def _multiply_with_axis(x, y, axis=-1, name=None): |
nothing calls this directly
no test coverage detected