multiply

dragon.vm.tensorflow.math.multiply(
  x,
  y,
  name=None
)[source]

Compute the element-wise multiplication.

\[\text{out} = \text{input1} \times \text{input2} \]

Examples:

x = tf.constant(4)
y = tf.constant(2)
print(tf.math.multiply(x, y))
print(x * y)  # Equivalent operation
Parameters:
Returns:

dragon.Tensor – The output tensor.