MCPcopy 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_loopMethod · 0.45
tpu_modelFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45
test_sumMethod · 0.45
test_meanMethod · 0.45
train_loop_endFunction · 0.45

Calls

no outgoing calls

Tested by 2

test_sumMethod · 0.36
test_meanMethod · 0.36