diff options
Diffstat (limited to 'tensorflow/core/ops/string_ops.cc')
-rw-r--r-- | tensorflow/core/ops/string_ops.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tensorflow/core/ops/string_ops.cc b/tensorflow/core/ops/string_ops.cc index da1d2a6432..b4fbde54d9 100644 --- a/tensorflow/core/ops/string_ops.cc +++ b/tensorflow/core/ops/string_ops.cc @@ -244,4 +244,9 @@ REGISTER_OP("Substr") return shape_inference::BroadcastBinaryOpShapeFn(c); }); +REGISTER_OP("UnicodeScript") + .Input("input: int32") + .Output("output: int32") + .SetShapeFn(shape_inference::UnchangedShape); + } // namespace tensorflow |