Home
last modified time | relevance | path

Searched refs:inner_function (Results 1 – 5 of 5) sorted by relevance

/external/tensorflow/tensorflow/python/autograph/pyct/
Dtransformer_test.py64 def inner_function(x): function
68 return b, inner_function
77 inner_function = test_method.body[1]
78 lambda_node = inner_function.body[1].value
82 c = inner_function.body[0]
90 (test_function_node, test_class, test_method, inner_function),
93 inner_function, lambda_node),
/external/tensorflow/tensorflow/python/eager/
Ddef_function.py968 def decorated(inner_function): argument
970 name = inner_function.__name__
974 inner_function,
976 inner_function,
/external/python/cpython3/Lib/test/
Dtest_funcattrs.py6 def inner_function(): function
15 return lambda: inner_function
/external/tensorflow/tensorflow/core/grappler/optimizers/
Darithmetic_optimizer.cc2792 NodeDef* inner_function; in TrySimplify() local
2793 TF_RETURN_IF_ERROR(GetInputNode(reduction_node->input(0), &inner_function)); in TrySimplify()
2801 if (!IsInPreserveSet(*inner_function) && in TrySimplify()
2802 IsElementWiseMonotonic(*inner_function, &is_non_decreasing) && in TrySimplify()
2803 ctx().node_map->GetOutputs(inner_function->name()).size() == 1 && in TrySimplify()
2807 TF_RETURN_IF_ERROR(GetInputNode(inner_function->input(0), &inner_input)); in TrySimplify()
2810 inner_function->name(), inner_input->name()); in TrySimplify()
2811 inner_function->set_input(0, reduction_node->name()); in TrySimplify()
2812 UpdateConsumers(reduction_node, inner_function->name()); in TrySimplify()
2813 ctx().node_map->UpdateInput(inner_function->name(), inner_input->name(), in TrySimplify()
[all …]
/external/tensorflow/tensorflow/python/framework/
Dops_test.py2278 def inner_function(): function
2290 self.assertEqual(4, int(outer_function(inner=inner_function)))
2291 self.assertEqual(4, int(outer_function(inner=inner_function)))
2293 compiled_inner = eager_function.defun(inner_function)