Searched refs:first_func (Results 1 – 3 of 3) sorted by relevance
/external/python/cpython3/Lib/test/ |
D | test_funcattrs.py | 188 def first_func(a, b): function 192 self.assertEqual(first_func.__defaults__, None) 194 first_func.__defaults__ = (1, 2) 195 self.assertEqual(first_func.__defaults__, (1, 2)) 196 self.assertEqual(first_func(), 3) 197 self.assertEqual(first_func(3), 5) 198 self.assertEqual(first_func(3, 5), 8)
|
/external/tensorflow/tensorflow/core/grappler/optimizers/data/ |
D | filter_fusion.cc | 83 const FunctionDef* first_func = in OptimizeAndCollectStats() local 88 if (!fusion_utils::HasSameSignature(first_func->signature(), in OptimizeAndCollectStats() 95 *first_func, *second_func, "fused_predicate", in OptimizeAndCollectStats()
|
/external/python/cpython2/Lib/test/ |
D | test_funcattrs.py | 145 def first_func(a, b): function 149 self.assertEqual(first_func.func_defaults, None) 151 first_func.func_defaults = (1, 2) 152 self.assertEqual(first_func.func_defaults, (1, 2)) 153 self.assertEqual(first_func(), 3) 154 self.assertEqual(first_func(3), 5) 155 self.assertEqual(first_func(3, 5), 8)
|