публичный финальный класс 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 |
Публичные методы
логическое значение | равно (Объект obj) |
статический TensorShapeProto | |
TensorShapeProto | |
окончательный статический com.google.protobuf.Descriptors.Descriptor | |
TensorShapeProto.Dim | getDim (целочисленный индекс) Dimensions of the tensor, such as {"input", 30}, {"output", 40} for a 30 x 40 2D tensor. |
интервал | получитьДимКаунт () Dimensions of the tensor, such as {"input", 30}, {"output", 40} for a 30 x 40 2D tensor. |
Список < TensorShapeProto.Dim > | получитьDimList () Dimensions of the tensor, such as {"input", 30}, {"output", 40} for a 30 x 40 2D tensor. |
TensorShapeProto.DimOrBuilder | getDimOrBuilder (индекс целого числа) 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. |
интервал | хэш-код () |
последнее логическое значение | |
статический TensorShapeProto.Builder | newBuilder (прототип TensorShapeProto ) |
статический TensorShapeProto.Builder | |
TensorShapeProto.Builder | |
статический TensorShapeProto | parseDelimitedFrom (входной поток) |
статический TensorShapeProto | parseDelimitedFrom (ввод InputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
статический TensorShapeProto | parseFrom (данные ByteBuffer) |
статический TensorShapeProto | parseFrom (ввод com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
статический TensorShapeProto | parseFrom (данные ByteBuffer, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
статический TensorShapeProto | parseFrom (вход com.google.protobuf.CodedInputStream) |
статический TensorShapeProto | parseFrom (данные byte[], com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
статический TensorShapeProto | parseFrom (данные com.google.protobuf.ByteString) |
статический TensorShapeProto | parseFrom (ввод входного потока, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
статический TensorShapeProto | parseFrom (данные com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
статический | парсер () |
TensorShapeProto.Builder | toBuilder () |
пустота | writeTo (вывод com.google.protobuf.CodedOutputStream) |
Унаследованные методы
Константы
общедоступный статический окончательный int DIM_FIELD_NUMBER
Постоянное значение: 2
общедоступный статический окончательный int UNKNOWN_RANK_FIELD_NUMBER
Постоянное значение: 3
Публичные методы
общедоступное логическое значение равно (Object obj)
общедоступный статический окончательный com.google.protobuf.Descriptors.Descriptor getDescriptor ()
public TensorShapeProto.Dim getDim (индекс int)
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;
public 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;
public TensorShapeProto.DimOrBuilder getDimOrBuilder (индекс int)
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 ()
public 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;
public int hashCode ()
публичное финальное логическое значение isInitialized ()
общедоступный статический TensorShapeProto parseDelimitedFrom (вход InputStream)
Броски
Исключение IO |
---|
общедоступный статический TensorShapeProto parseDelimitedFrom (ввод InputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
Броски
Исключение IO |
---|
общедоступный статический анализ TensorShapeProto (данные ByteBuffer)
Броски
Инвалидпротоколбуфферисключение |
---|
общедоступный статический анализ TensorShapeProto (вход com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
Броски
Исключение IO |
---|
общедоступный статический анализ TensorShapeProto (данные ByteBuffer, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
Броски
Инвалидпротоколбуфферисключение |
---|
общедоступный статический анализ TensorShapeProto (вход com.google.protobuf.CodedInputStream)
Броски
Исключение IO |
---|
общедоступный статический анализ TensorShapeProto (данные byte[], com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
Броски
Инвалидпротоколбуфферисключение |
---|
общедоступный статический анализ TensorShapeProto (данные com.google.protobuf.ByteString)
Броски
Инвалидпротоколбуфферисключение |
---|
общедоступный статический анализ TensorShapeProto (вход InputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
Броски
Исключение IO |
---|
общедоступный статический анализ TensorShapeProto (данные com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
Броски
Инвалидпротоколбуфферисключение |
---|
общественный статический парсер ()
public void writeTo (вывод com.google.protobuf.CodedOutputStream)
Броски
Исключение IO |
---|