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

Function bincount

tensorflow/python/ops/math_ops.py:2154–2195  ·  view source on GitHub ↗

Counts the number of occurrences of each value in an integer array. If `minlength` and `maxlength` are not given, returns a vector with length `tf.reduce_max(arr) + 1` if `arr` is non-empty, and length 0 otherwise. If `weights` are non-None, then index `i` of the output stores the sum of the

(arr,
             weights=None,
             minlength=None,
             maxlength=None,
             dtype=dtypes.int32)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 5

reduce_maxFunction · 0.85
reduce_prodFunction · 0.70
castFunction · 0.70
shapeMethod · 0.45
constantMethod · 0.45

Tested by

no test coverage detected