TypeProto

onnx.onnx.TypeProto
See theTypeProto companion class
object TypeProto extends GeneratedMessageCompanion[TypeProto]

Attributes

Companion
class
Graph
Supertypes
trait Product
trait Mirror
trait GeneratedMessageCompanion[TypeProto]
trait Serializable
class Object
trait Matchable
class Any
Show all
Self type
TypeProto.type

Members list

Type members

Classlikes

final case class Map(keyType: Option[Int], valueType: Option[TypeProto], unknownFields: UnknownFieldSet) extends GeneratedMessage, Updatable[Map]

map<K,V>

map<K,V>

Value parameters

keyType

This field MUST have a valid TensorProto.DataType value This field MUST be present for this version of the IR. This field MUST refer to an integral type ([U]INT{8|16|32|64}) or STRING

valueType

This field MUST be present for this version of the IR.

Attributes

Companion
object
Supertypes
trait Updatable[Map]
trait GeneratedMessage
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object Map extends GeneratedMessageCompanion[Map]

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
trait GeneratedMessageCompanion[Map]
trait Serializable
class Object
trait Matchable
class Any
Show all
Self type
Map.type
final case class Sequence(elemType: Option[TypeProto], unknownFields: UnknownFieldSet) extends GeneratedMessage, Updatable[Sequence]

repeated T

repeated T

Value parameters

elemType

The type and optional shape of each element of the sequence. This field MUST be present for this version of the IR.

Attributes

Companion
object
Supertypes
trait Updatable[Sequence]
trait GeneratedMessage
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object Sequence extends GeneratedMessageCompanion[Sequence]

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
trait GeneratedMessageCompanion[Sequence]
trait Serializable
class Object
trait Matchable
class Any
Show all
Self type
Sequence.type
final case class Tensor(elemType: Option[Int], shape: Option[TensorShapeProto], unknownFields: UnknownFieldSet) extends GeneratedMessage, Updatable[Tensor]

Value parameters

elemType

This field MUST NOT have the value of UNDEFINED This field MUST have a valid TensorProto.DataType value This field MUST be present for this version of the IR.

Attributes

Companion
object
Supertypes
trait Updatable[Tensor]
trait GeneratedMessage
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object Tensor extends GeneratedMessageCompanion[Tensor]

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
trait GeneratedMessageCompanion[Tensor]
trait Serializable
class Object
trait Matchable
class Any
Show all
Self type
Tensor.type
implicit class TypeProtoLens[UpperPB](_l: Lens[UpperPB, TypeProto]) extends ObjectLens[UpperPB, TypeProto]

Attributes

Supertypes
class ObjectLens[UpperPB, TypeProto]
trait Lens[UpperPB, TypeProto]
trait Serializable
class Object
trait Matchable
class Any
Show all
object Value

Attributes

Companion
trait
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
Value.type
sealed trait Value extends GeneratedOneof

Attributes

Companion
object
Supertypes
trait GeneratedOneof
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Known subtypes
object Empty.type
class MapType
class SequenceType
class TensorType

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:
GeneratedMessageCompanion

Value members

Concrete methods

def enumCompanionForFieldNumber(`__fieldNumber`: Int): GeneratedEnumCompanion[_]
def javaDescriptor: Descriptor

Returns the Java descriptors for this message. 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 message. 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 messageCompanionForFieldNumber(`__number`: Int): GeneratedMessageCompanion[_]
def of(value: Value, denotation: Option[String]): TypeProto
def parseFrom(`_input__`: CodedInputStream): TypeProto

Parses a message from a CodedInputStream.

Parses a message from a CodedInputStream.

Attributes

def scalaDescriptor: Descriptor

Inherited methods

def enumCompanionForField(field: FieldDescriptor): GeneratedEnumCompanion[_]

Attributes

Inherited from:
GeneratedMessageCompanion
def fromAscii(s: String): A

Attributes

Inherited from:
GeneratedMessageCompanion
def merge(a: TypeProto, input: CodedInputStream): A

Merges the given message with the additional fields in the steam.

Merges the given message with the additional fields in the steam.

Attributes

Inherited from:
GeneratedMessageCompanion
def messageCompanionForField(field: FieldDescriptor): GeneratedMessageCompanion[_]

Attributes

Inherited from:
GeneratedMessageCompanion
def parseDelimitedFrom(input: InputStream): Option[A]

Attributes

Inherited from:
GeneratedMessageCompanion
def parseDelimitedFrom(input: CodedInputStream): Option[A]

Attributes

Inherited from:
GeneratedMessageCompanion
def parseFrom(s: Array[Byte]): A

Attributes

Inherited from:
GeneratedMessageCompanion
def parseFrom(input: InputStream): A

Attributes

Inherited from:
GeneratedMessageCompanion
def streamFromDelimitedInput(input: InputStream): Stream[A]

Attributes

Inherited from:
GeneratedMessageCompanion
def toByteArray(a: TypeProto): Array[Byte]

Attributes

Inherited from:
GeneratedMessageCompanion
def validate(s: Array[Byte]): Try[A]

Attributes

Inherited from:
GeneratedMessageCompanion
def validateAscii(s: String): Either[TextFormatError, A]

Attributes

Inherited from:
GeneratedMessageCompanion

Concrete fields

final val MAP_TYPE_FIELD_NUMBER: 5
lazy val nestedMessagesCompanions: Seq[GeneratedMessageCompanion[_ <: GeneratedMessage]]

Implicits

Implicits

final implicit def TypeProtoLens[UpperPB](_l: Lens[UpperPB, TypeProto]): TypeProtoLens[UpperPB]
implicit def messageCompanion: GeneratedMessageCompanion[TypeProto]
implicit def messageReads: Reads[TypeProto]