T - data type for outputValues() output@Operator public final class SparseSparseMinimum<T> extends PrimitiveOp
Assumes the two SparseTensors have the same shape, i.e., no broadcasting.
operation| Modifier and Type | Method and Description |
|---|---|
static <T> SparseSparseMinimum<T> |
create(Scope scope,
Operand<Long> aIndices,
Operand<T> aValues,
Operand<Long> aShape,
Operand<Long> bIndices,
Operand<T> bValues,
Operand<Long> bShape)
Factory method to create a class to wrap a new SparseSparseMinimum operation to the graph.
|
Output<Long> |
outputIndices()
2-D.
|
Output<T> |
outputValues()
1-D.
|
equals, hashCode, toStringpublic static <T> SparseSparseMinimum<T> create(Scope scope, Operand<Long> aIndices, Operand<T> aValues, Operand<Long> aShape, Operand<Long> bIndices, Operand<T> bValues, Operand<Long> bShape)
scope - current graph scopeaIndices - 2-D. `N x R` matrix with the indices of non-empty values in a
SparseTensor, in the canonical lexicographic ordering.aValues - 1-D. `N` non-empty values corresponding to `a_indices`.aShape - 1-D. Shape of the input SparseTensor.bIndices - counterpart to `a_indices` for the other operand.bValues - counterpart to `a_values` for the other operand; must be of the same dtype.bShape - counterpart to `a_shape` for the other operand; the two shapes must be equal.Copyright © 2015–2019. All rights reserved.