Searched refs:pred_fn_pairs (Results 1 – 4 of 4) sorted by relevance
/external/tensorflow/tensorflow/python/training/ |
D | learning_rate_decay.py | 174 pred_fn_pairs = [] 175 pred_fn_pairs.append((x <= boundaries[0], lambda: values[0])) 176 pred_fn_pairs.append((x > boundaries[-1], lambda: values[-1])) 180 pred_fn_pairs.append((pred, lambda v=v: v)) 185 return control_flow_ops.case(pred_fn_pairs, default, exclusive=True)
|
/external/tensorflow/tensorflow/contrib/slim/python/slim/data/ |
D | tfexample_decoder.py | 440 pred_fn_pairs = { 446 pred_fn_pairs, default=check_jpeg, exclusive=True)
|
/external/tensorflow/tensorflow/python/ops/ |
D | control_flow_ops.py | 3549 def _case_verify_and_canonicalize_args(pred_fn_pairs, exclusive, name): argument 3567 if not isinstance(pred_fn_pairs, (list, _basetuple, dict)): 3570 if isinstance(pred_fn_pairs, collections.OrderedDict): 3571 pred_fn_pairs = pred_fn_pairs.items() 3572 elif isinstance(pred_fn_pairs, dict): 3573 pred_fn_pairs = sorted(pred_fn_pairs.items(), key=lambda item: item[0].name) 3578 for pred_fn_pair in pred_fn_pairs: 3586 predicates, actions = zip(*pred_fn_pairs) 3591 def case(pred_fn_pairs, argument 3681 pred_fn_pairs, exclusive, name)
|
/external/tensorflow/tensorflow/tools/api/golden/ |
D | tensorflow.pbtxt | 777 …argspec: "args=[\'pred_fn_pairs\', \'default\', \'exclusive\', \'strict\', \'name\'], varargs=None…
|