Searched refs:fn_obj (Results 1 – 3 of 3) sorted by relevance
121 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 …]
1850 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.)
102 Local<Object> fn_obj = args[0].As<Object>(); in CreateHook() local106 fn_obj \ in CreateHook()