diff options
author | 2016-01-24 20:49:04 -0800 | |
---|---|---|
committer | 2016-01-24 21:37:29 -0800 | |
commit | 94041ff8d3aeada142dc4471f38a05e5e2bd853a (patch) | |
tree | 9cd7aab4c633e7c5aa78167187887c10da0fcce8 /tensorflow/core/ops/function_ops.cc | |
parent | 3f9101e95e3d1359cb81863657b51c5909f89baa (diff) |
Marked the wrong op as stateful.
Change: 112915818
Diffstat (limited to 'tensorflow/core/ops/function_ops.cc')
-rw-r--r-- | tensorflow/core/ops/function_ops.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tensorflow/core/ops/function_ops.cc b/tensorflow/core/ops/function_ops.cc index 9e94de6836..963e01e645 100644 --- a/tensorflow/core/ops/function_ops.cc +++ b/tensorflow/core/ops/function_ops.cc @@ -29,6 +29,7 @@ REGISTER_OP("_Arg") .Output("output: T") .Attr("T: type") .Attr("index: int >= 0") + .SetIsStateful() .Doc(R"doc( A graph node which represents an argument to a function. @@ -54,7 +55,6 @@ REGISTER_OP("_ListToArray") .Attr("Tin: list(type)") .Attr("T: type") .Attr("N: int >= 1") - .SetIsStateful() .Doc(R"doc( Converts a list of tensors to an array of tensors. )doc"); @@ -65,7 +65,6 @@ REGISTER_OP("_ArrayToList") .Attr("T: type") .Attr("N: int >= 1") .Attr("out_types: list(type)") - .SetIsStateful() .Doc(R"doc( Converts an array of tensors to a list of tensors. )doc"); |