third_party/NNPACK/test/convolution-kernel-gradient/smoke.cc
TEST(FT8x8, few_output_channels) {
	ConvolutionTester tester;
	tester.inputSize(8, 8)
		.iterations(100)
		.errorLimit(1.0e-5);
	for (size_t outputChannels = 2; outputChannels <= 5; outputChannels++) {
		tester.outputChannels(outputChannels).testKernelGradient(nnp_convolution_algorithm_ft8x8);
	}
}
/*
 * Test that the implementation can handle small non-unit number of output channels
 */
Test that the implementation can handle small non-unit number of output channels
Test that the implementation can handle small non - unit number of output channels
TEST(FT8x8, few_output_channels) {
	ConvolutionTester tester;
	tester.inputSize(8, 8)
		.iterations(100)
		.errorLimit(1.0e-5);
	for (size_t outputChannels = 2; outputChannels <= 5; outputChannels++) {
		tester.outputChannels(outputChannels).testKernelGradient(nnp_convolution_algorithm_ft8x8);
	}
}
TEST ( FT8x8 , few_output_channels ) { ConvolutionTester tester ; tester . inputSize ( 8 , 8 ) . iterations ( 100 ) . errorLimit ( 1.0e-5 ) ; for ( size_t outputChannels = 2 ; outputChannels <= 5 ; outputChannels ++ ) { tester . outputChannels ( outputChannels ) . testKernelGradient ( nnp_convolution_algorithm_ft8x8 ) ; } }
Test that the implementation can handle small non-unit number of output channels
Test that the implementation can handle small non - unit number of output channels