Helper functions to index tensors.
Arguments
- self
(Tensor) Tensor that will be indexed.
- indices
(
List[Tensor]) List of indices. Indices are torch tensors withtorch_long()dtype.
Helper functions to index tensors.
(Tensor) Tensor that will be indexed.
(List[Tensor]) List of indices. Indices are torch tensors with
torch_long() dtype.