Values must match at::ScalarType.
Constructors
of(type : T.class) : self forall T
SourceInstance methods
b_float16?
Returns true if this enum value equals BFloat16
Sourcebool?
Returns true if this enum value equals Bool
Sourcecomplex128?
Returns true if this enum value equals Complex128
Sourcecomplex32?
Returns true if this enum value equals Complex32
Sourcecomplex64?
Returns true if this enum value equals Complex64
Sourcefloat16?
Returns true if this enum value equals Float16
Sourcefloat32?
Returns true if this enum value equals Float32
Sourcefloat64?
Returns true if this enum value equals Float64
Sourceint16?
Returns true if this enum value equals Int16
Sourceint32?
Returns true if this enum value equals Int32
Sourceint64?
Returns true if this enum value equals Int64
Sourceint8?
Returns true if this enum value equals Int8
Sourceuint8?
Returns true if this enum value equals Uint8
Source