Package org.tensorflow.metadata.v0
Interface TensorRepresentation.SparseTensorOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
TensorRepresentation.SparseTensor,TensorRepresentation.SparseTensor.Builder
- Enclosing class:
- TensorRepresentation
public static interface TensorRepresentation.SparseTensorOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description FixedShapegetDenseShape()The dense shape of the resulting SparseTensor (does not include the batch dimension).FixedShapeOrBuildergetDenseShapeOrBuilder()The dense shape of the resulting SparseTensor (does not include the batch dimension).StringgetIndexColumnNames(int index)The columns constitute the coordinates of the values.com.google.protobuf.ByteStringgetIndexColumnNamesBytes(int index)The columns constitute the coordinates of the values.intgetIndexColumnNamesCount()The columns constitute the coordinates of the values.List<String>getIndexColumnNamesList()The columns constitute the coordinates of the values.StringgetValueColumnName()The column that contains the values.com.google.protobuf.ByteStringgetValueColumnNameBytes()The column that contains the values.booleanhasDenseShape()The dense shape of the resulting SparseTensor (does not include the batch dimension).booleanhasValueColumnName()The column that contains the values.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasDenseShape
boolean hasDenseShape()
The dense shape of the resulting SparseTensor (does not include the batch dimension).
optional .tensorflow.metadata.v0.FixedShape dense_shape = 1;- Returns:
- Whether the denseShape field is set.
-
getDenseShape
FixedShape getDenseShape()
The dense shape of the resulting SparseTensor (does not include the batch dimension).
optional .tensorflow.metadata.v0.FixedShape dense_shape = 1;- Returns:
- The denseShape.
-
getDenseShapeOrBuilder
FixedShapeOrBuilder getDenseShapeOrBuilder()
The dense shape of the resulting SparseTensor (does not include the batch dimension).
optional .tensorflow.metadata.v0.FixedShape dense_shape = 1;
-
getIndexColumnNamesList
List<String> getIndexColumnNamesList()
The columns constitute the coordinates of the values. indices_column[i][j] contains the coordinate of the i-th dimension of the j-th value.
repeated string index_column_names = 2;- Returns:
- A list containing the indexColumnNames.
-
getIndexColumnNamesCount
int getIndexColumnNamesCount()
The columns constitute the coordinates of the values. indices_column[i][j] contains the coordinate of the i-th dimension of the j-th value.
repeated string index_column_names = 2;- Returns:
- The count of indexColumnNames.
-
getIndexColumnNames
String getIndexColumnNames(int index)
The columns constitute the coordinates of the values. indices_column[i][j] contains the coordinate of the i-th dimension of the j-th value.
repeated string index_column_names = 2;- Parameters:
index- The index of the element to return.- Returns:
- The indexColumnNames at the given index.
-
getIndexColumnNamesBytes
com.google.protobuf.ByteString getIndexColumnNamesBytes(int index)
The columns constitute the coordinates of the values. indices_column[i][j] contains the coordinate of the i-th dimension of the j-th value.
repeated string index_column_names = 2;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the indexColumnNames at the given index.
-
hasValueColumnName
boolean hasValueColumnName()
The column that contains the values.
optional string value_column_name = 3;- Returns:
- Whether the valueColumnName field is set.
-
getValueColumnName
String getValueColumnName()
The column that contains the values.
optional string value_column_name = 3;- Returns:
- The valueColumnName.
-
getValueColumnNameBytes
com.google.protobuf.ByteString getValueColumnNameBytes()
The column that contains the values.
optional string value_column_name = 3;- Returns:
- The bytes for valueColumnName.
-
-