Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/contrib/boosted_trees/lib/learner/common/stats/
Dnode-stats_test.cc120 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/
Dleaf_model_operators_test.cc36 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/
Dsanitizer_allocator.h112 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/
Dasan_allocator.h147 static const uptr kNumberOfSizeClasses = SizeClassMap::kNumClasses;
/external/compiler-rt/lib/sanitizer_common/tests/
Dsanitizer_allocator_test.cc221 uptr max_size_class = Allocator::kNumClasses - 1; in SizeClassAllocatorGetBlockBeginStress()