Home
last modified time | relevance | path

Searched refs:smart_cond (Results 1 – 15 of 15) sorted by relevance

/external/tensorflow/tensorflow/python/layers/
Dnormalization.py400 output, mean, variance = utils.smart_cond(
413 one_minus_decay = utils.smart_cond(training,
458 r = utils.smart_cond(training, lambda: r, lambda: array_ops.ones_like(r))
459 d = utils.smart_cond(training, lambda: d, lambda: array_ops.zeros_like(d))
480 return utils.smart_cond(training, _do_update, _fake_update)
552 adj_scale = utils.smart_cond(training,
555 adj_bias = utils.smart_cond(training,
568 mean = utils.smart_cond(training,
571 variance = utils.smart_cond(training,
605 mean_update = utils.smart_cond(
[all …]
Dutils.py182 def smart_cond(pred, true_fn=None, false_fn=None, name=None): function
204 return control_flow_ops.smart_cond(pred, true_fn=true_fn,
Dcore.py303 return utils.smart_cond(training,
/external/tensorflow/tensorflow/contrib/layers/python/layers/
Dutils_test.py113 o = utils.smart_cond(constant_op.constant(v), fn1, fn2)
121 o = utils.smart_cond(constant_op.constant(v), fn1, fn2)
130 o = utils.smart_cond(constant_op.constant(v), fn1, fn2)
140 o = utils.smart_cond(constant_op.constant(v), fn1, fn2)
153 o = utils.smart_cond(p, fn1, fn2)
163 o = utils.smart_cond(p, fn1, fn2)
173 o = utils.smart_cond(p, fn1, fn2)
184 o = utils.smart_cond(p, fn1, fn2)
Dutils.py197 def smart_cond(pred, fn1, fn2, name=None): function
Dlayers.py382 outputs, mean, variance = utils.smart_cond(
404 outputs = utils.smart_cond(is_training, _force_updates, no_updates)
416 update_mean, update_variance = utils.smart_cond(
802 mean, variance = utils.smart_cond(is_training, _force_updates,
814 update_mean, update_variance = utils.smart_cond(
820 mean, variance = utils.smart_cond(is_training, vars_fn, moving_vars_fn)
/external/tensorflow/tensorflow/contrib/framework/
D__init__.py107 from tensorflow.python.ops.control_flow_ops import smart_cond
/external/tensorflow/tensorflow/contrib/quantize/python/
Dfold_batch_norms.py343 bn_decay_mean_out = utils.smart_cond(
354 bn_decay_var_out = utils.smart_cond(
363 correction_recip = utils.smart_cond(
369 correction_offset = utils.smart_cond(
/external/tensorflow/tensorflow/contrib/crf/python/ops/
Dcrf.py105 return utils.smart_cond(
513 return utils.smart_cond(
/external/tensorflow/tensorflow/python/training/
Dinput.py503 return utils.smart_cond(
509 out_tensor = utils.smart_cond(
706 enqueue_ops = [utils.smart_cond(
723 enqueue_ops = [utils.smart_cond(
/external/tensorflow/tensorflow/python/ops/
Dcontrol_flow_ops_test.py360 z = control_flow_ops.smart_cond(
370 z = control_flow_ops.smart_cond(
380 control_flow_ops.smart_cond(True, false_fn=lambda: x)
387 control_flow_ops.smart_cond(True, lambda: x)
Dcontrol_flow_ops.py2125 def smart_cond(pred, true_fn=None, false_fn=None, name=None): function
/external/tensorflow/tensorflow/contrib/training/python/training/
Dbucket_ops.py242 maybe_enqueue = utils.smart_cond(
/external/tensorflow/tensorflow/contrib/summary/
Dsummary_ops.py340 op = utils.smart_cond(
/external/tensorflow/tensorflow/contrib/learn/python/learn/learn_io/
Dgraph_io.py306 keys, examples_proto = utils.smart_cond(