Enum tch::index::TensorIndexer[][src]

pub enum TensorIndexer {
    Select(i64),
    Narrow(Bound<i64>, Bound<i64>),
    IndexSelect(Tensor),
    InsertNewAxis,
}

Variants

Select(i64)
Narrow(Bound<i64>, Bound<i64>)
IndexSelect(Tensor)
InsertNewAxis

Trait Implementations

impl Debug for TensorIndexer[src]

impl From<&'_ [i64]> for TensorIndexer[src]

impl From<&'_ Tensor> for TensorIndexer[src]

impl From<NewAxis> for TensorIndexer[src]

impl From<Range<i64>> for TensorIndexer[src]

impl From<RangeFrom<i64>> for TensorIndexer[src]

impl From<RangeFull> for TensorIndexer[src]

impl From<RangeInclusive<i64>> for TensorIndexer[src]

impl From<RangeTo<i64>> for TensorIndexer[src]

impl From<RangeToInclusive<i64>> for TensorIndexer[src]

impl From<Vec<i64, Global>> for TensorIndexer[src]

impl From<i64> for TensorIndexer[src]

impl PartialEq<TensorIndexer> for TensorIndexer[src]

impl StructuralPartialEq for TensorIndexer[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,