TensorInfo.CooSparseOrBuilder
Stay organized with collections
Save and categorize content based on your preferences.
Known Indirect Subclasses
|
Public Methods
abstract
String
|
getDenseShapeTensorName()
The dynamic logical shape represented by the SparseTensor is recorded in
the Tensor referenced here.
|
abstract
com.google.protobuf.ByteString
|
|
abstract
String
|
|
abstract
com.google.protobuf.ByteString
|
|
abstract
String
|
|
abstract
com.google.protobuf.ByteString
|
|
Public Methods
public
abstract
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
abstract
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
abstract
String
getIndicesTensorName
()
The indices Tensor must have dtype int64 and shape [?, ?].
string indices_tensor_name = 2;
public
abstract
com.google.protobuf.ByteString
getIndicesTensorNameBytes
()
The indices Tensor must have dtype int64 and shape [?, ?].
string indices_tensor_name = 2;
public
abstract
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
abstract
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;
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2021-11-29 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2021-11-29 UTC."],[],[],null,["# TensorInfo.CooSparseOrBuilder\n\npublic static interface **TensorInfo.CooSparseOrBuilder** \n\n|---|---|---|\n| Known Indirect Subclasses [TensorInfo.CooSparse](/jvm/api_docs/java/org/tensorflow/proto/framework/TensorInfo.CooSparse), [TensorInfo.CooSparse.Builder](/jvm/api_docs/java/org/tensorflow/proto/framework/TensorInfo.CooSparse.Builder) |----------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------| | [TensorInfo.CooSparse](/jvm/api_docs/java/org/tensorflow/proto/framework/TensorInfo.CooSparse) | ``` For sparse tensors, The COO encoding stores a triple of values, indices, and shape. ``` | | [TensorInfo.CooSparse.Builder](/jvm/api_docs/java/org/tensorflow/proto/framework/TensorInfo.CooSparse.Builder) | ``` For sparse tensors, The COO encoding stores a triple of values, indices, and shape. ``` | |||\n\n### Public Methods\n\n|-----------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| abstract String | [getDenseShapeTensorName](/jvm/api_docs/java/org/tensorflow/proto/framework/TensorInfo.CooSparseOrBuilder#getDenseShapeTensorName())() ``` The dynamic logical shape represented by the SparseTensor is recorded in the Tensor referenced here. ``` |\n| abstract com.google.protobuf.ByteString | [getDenseShapeTensorNameBytes](/jvm/api_docs/java/org/tensorflow/proto/framework/TensorInfo.CooSparseOrBuilder#getDenseShapeTensorNameBytes())() ``` The dynamic logical shape represented by the SparseTensor is recorded in the Tensor referenced here. ``` |\n| abstract String | [getIndicesTensorName](/jvm/api_docs/java/org/tensorflow/proto/framework/TensorInfo.CooSparseOrBuilder#getIndicesTensorName())() ``` The indices Tensor must have dtype int64 and shape [?, ?]. ``` |\n| abstract com.google.protobuf.ByteString | [getIndicesTensorNameBytes](/jvm/api_docs/java/org/tensorflow/proto/framework/TensorInfo.CooSparseOrBuilder#getIndicesTensorNameBytes())() ``` The indices Tensor must have dtype int64 and shape [?, ?]. ``` |\n| abstract String | [getValuesTensorName](/jvm/api_docs/java/org/tensorflow/proto/framework/TensorInfo.CooSparseOrBuilder#getValuesTensorName())() ``` The shape of the values Tensor is [?]. ``` |\n| abstract com.google.protobuf.ByteString | [getValuesTensorNameBytes](/jvm/api_docs/java/org/tensorflow/proto/framework/TensorInfo.CooSparseOrBuilder#getValuesTensorNameBytes())() ``` The shape of the values Tensor is [?]. ``` |\n\nPublic Methods\n--------------\n\n#### public abstract String\n**getDenseShapeTensorName**\n()\n\n\u003cbr /\u003e\n\n```\n The dynamic logical shape represented by the SparseTensor is recorded in\n the Tensor referenced here. It must have dtype int64 and shape [?].\n \n```\n`string dense_shape_tensor_name = 3;`\n\n\u003cbr /\u003e\n\n#### public abstract com.google.protobuf.ByteString\n**getDenseShapeTensorNameBytes**\n()\n\n\u003cbr /\u003e\n\n```\n The dynamic logical shape represented by the SparseTensor is recorded in\n the Tensor referenced here. It must have dtype int64 and shape [?].\n \n```\n`string dense_shape_tensor_name = 3;`\n\n\u003cbr /\u003e\n\n#### public abstract String\n**getIndicesTensorName**\n()\n\n\u003cbr /\u003e\n\n```\n The indices Tensor must have dtype int64 and shape [?, ?].\n \n```\n`string indices_tensor_name = 2;`\n\n\u003cbr /\u003e\n\n#### public abstract com.google.protobuf.ByteString\n**getIndicesTensorNameBytes**\n()\n\n\u003cbr /\u003e\n\n```\n The indices Tensor must have dtype int64 and shape [?, ?].\n \n```\n`string indices_tensor_name = 2;`\n\n\u003cbr /\u003e\n\n#### public abstract String\n**getValuesTensorName**\n()\n\n\u003cbr /\u003e\n\n```\n The shape of the values Tensor is [?]. Its dtype must be the dtype of\n the SparseTensor as a whole, given in the enclosing TensorInfo.\n \n```\n`string values_tensor_name = 1;`\n\n\u003cbr /\u003e\n\n#### public abstract com.google.protobuf.ByteString\n**getValuesTensorNameBytes**\n()\n\n\u003cbr /\u003e\n\n```\n The shape of the values Tensor is [?]. Its dtype must be the dtype of\n the SparseTensor as a whole, given in the enclosing TensorInfo.\n \n```\n`string values_tensor_name = 1;`\n\n\u003cbr /\u003e"]]