Creates an all-zeros CSRSparseMatrix with shape `dense_shape`.
Public Methods
Output<Object> |
asOutput()
Returns the symbolic handle of a tensor.
|
static <T> SparseMatrixZeros | |
Output<?> |
sparseMatrix()
An empty CSR matrix with shape `dense_shape`.
|
Inherited Methods
Public Methods
public Output<Object> asOutput ()
Returns the symbolic handle of a tensor.
Inputs to TensorFlow operations are outputs of another TensorFlow operation. This method is used to obtain a symbolic handle that represents the computation of the input.
public static SparseMatrixZeros create (Scope scope, Operand<Long> denseShape, Class<T> type)
Factory method to create a class wrapping a new SparseMatrixZeros operation.
Parameters
scope | current scope |
---|---|
denseShape | The desired matrix shape. |
Returns
- a new instance of SparseMatrixZeros