关于torch.bmm的工作原理

关于torch.bmm的工作原理

torch.bmm(input, mat2, deterministic=False, out=None) → Tensor

Performs a batch matrix-matrix product of matrices stored in input and mat2.

input and mat2 must be 3-D tensors each containing the same number of matrices.

If input is a (b×n×m) tensor, mat2 is a (b×m×p) tensor, out will be a (b×n×p) tensor.

outi​=inputi​@mat2i​

相关文章:

  • 2021-11-28
  • 2022-12-23
  • 2021-12-18
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-05-25
  • 2022-01-06
猜你喜欢
  • 2022-12-23
  • 2021-08-23
  • 2021-11-28
  • 2021-10-10
  • 2022-12-23
相关资源
相似解决方案