Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DeepRec-AI/DeepRec
/ reset_states
Method
reset_states
tensorflow/python/keras/metrics.py:1854–1856 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
1852
name=self.name)
1853
1854
def
reset_states(self):
1855
K.batch_set_value(
1856
[(v, np.zeros((self.num_thresholds,)))
for
v in self.variables])
1857
1858
def
get_config(self):
1859
config = {
Callers
7
_pipeline_fit_loop
Method · 0.45
tpu_model
Function · 0.45
main
Function · 0.45
main
Function · 0.45
test_sum
Method · 0.45
test_mean
Method · 0.45
train_loop_end
Function · 0.45
Calls
no outgoing calls
Tested by
2
test_sum
Method · 0.36
test_mean
Method · 0.36