We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e6b540e commit 3022a79Copy full SHA for 3022a79
paddle/gserver/tests/test_LayerGrad.cpp
@@ -681,12 +681,13 @@ TEST(Layer, hsigmoidLayer) {
681
config.layerConfig.add_inputs();
682
683
684
- // Not support GPU now
685
- testLayerGrad(config,
686
- "hsigmoid",
687
- 100,
688
- /* trans */ false, /* useGpu */
689
- false);
+ for (auto useGpu : {false, true}) {
+ testLayerGrad(config,
+ "hsigmoid",
+ 100,
+ /* trans */ false, /* useGpu */
+ useGpu);
690
+ }
691
}
692
693
TEST(Layer, multi_cross) {
0 commit comments