کلاس نهایی عمومی TensorShapeProto
Dimensions of a tensor.نوع Protobuf
tensorflow.TensorShapeProto
کلاس های تو در تو
کلاس | TensorShapeProto.Builder | Dimensions of a tensor. | |
کلاس | TensorShapeProto.Dim | One dimension of the tensor. | |
رابط | TensorShapeProto.DimOrBuilder |
ثابت ها
بین المللی | DIM_FIELD_NUMBER | |
بین المللی | UNKNOWN_RANK_FIELD_NUMBER |
روش های عمومی
بولی | برابر است (object obj) |
Static TensorShapeProto | |
TensorShapeProto | |
نهایی static com.google.protobuf.Descriptors.Descriptor | |
TensorShapeProto.Dim | getDim (شاخص int) Dimensions of the tensor, such as {"input", 30}, {"output", 40} for a 30 x 40 2D tensor. |
بین المللی | getDimCount () Dimensions of the tensor, such as {"input", 30}, {"output", 40} for a 30 x 40 2D tensor. |
فهرست < TensorShapeProto.Dim > | getDimList () Dimensions of the tensor, such as {"input", 30}, {"output", 40} for a 30 x 40 2D tensor. |
TensorShapeProto.DimOrBuilder | getDimOrBuilder (int index) Dimensions of the tensor, such as {"input", 30}, {"output", 40} for a 30 x 40 2D tensor. |
لیست<? TensorShapeProto.DimOrBuilder را گسترش می دهد | getDimOrBuilderList () Dimensions of the tensor, such as {"input", 30}, {"output", 40} for a 30 x 40 2D tensor. |
بین المللی | |
com.google.protobuf.UnknownFieldSet نهایی | |
بولی | getUnknownRank () If true, the number of dimensions in the shape is unknown. |
بین المللی | هش کد () |
بولی نهایی | |
Static TensorShapeProto.Builder | newBuilder (نمونه اولیه TensorShapeProto ) |
Static TensorShapeProto.Builder | newBuilder () |
TensorShapeProto.Builder | |
Static TensorShapeProto | parseDelimitedFrom (ورودی جریان ورودی) |
Static TensorShapeProto | parseDelimitedFrom (ورودی InputStream، com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Static TensorShapeProto | parseFrom (داده های ByteBuffer) |
Static TensorShapeProto | parseFrom (ورودی com.google.protobuf.CodedInputStream، com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Static TensorShapeProto | parseFrom (دادههای ByteBuffer، com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Static TensorShapeProto | parseFrom (ورودی com.google.protobuf.CodedInputStream) |
Static TensorShapeProto | parseFrom (بایت[] داده، com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Static TensorShapeProto | parseFrom (داده های com.google.protobuf.ByteString) |
Static TensorShapeProto | parseFrom (ورودی InputStream، com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Static TensorShapeProto | parseFrom (دادههای com.google.protobuf.ByteString، com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ایستا | تجزیه کننده () |
TensorShapeProto.Builder | toBuilder () |
خالی | writeTo (خروجی com.google.protobuf.CodedOutputStream) |
روش های ارثی
ثابت ها
DIM_FIELD_NUMBER نهایی استاتیک عمومی
مقدار ثابت: 2
نهایی استاتیک عمومی UNKNOWN_RANK_FIELD_NUMBER
مقدار ثابت: 3
روش های عمومی
بولین عمومی برابر است (Object Obj)
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
عمومی TensorShapeProto.Dim getDim (int index)
Dimensions of the tensor, such as {"input", 30}, {"output", 40} for a 30 x 40 2D tensor. If an entry has size -1, this corresponds to a dimension of unknown size. The names are optional. The order of entries in "dim" matters: It indicates the layout of the values in the tensor in-memory representation. The first entry in "dim" is the outermost dimension used to layout the values, the last entry is the innermost dimension. This matches the in-memory layout of RowMajor Eigen tensors. If "dim.size()" > 0, "unknown_rank" must be false.
repeated .tensorflow.TensorShapeProto.Dim dim = 2;
عمومی int getDimCount ()
Dimensions of the tensor, such as {"input", 30}, {"output", 40} for a 30 x 40 2D tensor. If an entry has size -1, this corresponds to a dimension of unknown size. The names are optional. The order of entries in "dim" matters: It indicates the layout of the values in the tensor in-memory representation. The first entry in "dim" is the outermost dimension used to layout the values, the last entry is the innermost dimension. This matches the in-memory layout of RowMajor Eigen tensors. If "dim.size()" > 0, "unknown_rank" must be false.
repeated .tensorflow.TensorShapeProto.Dim dim = 2;
لیست عمومی< TensorShapeProto.Dim > getDimList ()
Dimensions of the tensor, such as {"input", 30}, {"output", 40} for a 30 x 40 2D tensor. If an entry has size -1, this corresponds to a dimension of unknown size. The names are optional. The order of entries in "dim" matters: It indicates the layout of the values in the tensor in-memory representation. The first entry in "dim" is the outermost dimension used to layout the values, the last entry is the innermost dimension. This matches the in-memory layout of RowMajor Eigen tensors. If "dim.size()" > 0, "unknown_rank" must be false.
repeated .tensorflow.TensorShapeProto.Dim dim = 2;
عمومی TensorShapeProto.DimOrBuilder getDimOrBuilder (int index)
Dimensions of the tensor, such as {"input", 30}, {"output", 40} for a 30 x 40 2D tensor. If an entry has size -1, this corresponds to a dimension of unknown size. The names are optional. The order of entries in "dim" matters: It indicates the layout of the values in the tensor in-memory representation. The first entry in "dim" is the outermost dimension used to layout the values, the last entry is the innermost dimension. This matches the in-memory layout of RowMajor Eigen tensors. If "dim.size()" > 0, "unknown_rank" must be false.
repeated .tensorflow.TensorShapeProto.Dim dim = 2;
لیست عمومی<? گسترش TensorShapeProto.DimOrBuilder > getDimOrBuilderList ()
Dimensions of the tensor, such as {"input", 30}, {"output", 40} for a 30 x 40 2D tensor. If an entry has size -1, this corresponds to a dimension of unknown size. The names are optional. The order of entries in "dim" matters: It indicates the layout of the values in the tensor in-memory representation. The first entry in "dim" is the outermost dimension used to layout the values, the last entry is the innermost dimension. This matches the in-memory layout of RowMajor Eigen tensors. If "dim.size()" > 0, "unknown_rank" must be false.
repeated .tensorflow.TensorShapeProto.Dim dim = 2;
عمومی getParserForType ()
عمومی int getSerializedSize ()
عمومی نهایی com.google.protobuf.UnknownFieldSet getUnknownFields ()
بولی عمومی getUnknownRank ()
If true, the number of dimensions in the shape is unknown. If true, "dim.size()" must be 0.
bool unknown_rank = 3;
هش کد عمومی ()
بولین نهایی عمومی isInitialized ()
عمومی استاتیک TensorShapeProto parseDelimitedFrom (ورودی InputStream، com.google.protobuf.ExtensionRegistryLite extensionRegistry)
پرتاب می کند
IOException |
---|
عمومی استاتیک TensorShapeProto parseFrom (داده ByteBuffer)
پرتاب می کند
InvalidProtocolBufferException |
---|
عمومی استاتیک TensorShapeProto parseFrom (ورودی com.google.protobuf.CodedInputStream، com.google.protobuf.ExtensionRegistryLite extensionRegistry)
پرتاب می کند
IOException |
---|
عمومی استاتیک TensorShapeProto parseFrom (داده های ByteBuffer، com.google.protobuf.ExtensionRegistryLite extensionRegistry)
پرتاب می کند
InvalidProtocolBufferException |
---|
عمومی استاتیک TensorShapeProto parseFrom (ورودی com.google.protobuf.CodedInputStream)
پرتاب می کند
IOException |
---|
عمومی استاتیک TensorShapeProto parseFrom (بایت[] داده، com.google.protobuf.ExtensionRegistryLite extensionRegistry)
پرتاب می کند
InvalidProtocolBufferException |
---|
عمومی استاتیک TensorShapeProto parseFrom (داده های com.google.protobuf.ByteString)
پرتاب می کند
InvalidProtocolBufferException |
---|
عمومی استاتیک TensorShapeProto parseFrom (ورودی InputStream، com.google.protobuf.ExtensionRegistryLite extensionRegistry)
پرتاب می کند
IOException |
---|
عمومی استاتیک TensorShapeProto parseFrom (داده های com.google.protobuf.ByteString، com.google.protobuf.ExtensionRegistryLite extensionRegistry)
پرتاب می کند
InvalidProtocolBufferException |
---|
استاتیک عمومی تجزیه کننده ()
public void writeTo (خروجی com.google.protobuf.CodedOutputStream)
پرتاب می کند
IOException |
---|