org.tensorflow.op.linalg.sparse
Stay organized with collections
Save and categorize content based on your preferences.
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,["# org.tensorflow.op.linalg.sparse\n\n### Classes\n\n|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------|\n| [CSRSparseMatrixComponents](/jvm/api_docs/java/org/tensorflow/op/linalg/sparse/CSRSparseMatrixComponents)\\\u003cT extends [TType](/jvm/api_docs/java/org/tensorflow/types/family/TType)\\\u003e | Reads out the CSR components at batch \\`index\\`. |\n| [CSRSparseMatrixToDense](/jvm/api_docs/java/org/tensorflow/op/linalg/sparse/CSRSparseMatrixToDense)\\\u003cT extends [TType](/jvm/api_docs/java/org/tensorflow/types/family/TType)\\\u003e | Convert a (possibly batched) CSRSparseMatrix to dense. |\n| [CSRSparseMatrixToSparseTensor](/jvm/api_docs/java/org/tensorflow/op/linalg/sparse/CSRSparseMatrixToSparseTensor)\\\u003cT extends [TType](/jvm/api_docs/java/org/tensorflow/types/family/TType)\\\u003e | Converts a (possibly batched) CSRSparesMatrix to a SparseTensor. |\n| [DenseToCSRSparseMatrix](/jvm/api_docs/java/org/tensorflow/op/linalg/sparse/DenseToCSRSparseMatrix) | Converts a dense tensor to a (possibly batched) CSRSparseMatrix. |\n| [SparseMatrixAdd](/jvm/api_docs/java/org/tensorflow/op/linalg/sparse/SparseMatrixAdd) | Sparse addition of two CSR matrices, C = alpha \\* A + beta \\* B. |\n| [SparseMatrixMatMul](/jvm/api_docs/java/org/tensorflow/op/linalg/sparse/SparseMatrixMatMul)\\\u003cT extends [TType](/jvm/api_docs/java/org/tensorflow/types/family/TType)\\\u003e | Matrix-multiplies a sparse matrix with a dense matrix. |\n| [SparseMatrixMatMul.Options](/jvm/api_docs/java/org/tensorflow/op/linalg/sparse/SparseMatrixMatMul.Options) | Optional attributes for [SparseMatrixMatMul](/jvm/api_docs/java/org/tensorflow/op/linalg/sparse/SparseMatrixMatMul) |\n| [SparseMatrixMul](/jvm/api_docs/java/org/tensorflow/op/linalg/sparse/SparseMatrixMul) | Element-wise multiplication of a sparse matrix with a dense tensor. |\n| [SparseMatrixNNZ](/jvm/api_docs/java/org/tensorflow/op/linalg/sparse/SparseMatrixNNZ) | Returns the number of nonzeroes of \\`sparse_matrix\\`. |\n| [SparseMatrixOrderingAMD](/jvm/api_docs/java/org/tensorflow/op/linalg/sparse/SparseMatrixOrderingAMD) | Computes the Approximate Minimum Degree (AMD) ordering of \\`input\\`. |\n| [SparseMatrixSoftmax](/jvm/api_docs/java/org/tensorflow/op/linalg/sparse/SparseMatrixSoftmax) | Calculates the softmax of a CSRSparseMatrix. |\n| [SparseMatrixSoftmaxGrad](/jvm/api_docs/java/org/tensorflow/op/linalg/sparse/SparseMatrixSoftmaxGrad) | Calculates the gradient of the SparseMatrixSoftmax op. |\n| [SparseMatrixSparseCholesky](/jvm/api_docs/java/org/tensorflow/op/linalg/sparse/SparseMatrixSparseCholesky) | Computes the sparse Cholesky decomposition of \\`input\\`. |\n| [SparseMatrixSparseMatMul](/jvm/api_docs/java/org/tensorflow/op/linalg/sparse/SparseMatrixSparseMatMul) | Sparse-matrix-multiplies two CSR matrices \\`a\\` and \\`b\\`. |\n| [SparseMatrixSparseMatMul.Options](/jvm/api_docs/java/org/tensorflow/op/linalg/sparse/SparseMatrixSparseMatMul.Options) | Optional attributes for [SparseMatrixSparseMatMul](/jvm/api_docs/java/org/tensorflow/op/linalg/sparse/SparseMatrixSparseMatMul) |\n| [SparseMatrixTranspose](/jvm/api_docs/java/org/tensorflow/op/linalg/sparse/SparseMatrixTranspose) | Transposes the inner (matrix) dimensions of a CSRSparseMatrix. |\n| [SparseMatrixTranspose.Options](/jvm/api_docs/java/org/tensorflow/op/linalg/sparse/SparseMatrixTranspose.Options) | Optional attributes for [SparseMatrixTranspose](/jvm/api_docs/java/org/tensorflow/op/linalg/sparse/SparseMatrixTranspose) |\n| [SparseMatrixZeros](/jvm/api_docs/java/org/tensorflow/op/linalg/sparse/SparseMatrixZeros) | Creates an all-zeros CSRSparseMatrix with shape \\`dense_shape\\`. |\n| [SparseTensorToCSRSparseMatrix](/jvm/api_docs/java/org/tensorflow/op/linalg/sparse/SparseTensorToCSRSparseMatrix) | Converts a SparseTensor to a (possibly batched) CSRSparseMatrix. |"]]