Segment

Models & Types · AiDotNet.Onnx.Protobuf

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.

Implements: IBufferMessage, IMessage<Segment>

Constructors

Constructor Summary
Segment()
Segment(Segment other)

Properties

Property Summary
MessageDescriptor Descriptor { get; }
MessageParser<Segment> Parser { get; }
long Begin { get; set; }
long End { get; set; }

Methods

Method Summary
Segment Clone()
bool Equals(Segment other)
bool Equals(object other)
int CalculateSize()
int GetHashCode()
string ToString()
void MergeFrom(CodedInputStream input)
void MergeFrom(Segment other)
void WriteTo(CodedOutputStream output)

Fields

Field Summary
int BeginFieldNumber Field number for the “begin” field.
int EndFieldNumber Field number for the “end” field.