Home
last modified time | relevance | path

Searched refs:pred_fn_pairs (Results 1 – 7 of 7) sorted by relevance

/external/tensorflow/tensorflow/python/framework/
Dsmart_cond.py93 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/
Dlearning_rate_schedule.py267 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/
Dcontrol_flow_ops.py3795 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/
Dtfexample_decoder.py446 pred_fn_pairs = {
452 pred_fn_pairs, default=check_jpeg, exclusive=True)
/external/tensorflow/tensorflow/python/data/kernel_tests/
Dmap_test.py520 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/
Dtensorflow.pbtxt485 …argspec: "args=[\'pred_fn_pairs\', \'default\', \'exclusive\', \'strict\', \'name\'], varargs=None…
/external/tensorflow/tensorflow/tools/api/golden/v1/
Dtensorflow.pbtxt921 …argspec: "args=[\'pred_fn_pairs\', \'default\', \'exclusive\', \'strict\', \'name\'], varargs=None…