Home
last modified time | relevance | path

Searched refs:fn_obj (Results 1 – 3 of 3) sorted by relevance

/external/tensorflow/tensorflow/python/keras/
Dmetrics_confusion_matrix_test.py121 fn_obj = metrics.FalseNegatives(name='my_fn', thresholds=[0.4, 0.9])
122 self.assertEqual(fn_obj.name, 'my_fn')
123 self.assertEqual(len(fn_obj.variables), 1)
124 self.assertEqual(fn_obj.thresholds, [0.4, 0.9])
127 fn_obj2 = metrics.FalseNegatives.from_config(fn_obj.get_config())
133 fn_obj = metrics.FalseNegatives()
134 self.evaluate(variables.variables_initializer(fn_obj.variables))
141 update_op = fn_obj.update_state(y_true, y_pred)
143 result = fn_obj.result()
147 fn_obj = metrics.FalseNegatives()
[all …]
Dmetrics_test.py1850 fn_obj = metrics.FalseNegatives()
1851 model = _get_model([fn_obj])
1855 self.assertEqual(self.evaluate(fn_obj.accumulator), 100.)
1857 self.assertEqual(self.evaluate(fn_obj.accumulator), 100.)
/external/v8/src/
Dasync-hooks-wrapper.cc102 Local<Object> fn_obj = args[0].As<Object>(); in CreateHook() local
106 fn_obj \ in CreateHook()