Version

onnx.onnx.Version$
See theVersion companion class
object Version extends GeneratedEnumCompanion[Version]

Attributes

Companion
class
Graph
Supertypes
trait Sum
trait Mirror
trait GeneratedEnumCompanion[Version]
trait Serializable
class Object
trait Matchable
class Any
Show all
Self type
Version.type

Members list

Type members

Classlikes

case object IR_VERSION extends Version, Recognized

IR VERSION 7 published on <TBD>

IR VERSION 7 published on <TBD>

  • Add support to allow function body graph to rely on multiple external opreator sets.
  • Add a list to promote inference graph's initializers to global and mutable variables. Global variables are visible in all graphs of the stored models.
  • Add message TrainingInfoProto to store initialization method and training algorithm. The execution of TrainingInfoProto can modify the values of mutable variables.
  • Implicitly add inference graph into each TrainingInfoProto's algorithm.

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Recognized
class Version
trait GeneratedEnum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
IR_VERSION.type

The version field is always serialized and we will use it to store the version that the graph is generated from. This helps us set up version control. For the IR, we are using simple numbers starting with 0x00000001, which was the version we published on Oct 10, 2017.

The version field is always serialized and we will use it to store the version that the graph is generated from. This helps us set up version control. For the IR, we are using simple numbers starting with 0x00000001, which was the version we published on Oct 10, 2017.

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Recognized
class Version
trait GeneratedEnum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type

IR_VERSION 2 published on Oct 30, 2017

IR_VERSION 2 published on Oct 30, 2017

  • Added type discriminator to AttributeProto to support proto3 users

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Recognized
class Version
trait GeneratedEnum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
case object IR_VERSION_2017_11_3 extends Version, Recognized

IR VERSION 3 published on Nov 3, 2017

IR VERSION 3 published on Nov 3, 2017

  • For operator versioning:
    • Added new message OperatorSetIdProto
    • Added opset_import in ModelProto
  • For vendor extensions, added domain in NodeProto

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Recognized
class Version
trait GeneratedEnum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
case object IR_VERSION_2019_1_22 extends Version, Recognized

IR VERSION 4 published on Jan 22, 2019

IR VERSION 4 published on Jan 22, 2019

  • Relax constraint that initializers should be a subset of graph inputs
  • Add type BFLOAT16

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Recognized
class Version
trait GeneratedEnum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
case object IR_VERSION_2019_3_18 extends Version, Recognized

IR VERSION 5 published on March 18, 2019

IR VERSION 5 published on March 18, 2019

  • Add message TensorAnnotation.
  • Add quantization annotation in GraphProto to map tensor with its scale and zero point quantization parameters.

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Recognized
class Version
trait GeneratedEnum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
case object IR_VERSION_2019_9_19 extends Version, Recognized

IR VERSION 6 published on Sep 19, 2019

IR VERSION 6 published on Sep 19, 2019

  • Add support for sparse tensor constants stored in model.
  • Add message SparseTensorProto
  • Add sparse initializers

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Recognized
class Version
trait GeneratedEnum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
sealed trait Recognized extends Version

Attributes

Supertypes
class Version
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
object _START_VERSION.type
Show all
final case class Unrecognized(unrecognizedValue: Int) extends Version, UnrecognizedEnum

Attributes

Supertypes
trait UnrecognizedEnum
class Version
trait GeneratedEnum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case object _START_VERSION extends Version, Recognized

proto3 requires the first enum value to be zero. We add this just to appease the compiler.

proto3 requires the first enum value to be zero. We add this just to appease the compiler.

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Recognized
class Version
trait GeneratedEnum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror
type ValueType = A

Attributes

Inherited from:
GeneratedEnumCompanion

Value members

Concrete methods

def fromValue(`__value`: Int): Version
def javaDescriptor: EnumDescriptor

Returns the Java descriptors for this enum. It is recommended to use scalaDescriptors. The Java descriptors are available even when Java conversions is disabled, however they are not avaialable in Scala.js or scala-native.

Returns the Java descriptors for this enum. It is recommended to use scalaDescriptors. The Java descriptors are available even when Java conversions is disabled, however they are not avaialable in Scala.js or scala-native.

Attributes

def scalaDescriptor: EnumDescriptor

Inherited methods

def fromName(name: String): Option[A]

Attributes

Inherited from:
GeneratedEnumCompanion

Concrete fields

lazy val values: Seq[Version]

Implicits

Implicits

implicit def enumCompanion: GeneratedEnumCompanion[Version]