Hi Weikang!



 Boltzmachine:

How to multiply the two tensors.


Pytorch supports only certain operations between sparse and dense
tensors.  But you can always convert your sparse tensor to dense:
dense_result = my_multiply_op (A.to_dense(), B)

Further, from the shapes of your tensors, it’s not clear how you wish
to “multiply” them together.  Could you post explicit pytorch code
that shows – for two dense tensors of your given shapes – how you
would like them multiplied?
Best.
K. Frank