Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
27
def
_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
35
def
_heatmap_op(x):
Callers
1
_depth_op
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected