Dimension
Models & Types · AiDotNet.Onnx.Protobuf
No summary documentation available yet.
Implements: IBufferMessage, IMessage<Dimension>
Constructors
| Constructor |
Summary |
Dimension() |
|
Dimension(Dimension other) |
|
Properties
| Property |
Summary |
MessageDescriptor Descriptor { get; } |
|
MessageParser<Dimension> Parser { get; } |
|
ValueOneofCase ValueCase { get; } |
|
bool HasDimParam { get; } |
Gets whether the “dim_param” field is set |
bool HasDimValue { get; } |
Gets whether the “dim_value” field is set |
long DimValue { get; set; } |
|
string Denotation { get; set; } |
Standard denotation can optionally be used to denote tensor dimensions with standard semantic descriptions to ensure that operations are applied to the correct axis of a tensor. |
string DimParam { get; set; } |
namespace Shape |
Methods
| Method |
Summary |
Dimension Clone() |
|
bool Equals(Dimension other) |
|
bool Equals(object other) |
|
int CalculateSize() |
|
int GetHashCode() |
|
string ToString() |
|
void ClearDimParam() |
Clears the value of the oneof if it’s currently set to “dim_param” |
void ClearDimValue() |
Clears the value of the oneof if it’s currently set to “dim_value” |
void ClearValue() |
|
void MergeFrom(CodedInputStream input) |
|
void MergeFrom(Dimension other) |
|
void WriteTo(CodedOutputStream output) |
|
Fields
| Field |
Summary |
int DenotationFieldNumber |
Field number for the “denotation” field. |
int DimParamFieldNumber |
Field number for the “dim_param” field. |
int DimValueFieldNumber |
Field number for the “dim_value” field. |