Home
last modified time | relevance | path

Searched refs:all_zeros (Results 1 – 2 of 2) sorted by relevance

/external/tensorflow/tensorflow/contrib/opt/python/training/
Dmultitask_optimizer_wrapper.py36 all_zeros = math_ops.equal(math_ops.count_nonzero(grad), 0)
37 return all_zeros
43 all_zeros = _is_all_zeros(grad)
47 return control_flow_ops.cond(all_zeros, control_flow_ops.no_op, call_fn)
133 all_zeros = _is_all_zeros(grad)
135 all_zeros,
/external/eigen/test/
Dreal_qz.cpp53 bool all_zeros = true; in real_qz() local
59 all_zeros = false; in real_qz()
64 all_zeros = false; in real_qz()
69 all_zeros = false; in real_qz()
72 VERIFY_IS_EQUAL(all_zeros, true); in real_qz()