/external/tensorflow/tensorflow/contrib/kfac/python/ops/ |
H A D | utils.py | 396 def true_fn(thunk): function in function:batch_execute 414 true_fns = [true_fn(thunk) for thunk in thunks] 423 control_flow_ops.cond(condition, true_fn, false_fn) 424 for (condition, true_fn,
|
/external/tensorflow/tensorflow/python/eager/ |
H A D | function_test.py | 619 def true_fn(): function in function:AutomaticControlDependenciesTest.testCondMustRun 627 control_flow_ops.cond(p, true_fn, false_fn) 640 def true_fn(): function in function:AutomaticControlDependenciesTest.testCondMustRunSeparateRead 648 control_flow_ops.cond(p, true_fn, false_fn) 664 def true_fn(): function in function:AutomaticControlDependenciesTest.testCondNested 681 control_flow_ops.cond(p, true_fn, false_fn) 697 def true_fn(): function in function:AutomaticControlDependenciesTest.testCondOneBranch 704 control_flow_ops.cond(p, true_fn, false_fn) 718 def true_fn(): function in function:AutomaticControlDependenciesTest.testCondOneBranchUpdateBefore 725 control_flow_ops.cond(p, true_fn, false_f 738 def true_fn(): function in function:AutomaticControlDependenciesTest.testCondOneBranchUpdateAfter [all...] |
/external/tensorflow/tensorflow/python/ops/ |
H A D | control_flow_ops_test.py | 444 true_fn=lambda: state_ops.assign(bool_var, False), 734 def true_fn(): function in function:DataTypesTest.test_sparse_tensors 746 self._testShape(true_fn, false_fn, shape) 747 self._testReturnValues(true_fn, false_fn, value1, value2) 748 self._testShape(true_fn, false_fn, [shape], strict=True) 749 self._testReturnValues(true_fn, false_fn, [value1], [value2], strict=True) 890 def true_fn(): function in function:DataTypesTest.test_nested 900 self._testShape(true_fn, false_fn, shape) 902 true_fn, false_fn,
|
/external/squashfs-tools/squashfs-tools/ |
H A D | action.c | 2488 static int true_fn(struct atom *atom, struct action_data *action_data) function 3236 { "true", 0, true_fn, NULL, 1, 0},
|
/external/tensorflow/tensorflow/python/framework/ |
H A D | ops_test.py | 809 def true_fn(): function in function:CreateOpFromTFOperationTest.testCond 820 control_flow_ops.cond(x < 10, true_fn, lambda: x)
|
/external/tensorflow/tensorflow/python/kernel_tests/ |
H A D | control_flow_ops_py_test.py | 561 true_fn = lambda: x 563 r = control_flow_ops.cond(constant_op.constant(False), true_fn, false_fn) 2857 def true_fn(): function in function:ControlFlowContextCheckTest._getCondTensor 2863 math_ops.less(1, 2), true_fn, lambda: constant_op.constant(0)) 2946 def true_fn(): function in function:ControlFlowContextCheckTest.testInvalidNestedContexts 2956 math_ops.less(1, 2), true_fn, lambda: constant_op.constant(0))
|