Searched refs:all_same (Results 1 – 10 of 10) sorted by relevance
/external/tensorflow/tensorflow/core/util/ |
D | stats_calculator.h | 67 bool all_same() const { return (count_ == 0 || min_ == max_); } in all_same() function 76 return all_same() in sample_variance() 83 return all_same() ? 0 : (squared_sum_ / count_) - (avg() * avg()); in variance() 88 return all_same() ? 0 : std::sqrt(variance()); in std_deviation() 94 } else if (all_same()) { in OutputToStream()
|
D | stats_calculator_test.cc | 81 EXPECT_TRUE(stat.all_same()); in TEST() 83 EXPECT_TRUE(stat.all_same()); in TEST() 85 EXPECT_FALSE(stat.all_same()); in TEST()
|
/external/tensorflow/tensorflow/lite/tools/benchmark/experimental/c/ |
D | benchmark_c_api.h | 49 bool all_same; member
|
D | benchmark_c_api.cc | 35 stat.all_same(), stat.avg(), stat.std_deviation(), in ConvertStat()
|
/external/tensorflow/tensorflow/cc/gradients/ |
D | math_grad_test.cc | 807 auto all_same = Mul(scope_, Const(scope_, {1.f, 1.f, 1.f}), x); in TEST_F() local 808 auto y = Min(scope_, all_same, {0}); in TEST_F() 817 auto all_same = Mul(scope_, Const(scope_, {1.f, 1.f, 1.f}), x); in TEST_F() local 818 auto y = Max(scope_, all_same, {0}); in TEST_F()
|
/external/mesa3d/src/compiler/nir/ |
D | nir_opt_copy_prop_vars.c | 544 bool all_same = true; in load_from_ssa_entry_value() local 550 all_same = false; in load_from_ssa_entry_value() 553 all_same = false; in load_from_ssa_entry_value() 556 if (all_same) { in load_from_ssa_entry_value()
|
/external/mesa3d/src/amd/vulkan/ |
D | radv_meta.c | 624 nir_ssa_def *all_same = nir_ieq(b, &tex_all_same->dest.ssa, nir_imm_bool(b, false)); in radv_meta_build_resolve_shader_core() local 625 nir_push_if(b, all_same); in radv_meta_build_resolve_shader_core()
|
/external/tensorflow/tensorflow/python/ops/ |
D | rnn.py | 117 all_same = all(x == inferred_dtypes[0] for x in inferred_dtypes) 118 if not all_same:
|
/external/tensorflow/tensorflow/compiler/xla/service/spmd/ |
D | spmd_partitioner.cc | 675 bool all_same = true; in ReshardAsWindowedInput() local 681 all_same = false; in ReshardAsWindowedInput() 685 if (!all_same) { in ReshardAsWindowedInput()
|
/external/mesa3d/src/amd/compiler/ |
D | aco_instruction_selection.cpp | 9719 bool all_same = true; in create_continue_phis() local 9720 for (unsigned i = 1; all_same && (i < block.linear_preds.size()); i++) in create_continue_phis() 9721 all_same = vals[block.linear_preds[i] - first] == vals[block.linear_preds[0] - first]; in create_continue_phis() 9724 if (all_same) { in create_continue_phis()
|