How pytorch use .* symbol like Matlab?

I want to use .* in pytorch.

Is there any way?

torch.mul() is the element-wise multiplication. It works for you