Interface TensorInfo.CooSparseOrBuilder
- All Superinterfaces:
MessageLiteOrBuilder, MessageOrBuilder
- All Known Implementing Classes:
TensorInfo.CooSparse, TensorInfo.CooSparse.Builder
- Enclosing class:
TensorInfo
-
Method Summary
Modifier and TypeMethodDescriptionThe dynamic logical shape represented by the SparseTensor is recorded in the Tensor referenced here.The dynamic logical shape represented by the SparseTensor is recorded in the Tensor referenced here.The indices Tensor must have dtype int64 and shape [?The indices Tensor must have dtype int64 and shape [?The shape of the values Tensor is [?].The shape of the values Tensor is [?].Methods inherited from interface MessageLiteOrBuilder
isInitialized
-
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
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
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
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.
-