DataLocation

onnx.onnx.TensorProto.DataLocation
See theDataLocation companion object
sealed abstract class DataLocation(val value: Int) extends GeneratedEnum

Location of the data for this tensor. MUST be one of:

  • DEFAULT - data stored inside the protobuf message. Data is stored in raw_data (if set) otherwise in type-specified field.
  • EXTERNAL - data stored in an external location as described by external_data field.

Attributes

Companion
object
Graph
Supertypes
trait GeneratedEnum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Known subtypes
object DEFAULT.type
object EXTERNAL.type
trait Recognized
class Unrecognized

Members list

Type members

Types

Value members

Concrete methods

final def asRecognized: Option[Recognized]
def companion: GeneratedEnumCompanion[DataLocation]
def isDefault: Boolean
def isExternal: 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