tf.sparse_maximum

tf.sparse_maximum

tf.sparse_maximum

sparse_maximum(
    sp_a,
    sp_b,
    name=None
)

Defined in tensorflow/python/ops/sparse_ops.py.

See the guide: Sparse Tensors > Math Operations

Returns the element-wise max of two SparseTensors.

Assumes the two SparseTensors have the same shape, i.e., no broadcasting. Example:

登录查看完整内容