Enum tch::index::TensorIndexer [−][src]
Variants
Select(i64)
IndexSelect(Tensor)
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]
fn from(range: RangeInclusive<i64>) -> Self
[src]
impl From<RangeTo<i64>> for TensorIndexer
[src]
impl From<RangeToInclusive<i64>> for TensorIndexer
[src]
fn from(range: RangeToInclusive<i64>) -> Self
[src]
impl From<Vec<i64, Global>> for TensorIndexer
[src]
impl From<i64> for TensorIndexer
[src]
impl PartialEq<TensorIndexer> for TensorIndexer
[src]
fn eq(&self, other: &TensorIndexer) -> bool
[src]
fn ne(&self, other: &TensorIndexer) -> bool
[src]
impl StructuralPartialEq for TensorIndexer
[src]
Auto Trait Implementations
impl RefUnwindSafe for TensorIndexer
impl Send for TensorIndexer
impl !Sync for TensorIndexer
impl Unpin for TensorIndexer
impl UnwindSafe for TensorIndexer
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,