AttributeType

onnx.onnx.AttributeProto.AttributeType
See theAttributeType companion object
sealed abstract class AttributeType(val value: Int) extends GeneratedEnum

Note: this enum is structurally identical to the OpSchema::AttrType enum defined in schema.h. If you rev one, you likely need to rev the other.

Attributes

Companion
object
Graph
Supertypes
trait GeneratedEnum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Known subtypes
object FLOAT.type
object FLOATS.type
object GRAPH.type
object GRAPHS.type
object INT.type
object INTS.type
trait Recognized
object SPARSE_TENSOR.type
object SPARSE_TENSORS.type
object STRING.type
object STRINGS.type
object TENSOR.type
object TENSORS.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[AttributeType]
def isFloat: Boolean
def isFloats: Boolean
def isGraph: Boolean
def isGraphs: Boolean
def isInt: Boolean
def isInts: Boolean
def isSparseTensor: Boolean
def isSparseTensors: Boolean
def isString: Boolean
def isStrings: Boolean
def isTensor: Boolean
def isTensors: 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