Version

onnx.onnx.Version
See theVersion companion object
sealed abstract class Version(val value: Int) extends GeneratedEnum

Versioning

ONNX versioning is specified in docs/IR.md and elaborated on in docs/Versioning.md

To be compatible with both proto2 and proto3, we will use a version number that is not defined by the default value but an explicit enum number.

Attributes

Companion
object
Graph
Supertypes
trait GeneratedEnum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Known subtypes
object IR_VERSION.type
object IR_VERSION_2017_10_10.type
object IR_VERSION_2017_10_30.type
object IR_VERSION_2017_11_3.type
object IR_VERSION_2019_1_22.type
object IR_VERSION_2019_3_18.type
object IR_VERSION_2019_9_19.type
trait Recognized
object _START_VERSION.type
class Unrecognized
Show all

Members list

Type members

Types

type EnumType = Version

Value members

Concrete methods

final def asRecognized: Option[Recognized]
def companion: GeneratedEnumCompanion[Version]
def isIrVersion: Boolean
def isIrVersion20171010: Boolean
def isIrVersion20171030: Boolean
def isIrVersion2017113: Boolean
def isIrVersion2019122: Boolean
def isIrVersion2019318: Boolean
def isIrVersion2019919: Boolean
def isStartVersion: 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