mul

static OperationNamespace.mul(x, y, *, name=None)

Multiplies two values element-wise.

Parameters
  • x (number or np.ndarray or Tensor) – The left multiplicand, \(x\).

  • y (number or np.ndarray or Tensor) – The right multiplicand, \(y\).

  • name (str, optional) – The name of the node.

Returns

The element-wise value of \(x\times y\).

Return type

Tensor