MCPcopy Create free account
hub / github.com/deepdrive/deepdrive / _normalize_op

Function _normalize_op

tf_utils.py:27–32  ·  view source on GitHub ↗
(x)

Source from the content-addressed store, hash-verified

25
26
27def _normalize_op(x):
28 amax = tf.reduce_max(x)
29 amin = tf.reduce_min(x)
30 arange = amax - amin
31 x = (x - amin) / arange
32 return x
33
34
35def _heatmap_op(x):

Callers 1

_depth_opFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected