Enum tch::index::TensorIndexer [−][src]
pub enum TensorIndexer {
Select(i64),
Narrow(Bound<i64>, Bound<i64>),
IndexSelect(Tensor),
InsertNewAxis,
}
Variants
Select(i64)
Tuple Fields of Select
0: i64
IndexSelect(Tensor)
Tuple Fields of IndexSelect
0: Tensor
Trait Implementations
Performs the conversion.
Performs the conversion.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.