public static final class
TensorInfo.CooSparse
For sparse tensors, The COO encoding stores a triple of values, indices, and shape.
tensorflow.TensorInfo.CooSparse
Nested Classes
class | TensorInfo.CooSparse.Builder | For sparse tensors, The COO encoding stores a triple of values, indices, and shape. |
Constants
int | DENSE_SHAPE_TENSOR_NAME_FIELD_NUMBER | |
int | INDICES_TENSOR_NAME_FIELD_NUMBER | |
int | VALUES_TENSOR_NAME_FIELD_NUMBER |
Public Methods
boolean |
equals(Object obj)
|
static TensorInfo.CooSparse | |
TensorInfo.CooSparse | |
String |
getDenseShapeTensorName()
The dynamic logical shape represented by the SparseTensor is recorded in the Tensor referenced here. |
com.google.protobuf.ByteString |
getDenseShapeTensorNameBytes()
The dynamic logical shape represented by the SparseTensor is recorded in the Tensor referenced here. |
final static com.google.protobuf.Descriptors.Descriptor | |
String |
getIndicesTensorName()
The indices Tensor must have dtype int64 and shape [?, ?]. |
com.google.protobuf.ByteString |
getIndicesTensorNameBytes()
The indices Tensor must have dtype int64 and shape [?, ?]. |
|
|
int | |
final com.google.protobuf.UnknownFieldSet | |
String |
getValuesTensorName()
The shape of the values Tensor is [?]. |
com.google.protobuf.ByteString |
getValuesTensorNameBytes()
The shape of the values Tensor is [?]. |
int |
hashCode()
|
final boolean | |
static TensorInfo.CooSparse.Builder |
newBuilder(TensorInfo.CooSparse prototype)
|
static TensorInfo.CooSparse.Builder | |
TensorInfo.CooSparse.Builder | |
static TensorInfo.CooSparse |
parseDelimitedFrom(InputStream input)
|
static TensorInfo.CooSparse |
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
static TensorInfo.CooSparse |
parseFrom(ByteBuffer data)
|
static TensorInfo.CooSparse |
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
static TensorInfo.CooSparse |
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
static TensorInfo.CooSparse |
parseFrom(com.google.protobuf.CodedInputStream input)
|
static TensorInfo.CooSparse |
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
static TensorInfo.CooSparse |
parseFrom(com.google.protobuf.ByteString data)
|
static TensorInfo.CooSparse |
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
static TensorInfo.CooSparse |
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
static
|
parser()
|
TensorInfo.CooSparse.Builder | |
void |
writeTo(com.google.protobuf.CodedOutputStream output)
|
Inherited Methods
Constants
public static final int DENSE_SHAPE_TENSOR_NAME_FIELD_NUMBER
Constant Value:
3
public static final int INDICES_TENSOR_NAME_FIELD_NUMBER
Constant Value:
2
public static final int VALUES_TENSOR_NAME_FIELD_NUMBER
Constant Value:
1
Public Methods
public boolean equals (Object obj)
public 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;
public 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;
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
public String getIndicesTensorName ()
The indices Tensor must have dtype int64 and shape [?, ?].
string indices_tensor_name = 2;
public com.google.protobuf.ByteString getIndicesTensorNameBytes ()
The indices Tensor must have dtype int64 and shape [?, ?].
string indices_tensor_name = 2;
public
getParserForType
()
public int getSerializedSize ()
public final com.google.protobuf.UnknownFieldSet getUnknownFields ()
public 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;
public 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;
public int hashCode ()
public final boolean isInitialized ()
public static TensorInfo.CooSparse parseDelimitedFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Throws
IOException |
---|
public static TensorInfo.CooSparse parseFrom (ByteBuffer data)
Throws
InvalidProtocolBufferException |
---|
public static TensorInfo.CooSparse parseFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Throws
IOException |
---|
public static TensorInfo.CooSparse parseFrom (ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Throws
InvalidProtocolBufferException |
---|
public static TensorInfo.CooSparse parseFrom (com.google.protobuf.CodedInputStream input)
Throws
IOException |
---|
public static TensorInfo.CooSparse parseFrom (byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Throws
InvalidProtocolBufferException |
---|
public static TensorInfo.CooSparse parseFrom (com.google.protobuf.ByteString data)
Throws
InvalidProtocolBufferException |
---|
public static TensorInfo.CooSparse parseFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Throws
IOException |
---|
public static TensorInfo.CooSparse parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Throws
InvalidProtocolBufferException |
---|
public
static
parser
()
public void writeTo (com.google.protobuf.CodedOutputStream output)
Throws
IOException |
---|