Package org.tensorflow.framework
Interface TensorInfo.CooSparseOrBuilder
-
- All Superinterfaces:
org.nd4j.shade.protobuf.MessageLiteOrBuilder
,org.nd4j.shade.protobuf.MessageOrBuilder
- All Known Implementing Classes:
TensorInfo.CooSparse
,TensorInfo.CooSparse.Builder
- Enclosing class:
- TensorInfo
public static interface TensorInfo.CooSparseOrBuilder extends org.nd4j.shade.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getDenseShapeTensorName()
The dynamic logical shape represented by the SparseTensor is recorded in the Tensor referenced here.org.nd4j.shade.protobuf.ByteString
getDenseShapeTensorNameBytes()
The dynamic logical shape represented by the SparseTensor is recorded in the Tensor referenced here.String
getIndicesTensorName()
The indices Tensor must have dtype int64 and shape [?, ?].org.nd4j.shade.protobuf.ByteString
getIndicesTensorNameBytes()
The indices Tensor must have dtype int64 and shape [?, ?].String
getValuesTensorName()
The shape of the values Tensor is [?].org.nd4j.shade.protobuf.ByteString
getValuesTensorNameBytes()
The shape of the values Tensor is [?].-
Methods inherited from interface org.nd4j.shade.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
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
org.nd4j.shade.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
org.nd4j.shade.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
org.nd4j.shade.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.
-
-