Searched refs:pred_fn_pairs (Results 1 – 7 of 7) sorted by relevance
/external/tensorflow/tensorflow/python/framework/ |
D | smart_cond.py | 93 def smart_case(pred_fn_pairs, default=None, exclusive=False, name="smart_case"): argument 118 smart_cond, pred_fn_pairs, default, exclusive, name,
|
/external/tensorflow/tensorflow/python/keras/optimizer_v2/ |
D | learning_rate_schedule.py | 267 pred_fn_pairs = [] 268 pred_fn_pairs.append((x_recomp <= boundaries[0], lambda: values[0])) 269 pred_fn_pairs.append((x_recomp > boundaries[-1], lambda: values[-1])) 273 pred_fn_pairs.append((pred, lambda v=v: v)) 278 return control_flow_ops.case(pred_fn_pairs, default, exclusive=True)
|
/external/tensorflow/tensorflow/python/ops/ |
D | control_flow_ops.py | 3795 def _case_verify_and_canonicalize_args(pred_fn_pairs, exclusive, name, argument 3816 if not isinstance(pred_fn_pairs, (list, _basetuple, dict)): 3819 if isinstance(pred_fn_pairs, collections.OrderedDict): 3820 pred_fn_pairs = pred_fn_pairs.items() 3821 elif isinstance(pred_fn_pairs, dict): 3829 pred_fn_pairs = list(pred_fn_pairs.items()) 3831 pred_fn_pairs = sorted( 3832 pred_fn_pairs.items(), key=lambda item: item[0].name) 3838 for pred_fn_pair in pred_fn_pairs: 3854 predicates, actions = zip(*pred_fn_pairs) [all …]
|
/external/tensorflow/tensorflow/contrib/slim/python/slim/data/ |
D | tfexample_decoder.py | 446 pred_fn_pairs = { 452 pred_fn_pairs, default=check_jpeg, exclusive=True)
|
/external/tensorflow/tensorflow/python/data/kernel_tests/ |
D | map_test.py | 520 pred_fn_pairs = { 526 pred_fn_pairs, default=multiply, exclusive=True) 553 pred_fn_pairs = { 559 pred_fn_pairs, default=multiply, exclusive=True) 594 pred_fn_pairs = { 600 pred_fn_pairs, default=multiply, exclusive=True)
|
/external/tensorflow/tensorflow/tools/api/golden/v2/ |
D | tensorflow.pbtxt | 485 …argspec: "args=[\'pred_fn_pairs\', \'default\', \'exclusive\', \'strict\', \'name\'], varargs=None…
|
/external/tensorflow/tensorflow/tools/api/golden/v1/ |
D | tensorflow.pbtxt | 921 …argspec: "args=[\'pred_fn_pairs\', \'default\', \'exclusive\', \'strict\', \'name\'], varargs=None…
|