Class TensorShapeProto.Types.Dimension
Inheritance
TensorShapeProto.Types.Dimension
Namespace: Onnx
Syntax
public sealed class Dimension : Google.Protobuf.IMessage<TensorShapeProto.Types.Dimension>
Constructors
Dimension()
Declaration
Dimension(TensorShapeProto.Types.Dimension)
Declaration
public Dimension(TensorShapeProto.Types.Dimension other)
Parameters
Fields
DenotationFieldNumber
Field number for the "denotation" field.
Declaration
public const int DenotationFieldNumber = 3
Field Value
DimParamFieldNumber
Field number for the "dim_param" field.
Declaration
public const int DimParamFieldNumber = 2
Field Value
DimValueFieldNumber
Field number for the "dim_value" field.
Declaration
public const int DimValueFieldNumber = 1
Field Value
Properties
Denotation
Declaration
public string Denotation { get; set; }
Property Value
Descriptor
Declaration
public static Google.Protobuf.Reflection.MessageDescriptor Descriptor { get; }
Property Value
Type |
Description |
Google.Protobuf.Reflection.MessageDescriptor |
|
DimParam
Declaration
public string DimParam { get; set; }
Property Value
DimValue
Declaration
public long DimValue { get; set; }
Property Value
Parser
Declaration
public static Google.Protobuf.MessageParser<TensorShapeProto.Types.Dimension> Parser { get; }
Property Value
ValueCase
Declaration
public TensorShapeProto.Types.Dimension.ValueOneofCase ValueCase { get; }
Property Value
Methods
CalculateSize()
Declaration
public int CalculateSize()
Returns
ClearValue()
Declaration
Clone()
Declaration
public TensorShapeProto.Types.Dimension Clone()
Returns
Equals(TensorShapeProto.Types.Dimension)
Declaration
public bool Equals(TensorShapeProto.Types.Dimension other)
Parameters
Returns
Equals(Object)
Declaration
public override bool Equals(object other)
Parameters
Type |
Name |
Description |
Object |
other |
|
Returns
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Declaration
public void MergeFrom(Google.Protobuf.CodedInputStream input)
Parameters
Type |
Name |
Description |
Google.Protobuf.CodedInputStream |
input |
|
MergeFrom(TensorShapeProto.Types.Dimension)
Declaration
public void MergeFrom(TensorShapeProto.Types.Dimension other)
Parameters
ToString()
Declaration
public override string ToString()
Returns
WriteTo(Google.Protobuf.CodedOutputStream)
Declaration
public void WriteTo(Google.Protobuf.CodedOutputStream output)
Parameters
Type |
Name |
Description |
Google.Protobuf.CodedOutputStream |
output |
|