Enum tch::kind::Kind [−][src]
pub enum Kind {
Show 16 variants
Uint8,
Int8,
Int16,
Int,
Int64,
Half,
Float,
Double,
ComplexHalf,
ComplexFloat,
ComplexDouble,
Bool,
QInt8,
QUInt8,
QInt32,
BFloat16,
}
Expand description
The different kind of elements that a Tensor can hold.
Variants
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Kind
impl UnwindSafe for Kind
Blanket Implementations
Mutably borrows from an owned value. Read more