Searched refs:pred_fn_pairs (Results 1 – 6 of 6) 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 | 250 pred_fn_pairs = [] 251 pred_fn_pairs.append((x_recomp <= boundaries[0], lambda: values[0])) 252 pred_fn_pairs.append((x_recomp > boundaries[-1], lambda: values[-1])) 256 pred_fn_pairs.append((pred, lambda v=v: v)) 261 return control_flow_ops.case(pred_fn_pairs, default, exclusive=True)
|
/external/tensorflow/tensorflow/python/ops/ |
D | control_flow_ops.py | 3148 def _case_verify_and_canonicalize_args(pred_fn_pairs, exclusive, name, argument 3169 if not isinstance(pred_fn_pairs, (list, _basetuple, dict)): 3172 if isinstance(pred_fn_pairs, collections.OrderedDict): 3173 pred_fn_pairs = pred_fn_pairs.items() 3174 elif isinstance(pred_fn_pairs, dict): 3182 pred_fn_pairs = list(pred_fn_pairs.items()) 3184 pred_fn_pairs = sorted( 3185 pred_fn_pairs.items(), key=lambda item: item[0].name) 3191 for pred_fn_pair in pred_fn_pairs: 3207 predicates, actions = zip(*pred_fn_pairs) [all …]
|
/external/tensorflow/tensorflow/python/data/kernel_tests/ |
D | map_test.py | 622 pred_fn_pairs = [ 628 pred_fn_pairs, default=multiply, exclusive=True) 655 pred_fn_pairs = [ 661 pred_fn_pairs, default=multiply, exclusive=True) 696 pred_fn_pairs = [ 702 pred_fn_pairs, default=multiply, exclusive=True)
|
/external/tensorflow/tensorflow/tools/api/golden/v2/ |
D | tensorflow.pbtxt | 537 …argspec: "args=[\'pred_fn_pairs\', \'default\', \'exclusive\', \'strict\', \'name\'], varargs=None…
|
/external/tensorflow/tensorflow/tools/api/golden/v1/ |
D | tensorflow.pbtxt | 957 …argspec: "args=[\'pred_fn_pairs\', \'default\', \'exclusive\', \'strict\', \'name\'], varargs=None…
|