提交 ca16c0d1 编写于 作者: D dongzhihong

Merge remote-tracking branch 'remotes/reyoung/feature/backward' into backward

...@@ -362,8 +362,6 @@ TEST(Backward, linear_net_intermediate_variable_has_no_grad) { ...@@ -362,8 +362,6 @@ TEST(Backward, linear_net_intermediate_variable_has_no_grad) {
EXPECT_EQ(grad_fc.outputs_.size(), 2UL /* input number of mul*/ EXPECT_EQ(grad_fc.outputs_.size(), 2UL /* input number of mul*/
+ 2UL /* input number of rowwise_add */ + 2UL /* input number of rowwise_add */
+ 1UL /* input number of sigmod */); + 1UL /* input number of sigmod */);
std::cout << std::endl;
EXPECT_EQ(bwd_net->ops_[1]->inputs_.size(), 0UL); EXPECT_EQ(bwd_net->ops_[1]->inputs_.size(), 0UL);
EXPECT_EQ(bwd_net->ops_[1]->outputs_.size(), 0UL); EXPECT_EQ(bwd_net->ops_[1]->outputs_.size(), 0UL);
EXPECT_EQ(bwd_net->ops_[2]->inputs_.size(), 0UL); EXPECT_EQ(bwd_net->ops_[2]->inputs_.size(), 0UL);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册