Searched refs:kNumClasses (Results 1 – 5 of 5) sorted by relevance
/external/tensorflow/tensorflow/contrib/boosted_trees/lib/learner/common/stats/ |
D | node-stats_test.cc | 120 const int kNumClasses = 4; in TEST() local 121 const auto& g_shape = TensorShape({1, kNumClasses}); in TEST() 123 const auto& hessian_shape = TensorShape({1, kNumClasses, kNumClasses}); in TEST() 133 EXPECT_EQ(kNumClasses, node_stats.weight_contribution.size()); in TEST() 134 for (int i = 0; i < kNumClasses; ++i) { in TEST() 147 const int kNumClasses = 4; in TEST() local 148 const auto& g_shape = TensorShape({1, kNumClasses}); in TEST() 153 const auto& hessian_shape = TensorShape({1, kNumClasses, kNumClasses}); in TEST() 162 const auto& hessian_shape = TensorShape({1, kNumClasses}); in TEST() 183 const int kNumClasses = 4; in TEST() local [all …]
|
/external/tensorflow/tensorflow/contrib/tensor_forest/kernels/v4/ |
D | leaf_model_operators_test.cc | 36 const int32 kNumClasses = 3; variable 69 for (int i = 0; i < kNumClasses; ++i) { in TestClassificationNormalUse() 88 params.set_num_outputs(kNumClasses); in TEST() 96 params.set_num_outputs(kNumClasses); in TEST() 104 params.set_num_outputs(kNumClasses); in TEST() 127 EXPECT_EQ(leaf->vector().value_size(), kNumClasses); in TEST() 135 params.set_num_outputs(kNumClasses); in TEST() 165 params.set_num_outputs(kNumClasses); in TEST() 193 EXPECT_EQ(leaf->sparse_vector().sparse_value().size(), kNumClasses); in TEST() 198 params.set_num_outputs(kNumClasses); in TEST()
|
/external/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_allocator.h | 112 static const uptr kNumClasses = variable 114 COMPILER_CHECK(kNumClasses >= 32 && kNumClasses <= 256); 116 kNumClasses == 32 ? 32 : 117 kNumClasses <= 64 ? 64 : 118 kNumClasses <= 128 ? 128 : 256; 148 for (uptr i = 0; i < kNumClasses; i++) { in Print() 171 for (uptr c = 1; c < kNumClasses; c++) { in Validate() 176 if (c != kNumClasses - 1) in Validate() 187 CHECK_LT(c, kNumClasses); in Validate() 355 CHECK_LT(class_id, kNumClasses); in AllocateBatch() [all …]
|
/external/compiler-rt/lib/asan/ |
D | asan_allocator.h | 147 static const uptr kNumberOfSizeClasses = SizeClassMap::kNumClasses;
|
/external/compiler-rt/lib/sanitizer_common/tests/ |
D | sanitizer_allocator_test.cc | 221 uptr max_size_class = Allocator::kNumClasses - 1; in SizeClassAllocatorGetBlockBeginStress()
|