diff options
author | 2017-09-26 19:56:26 -0700 | |
---|---|---|
committer | 2017-09-26 20:13:58 -0700 | |
commit | c65b9f87d91f51a233cb649f4d1a5b5f63a4d5e1 (patch) | |
tree | c3c40e0fc0a11857151c1f00c1dd648684d28e50 /tensorflow/cc/ops | |
parent | 035a9be3cce366ceb57e3bb8d7a436135501061b (diff) |
implementing _update_input for the C API
PiperOrigin-RevId: 170147211
Diffstat (limited to 'tensorflow/cc/ops')
-rw-r--r-- | tensorflow/cc/ops/while_loop_test.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tensorflow/cc/ops/while_loop_test.cc b/tensorflow/cc/ops/while_loop_test.cc index e3f6523c19..18b8be3794 100644 --- a/tensorflow/cc/ops/while_loop_test.cc +++ b/tensorflow/cc/ops/while_loop_test.cc @@ -146,7 +146,7 @@ TEST_F(WhileLoopTest, InvalidCondOutputIndex) { *output = {less.node(), 100}; return s.status(); }, - AddOneBody, error::INVALID_ARGUMENT, + AddOneBody, error::OUT_OF_RANGE, "Node 'cond/Less' (type: 'Less', num of outputs: 1) does not have output " "100"); } @@ -182,7 +182,7 @@ TEST_F(WhileLoopTest, InvalidBodyOutputIndex) { outputs->emplace_back(add.node(), 100); return s.status(); }, - error::INVALID_ARGUMENT, + error::OUT_OF_RANGE, "Node 'body/Add' (type: 'Add', num of outputs: 1) does not have " "output 100"); } |