pub trait IntoIndex {
// Required method
fn into_index(self) -> impl IntoIterator<Item = Range<i64>>;
}Expand description
Implemented for objects that can be used to index tensors.
Required Methods§
sourcefn into_index(self) -> impl IntoIterator<Item = Range<i64>>
fn into_index(self) -> impl IntoIterator<Item = Range<i64>>
Convert self to tensor index.
Object Safety§
This trait is not object safe.