diff options
author | Derek Murray <mrry@google.com> | 2017-12-12 07:43:24 -0800 |
---|---|---|
committer | TensorFlower Gardener <gardener@tensorflow.org> | 2017-12-12 07:47:29 -0800 |
commit | 94686be226fc999437618959a791d7bda18e1806 (patch) | |
tree | a7483bc9cdbccf17bbb574eb6022748b8885f094 /tensorflow/c/c_api_function.cc | |
parent | 5f470cf9b0b8adf9cf74da33e30024c62647165c (diff) |
Automated g4 rollback of changelist 178675527
PiperOrigin-RevId: 178759398
Diffstat (limited to 'tensorflow/c/c_api_function.cc')
-rw-r--r-- | tensorflow/c/c_api_function.cc | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/tensorflow/c/c_api_function.cc b/tensorflow/c/c_api_function.cc index b9312c2974..dcb818b88b 100644 --- a/tensorflow/c/c_api_function.cc +++ b/tensorflow/c/c_api_function.cc @@ -226,11 +226,6 @@ Status FillFunctionBody( } node_def->add_input(strings::StrCat("^", normalized)); } - - // A function is stateful if any of its nodes are stateful. - if (node->op_def().is_stateful()) { - fdef->mutable_signature()->set_is_stateful(true); - } } return Status::OK(); } |