MCPcopy Create free account
hub / github.com/MegEngine/MegEngine / TEST_F

Function TEST_F

dnn/test/cuda/conv_bias_int8.cpp:18–24  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16namespace conv {
17
18TEST_F(CUDA, CONV_BIAS_INT8_NCHW4_CUDNN_CONVOLUTION) {
19 require_compute_capability(7, 5);
20 conv_bias::check_conv_bias(
21 dtype::QuantizedS8{1.2f}, dtype::QuantizedS8{1.3f},
22 dtype::QuantizedS32{1.2f * 1.3f}, dtype::QuantizedS8{1.3f}, handle_cuda(),
23 "DEFAULT:CUDNN:ConvBiasActivation:", param::ConvBias::Format::NCHW4);
24}
25
26TEST_F(CUDA, CONV_BIAS_INT8_NCHW4_1x1) {
27 require_compute_capability(6, 1);

Callers

nothing calls this directly

Tested by

no test coverage detected