numpy how element wise multiplication work with different dimension code example Example: how to do element wise multiplication in numpy numpy.multiply(arr1, arr2)