Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/core/kernels/
Dscale_and_translate_op_test.cc274 constexpr int64 kBatchSize = 2; in TEST_F() local
279 SetCheckerboardImageInput(kBatchSize, kNumRowSquares, kNumColSquares, in TEST_F()
290 constexpr int64 kBatchSize = 2; in TEST_F() local
295 SetCheckerboardImageInput(kBatchSize, kNumRowSquares, kNumColSquares, in TEST_F()
306 constexpr int64 kBatchSize = 2; in TEST_F() local
311 SetCheckerboardImageInput(kBatchSize, kNumRowSquares, kNumColSquares, in TEST_F()
322 constexpr int64 kBatchSize = 2; in TEST_F() local
327 SetCheckerboardImageInput(kBatchSize, kNumRowSquares, kNumColSquares, in TEST_F()
339 constexpr int64 kBatchSize = 2; in TEST_F() local
344 SetCheckerboardImageInput(kBatchSize, kNumRowSquares, kNumColSquares, in TEST_F()
[all …]
/external/tensorflow/tensorflow/lite/kernels/internal/
Dtensor_utils_test.cc679 constexpr int kBatchSize = 2; in TEST() local
682 VectorBatchVectorAdd(input, kVectorSize, kBatchSize, output.data()); in TEST()
689 constexpr int kBatchSize = 3; in TEST() local
691 std::vector<float> output(kVectorSize * kBatchSize); in TEST()
692 VectorBatchVectorAssign(input, kVectorSize, kBatchSize, output.data()); in TEST()
748 constexpr int kBatchSize = 4; in TEST() local
771 kBatchSize, output.data()); in TEST()
805 constexpr int kBatchSize = 4; in TEST() local
827 VectorBatchVectorCwiseProduct(input, kVectorSize, output.data(), kBatchSize, in TEST()
905 constexpr int kBatchSize = 2; in TEST() local
[all …]
/external/tensorflow/tensorflow/compiler/xla/service/cpu/
Dconv_canonicalization_test.cc52 static constexpr int kBatchSize = 50; member in xla::cpu::ConvCanonicalizationTest
64 kInputFeatureCount, kBatchSize, kInputSize, kInputSize)))); in TEST_F()
86 F32, {kOutputFeatureCount, kBatchSize, output_size, output_size}), in TEST_F()
127 kBatchSize, kInputSize, kInputSize, kInputFeatureCount)))); in TEST_F()
149 F32, {kBatchSize, output_size, output_size, kOutputFeatureCount}), in TEST_F()
/external/tensorflow/tensorflow/lite/kernels/
Ddetection_postprocess.cc44 constexpr int kBatchSize = 1; variable
165 {kBatchSize, num_detected_boxes, kNumCoordBox}); in Prepare()
171 SetTensorSizes(context, detection_classes, {kBatchSize, num_detected_boxes}); in Prepare()
177 SetTensorSizes(context, detection_scores, {kBatchSize, num_detected_boxes}); in Prepare()
263 TF_LITE_ENSURE_EQ(context, input_box_encodings->dims->data[0], kBatchSize); in DecodeCenterSizeBoxes()
669 kBatchSize); in NonMaxSuppressionMultiClass()
703 TF_LITE_ENSURE(context, (kBatchSize == 1)); in Eval()
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_coverage_libcdep.cc479 static const uptr kBatchSize = 8; in Update8bitCounterBitsetAndClearCounters() local
480 CHECK_EQ(reinterpret_cast<uptr>(bitset) % kBatchSize, 0); in Update8bitCounterBitsetAndClearCounters()
485 CHECK_EQ(cur % kBatchSize, 0); in Update8bitCounterBitsetAndClearCounters()
486 CHECK_EQ(reinterpret_cast<uptr>(c) % kBatchSize, 0); in Update8bitCounterBitsetAndClearCounters()
492 for (uptr j = 0; j < n; j += kBatchSize, cur += kBatchSize) { in Update8bitCounterBitsetAndClearCounters()
501 for (uptr k = 0; k < kBatchSize; k++) { in Update8bitCounterBitsetAndClearCounters()