third_party/NNPACK/test/max-pooling-output/smoke.cc
TEST(MAX_POOLING_2x2, small_batch) {
	PoolingTester tester;
	tester.inputSize(12, 12)
		.poolingSize(2, 2)
		.poolingStride(2, 2)
		.iterations(100);
	for (size_t batchSize = 2; batchSize <= 5; batchSize++) {
		tester.batchSize(batchSize)
			.testOutput();
	}
}
/*
 * Test that implementation can handle small non-unit batch_size
 */
Test that implementation can handle small non-unit batch_size
Test that implementation can handle small non - unit batch_size
TEST(MAX_POOLING_2x2, small_batch) {
	PoolingTester tester;
	tester.inputSize(12, 12)
		.poolingSize(2, 2)
		.poolingStride(2, 2)
		.iterations(100);
	for (size_t batchSize = 2; batchSize <= 5; batchSize++) {
		tester.batchSize(batchSize)
			.testOutput();
	}
}
TEST ( MAX_POOLING_2x2 , small_batch ) { PoolingTester tester ; tester . inputSize ( 12 , 12 ) . poolingSize ( 2 , 2 ) . poolingStride ( 2 , 2 ) . iterations ( 100 ) ; for ( size_t batchSize = 2 ; batchSize <= 5 ; batchSize ++ ) { tester . batchSize ( batchSize ) . testOutput ( ) ; } }
Test that implementation can handle small non-unit batch_size
Test that implementation can handle small non - unit batch_size