Package org.tensorflow.framework
Interface TensorInfo.CooSparseOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
TensorInfo.CooSparse,TensorInfo.CooSparse.Builder
- Enclosing class:
TensorInfo
public static interface TensorInfo.CooSparseOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionThe dynamic logical shape represented by the SparseTensor is recorded in the Tensor referenced here.com.google.protobuf.ByteStringThe dynamic logical shape represented by the SparseTensor is recorded in the Tensor referenced here.The indices Tensor must have dtype int64 and shape [?com.google.protobuf.ByteStringThe indices Tensor must have dtype int64 and shape [?The shape of the values Tensor is [?].com.google.protobuf.ByteStringThe shape of the values Tensor is [?].Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getValuesTensorName
String getValuesTensorName()The shape of the values Tensor is [?]. Its dtype must be the dtype of the SparseTensor as a whole, given in the enclosing TensorInfo.
string values_tensor_name = 1;- Returns:
- The valuesTensorName.
-
getValuesTensorNameBytes
com.google.protobuf.ByteString getValuesTensorNameBytes()The shape of the values Tensor is [?]. Its dtype must be the dtype of the SparseTensor as a whole, given in the enclosing TensorInfo.
string values_tensor_name = 1;- Returns:
- The bytes for valuesTensorName.
-
getIndicesTensorName
String getIndicesTensorName()The indices Tensor must have dtype int64 and shape [?, ?].
string indices_tensor_name = 2;- Returns:
- The indicesTensorName.
-
getIndicesTensorNameBytes
com.google.protobuf.ByteString getIndicesTensorNameBytes()The indices Tensor must have dtype int64 and shape [?, ?].
string indices_tensor_name = 2;- Returns:
- The bytes for indicesTensorName.
-
getDenseShapeTensorName
String getDenseShapeTensorName()The dynamic logical shape represented by the SparseTensor is recorded in the Tensor referenced here. It must have dtype int64 and shape [?].
string dense_shape_tensor_name = 3;- Returns:
- The denseShapeTensorName.
-
getDenseShapeTensorNameBytes
com.google.protobuf.ByteString getDenseShapeTensorNameBytes()The dynamic logical shape represented by the SparseTensor is recorded in the Tensor referenced here. It must have dtype int64 and shape [?].
string dense_shape_tensor_name = 3;- Returns:
- The bytes for denseShapeTensorName.
-