Home
last modified time | relevance | path

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

/external/python/cpython3/Lib/test/
Dtest_funcattrs.py188 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/
Dfilter_fusion.cc83 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/
Dtest_funcattrs.py145 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)