Represents a storage type for elements of a tensor
| Union case |
Description
|
Full Usage:
BFloat16
|
Store elements as 16-bit floating point numbers (bfloat16 variation) |
Full Usage:
Bool
|
Store elements as booleans |
Full Usage:
Byte
|
Store elements as 8-bit unsigned integers |
Full Usage:
Float16
|
Store elements as 16-bit floating point numbers |
Full Usage:
Float32
|
Store elements as 32-bit floating point numbers |
Full Usage:
Float64
|
Store elements as 64-bit floating point numbers |
Full Usage:
Int16
|
Store elements as 16-bit signed integers |
Full Usage:
Int32
|
Store elements as 32-bit signed integers |
Full Usage:
Int64
|
Store elements as 64-bit signed integers |
Full Usage:
Int8
|
Store elements as 8-bit integers |
| Instance member |
Description
|
Full Usage:
this.IsBFloat16
Returns: bool
|
|
Full Usage:
this.IsBool
Returns: bool
|
|
Full Usage:
this.IsByte
Returns: bool
|
|
Full Usage:
this.IsFloat16
Returns: bool
|
|
Full Usage:
this.IsFloat32
Returns: bool
|
|
Full Usage:
this.IsFloat64
Returns: bool
|
|
Full Usage:
this.IsInt16
Returns: bool
|
|
Full Usage:
this.IsInt32
Returns: bool
|
|
Full Usage:
this.IsInt64
Returns: bool
|
|
Full Usage:
this.IsInt8
Returns: bool
|
|
|
Gets the natural result of the Sum(), SumToSize() and Sum(dim) operation on this dtype
|
© Copyright 2021, DiffSharp and dfx Contributors.