Searched refs:grad_outputs_ (Results 1 – 2 of 2) sorted by relevance
/external/tensorflow/tensorflow/cc/framework/ |
D | while_gradients_test.cc | 50 AddSymbolicGradients(scope_, outputs_, inputs_, &grad_outputs_)); in CreateBackprop() 51 ASSERT_EQ(grad_outputs_.size(), inputs_.size()); in CreateBackprop() 74 TF_ASSERT_OK(session.Run(run_options, feeds, grad_outputs_, run_outputs, in Run() 76 ASSERT_EQ(out_tensors.size(), grad_outputs_.size()); in Run() 88 std::vector<Output> grad_outputs_; member in tensorflow::__anon27dc20fc0111::WhileGradientsTest 213 AddSymbolicGradients(cpu1_scope, outputs_, inputs_, &grad_outputs_)); in TEST_F() 214 ASSERT_EQ(grad_outputs_.size(), inputs_.size()); in TEST_F()
|
D | gradients.cc | 106 std::vector<Output>* grad_outputs_; member in tensorflow::__anon2882cf250111::SymbolicGradientBuilder 149 grad_outputs_(grad_outputs) {} in SymbolicGradientBuilder() 263 grad_outputs_->clear(); in Initialize() 264 grad_outputs_->resize(inputs_.size()); in Initialize() 461 (*grad_outputs_)[iter->second] = dy[i]; in AddGradients() 543 DCHECK(((*grad_outputs_)[idx].node() == nullptr)); in AddGradients() 544 TF_RETURN_IF_ERROR(SumGradients(nout, &(*grad_outputs_)[idx])); in AddGradients()
|