diff options
author | 2017-09-28 13:39:38 -0700 | |
---|---|---|
committer | 2017-09-28 13:54:28 -0700 | |
commit | 475502198c81414616b520c6f9b1206191c036b8 (patch) | |
tree | 43fddc133b6831b462d3b2a2e9bd75a91dd0958f /tensorflow/c/while_loop_test.cc | |
parent | e30dcc19134e716a756b106b2888af1be9223059 (diff) |
C++ while loop gradient cleanup
PiperOrigin-RevId: 170390543
Diffstat (limited to 'tensorflow/c/while_loop_test.cc')
-rw-r--r-- | tensorflow/c/while_loop_test.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tensorflow/c/while_loop_test.cc b/tensorflow/c/while_loop_test.cc index 4698560bbe..2423d83dda 100644 --- a/tensorflow/c/while_loop_test.cc +++ b/tensorflow/c/while_loop_test.cc @@ -85,6 +85,7 @@ class CApiWhileLoopTest : public ::testing::Test { inputs[i] = {inputs_[i].oper, Int32Tensor(v)}; ++i; } + // TODO(skyewm): use std::make_unique or absl::make_unique when possible. csession_.reset(new CSession(graph_, s_)); csession_->SetInputs(inputs); csession_->SetOutputs(run_outputs); |