MCPcopy Create free account
hub / github.com/benoitsteiner/tensorflow-opencl / reduce_sum

Function reduce_sum

tensorflow/python/ops/math_ops.py:1267–1313  ·  view source on GitHub ↗

Computes the sum of elements across dimensions of a tensor. Reduces `input_tensor` along the dimensions given in `axis`. Unless `keep_dims` is true, the rank of the tensor is reduced by 1 for each entry in `axis`. If `keep_dims` is true, the reduced dimensions are retained with length 1.

(input_tensor,
               axis=None,
               keep_dims=False,
               name=None,
               reduction_indices=None)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

count_nonzeroFunction · 0.70
reduce_logsumexpFunction · 0.70
traceFunction · 0.70

Calls 1

_ReductionDimsFunction · 0.85

Tested by

no test coverage detected