AttributeProto

onnx.onnx.AttributeProto$
See theAttributeProto companion class
object AttributeProto extends GeneratedMessageCompanion[AttributeProto]

Attributes

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

Members list

Type members

Classlikes

implicit class AttributeProtoLens[UpperPB](_l: Lens[UpperPB, AttributeProto]) extends ObjectLens[UpperPB, AttributeProto]

Attributes

Supertypes
class ObjectLens[UpperPB, AttributeProto]
trait Lens[UpperPB, AttributeProto]
trait Serializable
class Object
trait Matchable
class Any
Show all
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.

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
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
object AttributeType extends GeneratedEnumCompanion[AttributeType]

Attributes

Companion
class
Supertypes
trait Sum
trait Mirror
trait GeneratedEnumCompanion[AttributeType]
trait Serializable
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:
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(name: Option[String], refAttrName: Option[String], docString: Option[String], `type`: Option[AttributeType], f: Option[Float], i: Option[Long], s: Option[ByteString], t: Option[TensorProto], g: Option[GraphProto], sparseTensor: Option[SparseTensorProto], floats: Seq[Float], ints: Seq[Long], strings: Seq[ByteString], tensors: Seq[TensorProto], graphs: Seq[GraphProto], sparseTensors: Seq[SparseTensorProto]): AttributeProto
def parseFrom(`_input__`: CodedInputStream): AttributeProto

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: AttributeProto, 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: AttributeProto): 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 DOC_STRING_FIELD_NUMBER: 13
final val FLOATS_FIELD_NUMBER: 7
final val F_FIELD_NUMBER: 2
final val GRAPHS_FIELD_NUMBER: 11
final val G_FIELD_NUMBER: 6
final val INTS_FIELD_NUMBER: 8
final val I_FIELD_NUMBER: 3
final val NAME_FIELD_NUMBER: 1
final val STRINGS_FIELD_NUMBER: 9
final val S_FIELD_NUMBER: 4
final val TENSORS_FIELD_NUMBER: 10
final val TYPE_FIELD_NUMBER: 20
final val T_FIELD_NUMBER: 5
lazy val nestedMessagesCompanions: Seq[GeneratedMessageCompanion[_ <: GeneratedMessage]]

Implicits

Implicits

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