DataType

onnx.onnx.TensorProto.DataType
See theDataType companion object
sealed abstract class DataType(val value: Int) extends GeneratedEnum

Attributes

Companion
object
Graph
Supertypes
trait GeneratedEnum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Known subtypes
object BFLOAT16.type
object BOOL.type
object COMPLEX128.type
object COMPLEX64.type
object DOUBLE.type
object FLOAT.type
object FLOAT16.type
object INT16.type
object INT32.type
object INT64.type
object INT8.type
trait Recognized
object STRING.type
object UINT16.type
object UINT32.type
object UINT64.type
object UINT8.type
object UNDEFINED.type
class Unrecognized
Show all

Members list

Type members

Types

Value members

Concrete methods

final def asRecognized: Option[Recognized]
def companion: GeneratedEnumCompanion[DataType]
def isBfloat16: Boolean
def isBool: Boolean
def isComplex128: Boolean
def isComplex64: Boolean
def isDouble: Boolean
def isFloat: Boolean
def isFloat16: Boolean
def isInt16: Boolean
def isInt32: Boolean
def isInt64: Boolean
def isInt8: Boolean
def isString: Boolean
def isUint16: Boolean
def isUint32: Boolean
def isUint64: Boolean
def isUint8: Boolean
def isUndefined: Boolean

Inherited methods

def canEqual(that: Any): Boolean

Attributes

Inherited from:
Equals
def index: Int

Attributes

Inherited from:
GeneratedEnum
def isUnrecognized: Boolean

Attributes

Inherited from:
GeneratedEnum
def javaValueDescriptor: EnumValueDescriptor

Attributes

Inherited from:
GeneratedEnum
def name: String

Attributes

Inherited from:
GeneratedEnum
def productArity: Int

Attributes

Inherited from:
Product
def productElement(n: Int): Any

Attributes

Inherited from:
Product
def productElementName(n: Int): String

Attributes

Inherited from:
Product
def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product
def productPrefix: String

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 value: Int