(x, y, axis=-1, name=None)
| 1417 | |
| 1418 | |
| 1419 | def _multiply_with_axis(x, y, axis=-1, name=None): |
| 1420 | # opt performance, only dynamic mode needs reshape |
| 1421 | if in_dynamic_or_pir_mode(): |
| 1422 | return _elementwise_op_with_axis(x, y, axis, name, "multiply") |
| 1423 | else: |
| 1424 | op_type = 'elementwise_mul' |
| 1425 | return _elementwise_op(LayerHelper(op_type, **locals())) |
| 1426 | |
| 1427 | |
| 1428 | def _divide_with_axis(x, y, axis=-1, name=None): |
nothing calls this directly
no test coverage detected