публичный финальный класс TensorInfo
Information about a Tensor necessary for feeding or retrieval.Тип Protobuf
tensorflow.TensorInfo
Вложенные классы
сорт | TensorInfo.Builder | Information about a Tensor necessary for feeding or retrieval. | |
сорт | TensorInfo.CompositeTensor | Generic encoding for composite tensors. | |
интерфейс | TensorInfo.CompositeTensorOrBuilder | ||
сорт | TensorInfo.CooSparse | For sparse tensors, The COO encoding stores a triple of values, indices, and shape. | |
интерфейс | TensorInfo.CooSparseOrBuilder | ||
перечисление | TensorInfo.EncodingCase |
Константы
интервал | COMPOSITE_TENSOR_FIELD_NUMBER | |
интервал | COO_SPARSE_FIELD_NUMBER | |
интервал | DTYPE_FIELD_NUMBER | |
интервал | NAME_FIELD_NUMBER | |
интервал | TENSOR_SHAPE_FIELD_NUMBER |
Публичные методы
логическое значение | равно (Объект obj) |
TensorInfo.CompositeTensor | получитьКомпозиттензор () Generic encoding for CompositeTensors. |
TensorInfo.CompositeTensorOrBuilder | getCompositeTensorOrBuilder () Generic encoding for CompositeTensors. |
TensorInfo.CooSparse | getCooSparse () There are many possible encodings of sparse matrices (https://en.wikipedia.org/wiki/Sparse_matrix). |
TensorInfo.CooSparseOrBuilder | getCooSparseOrBuilder () There are many possible encodings of sparse matrices (https://en.wikipedia.org/wiki/Sparse_matrix). |
статическая ТензорИнфо | |
ТензорИнфо | |
окончательный статический com.google.protobuf.Descriptors.Descriptor | |
Тип данных | getDtype () .tensorflow.DataType dtype = 2; |
интервал | getDtypeValue () .tensorflow.DataType dtype = 2; |
TensorInfo.EncodingCase | |
Нить | получитьИмя () For dense `Tensor`s, the name of the tensor in the graph. |
com.google.protobuf.ByteString | getNameBytes () For dense `Tensor`s, the name of the tensor in the graph. |
интервал | |
TensorShapeProto | getTensorShape () The static shape should be recorded here, to the extent that it can be known in advance. |
TensorShapeProtoOrBuilder | getTensorShapeOrBuilder () The static shape should be recorded here, to the extent that it can be known in advance. |
окончательный com.google.protobuf.UnknownFieldSet | |
логическое значение | имеетКомпозиттензор () Generic encoding for CompositeTensors. |
логическое значение | имеетCooSparse () There are many possible encodings of sparse matrices (https://en.wikipedia.org/wiki/Sparse_matrix). |
логическое значение | имеетТензорШейп () The static shape should be recorded here, to the extent that it can be known in advance. |
интервал | хэш-код () |
последнее логическое значение | |
статический TensorInfo.Builder | newBuilder (прототип TensorInfo ) |
статический TensorInfo.Builder | |
TensorInfo.Builder | |
статическая ТензорИнфо | parseDelimitedFrom (входной поток) |
статическая ТензорИнфо | parseDelimitedFrom (ввод InputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
статическая ТензорИнфо | parseFrom (данные ByteBuffer) |
статическая ТензорИнфо | parseFrom (ввод com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
статическая ТензорИнфо | parseFrom (данные ByteBuffer, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
статическая ТензорИнфо | parseFrom (вход com.google.protobuf.CodedInputStream) |
статическая ТензорИнфо | parseFrom (данные byte[], com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
статическая ТензорИнфо | parseFrom (данные com.google.protobuf.ByteString) |
статическая ТензорИнфо | parseFrom (ввод входного потока, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
статическая ТензорИнфо | parseFrom (данные com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
статический | парсер () |
TensorInfo.Builder | toBuilder () |
пустота | writeTo (вывод com.google.protobuf.CodedOutputStream) |
Унаследованные методы
Константы
общедоступный статический окончательный int COMPOSITE_TENSOR_FIELD_NUMBER
Постоянное значение: 5
общедоступный статический окончательный int COO_SPARSE_FIELD_NUMBER
Постоянное значение: 4
общедоступный статический окончательный int DTYPE_FIELD_NUMBER
Постоянное значение: 2
общедоступный статический окончательный int NAME_FIELD_NUMBER
Постоянное значение: 1
общедоступный статический финал int TENSOR_SHAPE_FIELD_NUMBER
Постоянное значение: 3
Публичные методы
общедоступное логическое значение равно (Object obj)
public TensorInfo.CompositeTensor getCompositeTensor ()
Generic encoding for CompositeTensors.
.tensorflow.TensorInfo.CompositeTensor composite_tensor = 5;
public TensorInfo.CompositeTensorOrBuilder getCompositeTensorOrBuilder ()
Generic encoding for CompositeTensors.
.tensorflow.TensorInfo.CompositeTensor composite_tensor = 5;
public TensorInfo.CooSparse getCooSparse ()
There are many possible encodings of sparse matrices (https://en.wikipedia.org/wiki/Sparse_matrix). Currently, TensorFlow uses only the COO encoding. This is supported and documented in the SparseTensor Python class.
.tensorflow.TensorInfo.CooSparse coo_sparse = 4;
public TensorInfo.CooSparseOrBuilder getCooSparseOrBuilder ()
There are many possible encodings of sparse matrices (https://en.wikipedia.org/wiki/Sparse_matrix). Currently, TensorFlow uses only the COO encoding. This is supported and documented in the SparseTensor Python class.
.tensorflow.TensorInfo.CooSparse coo_sparse = 4;
общедоступный статический окончательный com.google.protobuf.Descriptors.Descriptor getDescriptor ()
public int getDtypeValue ()
.tensorflow.DataType dtype = 2;
общедоступная строка getName ()
For dense `Tensor`s, the name of the tensor in the graph.
string name = 1;
public com.google.protobuf.ByteString getNameBytes ()
For dense `Tensor`s, the name of the tensor in the graph.
string name = 1;
общественный getParserForType ()
public int getSerializedSize ()
общественный TensorShapeProto getTensorShape ()
The static shape should be recorded here, to the extent that it can be known in advance. In the case of a SparseTensor, this field describes the logical shape of the represented tensor (aka dense_shape).
.tensorflow.TensorShapeProto tensor_shape = 3;
public TensorShapeProtoOrBuilder getTensorShapeOrBuilder ()
The static shape should be recorded here, to the extent that it can be known in advance. In the case of a SparseTensor, this field describes the logical shape of the represented tensor (aka dense_shape).
.tensorflow.TensorShapeProto tensor_shape = 3;
публичный финал com.google.protobuf.UnknownFieldSet getUnknownFields ()
общедоступное логическое значение hasCompositeTensor ()
Generic encoding for CompositeTensors.
.tensorflow.TensorInfo.CompositeTensor composite_tensor = 5;
общедоступное логическое значение hasCooSparse ()
There are many possible encodings of sparse matrices (https://en.wikipedia.org/wiki/Sparse_matrix). Currently, TensorFlow uses only the COO encoding. This is supported and documented in the SparseTensor Python class.
.tensorflow.TensorInfo.CooSparse coo_sparse = 4;
общедоступное логическое значение hasTensorShape ()
The static shape should be recorded here, to the extent that it can be known in advance. In the case of a SparseTensor, this field describes the logical shape of the represented tensor (aka dense_shape).
.tensorflow.TensorShapeProto tensor_shape = 3;
public int hashCode ()
публичное финальное логическое значение isInitialized ()
общедоступный статический анализ TensorInfoDelimitedFrom (ввод InputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
Броски
Исключение IO |
---|
общедоступный статический анализ TensorInfo (данные ByteBuffer)
Броски
Инвалидпротоколбуфферисключение |
---|
общедоступный статический анализ TensorInfo (вход com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
Броски
Исключение IO |
---|
общедоступный статический анализ TensorInfo (данные ByteBuffer, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
Броски
Инвалидпротоколбуфферисключение |
---|
общедоступный статический анализ TensorInfo (вход com.google.protobuf.CodedInputStream)
Броски
Исключение IO |
---|
общедоступный статический анализ TensorInfo (данные byte[], com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
Броски
Инвалидпротоколбуфферисключение |
---|
общедоступный статический анализ TensorInfo (данные com.google.protobuf.ByteString)
Броски
Инвалидпротоколбуфферисключение |
---|
общедоступный статический анализ TensorInfo (вход InputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
Броски
Исключение IO |
---|
общедоступный статический анализ TensorInfo (данные com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
Броски
Инвалидпротоколбуфферисключение |
---|
общественный статический парсер ()
public void writeTo (вывод com.google.protobuf.CodedOutputStream)
Броски
Исключение IO |
---|