提交 3022a790 编写于 作者: P peterzhang2029

add gpu test in test_LayerGrad

上级 e6b540ea
...@@ -681,12 +681,13 @@ TEST(Layer, hsigmoidLayer) { ...@@ -681,12 +681,13 @@ TEST(Layer, hsigmoidLayer) {
config.layerConfig.add_inputs(); config.layerConfig.add_inputs();
config.layerConfig.add_inputs(); config.layerConfig.add_inputs();
// Not support GPU now for (auto useGpu : {false, true}) {
testLayerGrad(config, testLayerGrad(config,
"hsigmoid", "hsigmoid",
100, 100,
/* trans */ false, /* useGpu */ /* trans */ false, /* useGpu */
false); useGpu);
}
} }
TEST(Layer, multi_cross) { TEST(Layer, multi_cross) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册