BFLOAT16

onnx.onnx.TensorProto.DataType.BFLOAT16
case object BFLOAT16 extends DataType, Recognized

Non-IEEE floating-point format based on IEEE754 single-precision floating-point number truncated to 16 bits. This format has 1 sign bit, 8 exponent bits, and 7 mantissa bits.

Attributes

Graph
Supertypes
trait Singleton
trait Product
trait Mirror
trait Recognized
class DataType
trait GeneratedEnum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
BFLOAT16.type

Members list

Type members

Inherited types

Attributes

Inherited from:
DataType
type MirroredElemLabels = EmptyTuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Singleton
type MirroredElemTypes = EmptyTuple

Attributes

Inherited from:
Singleton
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror
type MirroredMonoType = Singleton.this.type

The mirrored *-type

The mirrored *-type

Attributes

Inherited from:
Singleton
type MirroredType = Singleton.this.type

Attributes

Inherited from:
Singleton

Value members

Concrete methods

override def isBfloat16: Boolean

Attributes

Definition Classes

Inherited methods

final def asRecognized: Option[Recognized]

Attributes

Inherited from:
DataType
def companion: GeneratedEnumCompanion[DataType]

Attributes

Inherited from:
DataType
def fromProduct(p: Product): MirroredMonoType

Create a new instance of type T with elements taken from product p.

Create a new instance of type T with elements taken from product p.

Attributes

Inherited from:
Singleton
def isBool: Boolean

Attributes

Inherited from:
DataType
def isComplex128: Boolean

Attributes

Inherited from:
DataType
def isComplex64: Boolean

Attributes

Inherited from:
DataType
def isDouble: Boolean

Attributes

Inherited from:
DataType
def isFloat: Boolean

Attributes

Inherited from:
DataType
def isFloat16: Boolean

Attributes

Inherited from:
DataType
def isInt16: Boolean

Attributes

Inherited from:
DataType
def isInt32: Boolean

Attributes

Inherited from:
DataType
def isInt64: Boolean

Attributes

Inherited from:
DataType
def isInt8: Boolean

Attributes

Inherited from:
DataType
def isString: Boolean

Attributes

Inherited from:
DataType
def isUint16: Boolean

Attributes

Inherited from:
DataType
def isUint32: Boolean

Attributes

Inherited from:
DataType
def isUint64: Boolean

Attributes

Inherited from:
DataType
def isUint8: Boolean

Attributes

Inherited from:
DataType
def isUndefined: Boolean

Attributes

Inherited from:
DataType
def isUnrecognized: Boolean

Attributes

Inherited from:
GeneratedEnum
def javaValueDescriptor: EnumValueDescriptor

Attributes

Inherited from:
GeneratedEnum
def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product
def scalaValueDescriptor: EnumValueDescriptor

Attributes

Inherited from:
GeneratedEnum
override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
GeneratedEnum -> Any
Inherited from:
GeneratedEnum

Concrete fields

val index: Int
val name: String

Inherited fields

val value: Int

Attributes

Inherited from:
DataType