Segment

@SerialVersionUID(0L) final case class Segment(begin: Option[Long], end: Option[Long], unknownFields: UnknownFieldSet) extends GeneratedMessage with Updatable[Segment]

For very large tensors, we may want to store them in chunks, in which case the following fields will specify the segment that is stored in the current TensorProto.

For very large tensors, we may want to store them in chunks, in which case the following fields will specify the segment that is stored in the current TensorProto.

Companion
object
trait Updatable[Segment]
trait GeneratedMessage
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Concrete methods

def companion: GeneratedMessageCompanion[_]
def getBegin: Long
def getEnd: Long
def getField(__field: FieldDescriptor): PValue
def getFieldByNumber(__fieldNumber: Int): Any
override def serializedSize: Int
Definition Classes
GeneratedMessage
def toProtoString: String
def withBegin(__v: Long): Segment
def withEnd(__v: Long): Segment
def withUnknownFields(__v: UnknownFieldSet): Segment
def writeTo(_output__: CodedOutputStream): Unit

Inherited methods

def productElementNames: Iterator[String]
Inherited from
Product
def productIterator: Iterator[Any]
Inherited from
Product
final def toByteArray: Array[Byte]
Inherited from
GeneratedMessage
final def toByteString: ByteString
Inherited from
GeneratedMessage
final def toPMessage: PMessage
Inherited from
GeneratedMessage
def update(ms: Lens[Segment, Segment] => () => Segment*): Segment
Inherited from
Updatable
final def writeDelimitedTo(output: OutputStream): Unit
Inherited from
GeneratedMessage
final def writeTo(output: OutputStream): Unit
Inherited from
GeneratedMessage