Home
last modified time | relevance | path

Searched refs:all_same (Results 1 – 5 of 5) sorted by relevance

/external/tensorflow/tensorflow/core/util/
Dstats_calculator.h67 bool all_same() const { return (count_ == 0 || min_ == max_); } in all_same() function
75 return all_same() ? 0 : sqrt(squared_sum_ / count_ - avg() * avg()); in std_deviation()
81 } else if (all_same()) { in OutputToStream()
/external/mesa3d/src/compiler/nir/
Dnir_opt_copy_prop_vars.c388 bool all_same = true; in load_from_ssa_entry_value() local
394 all_same = false; in load_from_ssa_entry_value()
397 if (all_same) { in load_from_ssa_entry_value()
/external/tensorflow/tensorflow/cc/gradients/
Dmath_grad_test.cc785 auto all_same = Mul(scope_, Const(scope_, {1.f, 1.f, 1.f}), x); in TEST_F() local
786 auto y = Min(scope_, all_same, {0}); in TEST_F()
795 auto all_same = Mul(scope_, Const(scope_, {1.f, 1.f, 1.f}), x); in TEST_F() local
796 auto y = Max(scope_, all_same, {0}); in TEST_F()
/external/mesa3d/src/amd/vulkan/
Dradv_meta.c538 nir_ssa_def *all_same = nir_ieq(b, &tex_all_same->dest.ssa, nir_imm_int(b, 0)); in radv_meta_build_resolve_shader_core() local
540 if_stmt->condition = nir_src_for_ssa(all_same); in radv_meta_build_resolve_shader_core()
/external/tensorflow/tensorflow/python/ops/
Drnn.py120 all_same = all(x == inferred_dtypes[0] for x in inferred_dtypes)
121 if not all_same: