tf.contrib.graph_editor.make_regex
Return a compiled regular expression.
tf.contrib.graph_editor.make_regex( obj )
Args | |
---|---|
obj | a string or a regular expression. |
Returns | |
---|---|
A compiled regular expression. |
Raises | |
---|---|
ValueError | if obj could not be converted to a regular expression. |
© 2020 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 3.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/versions/r1.15/api_docs/python/tf/contrib/graph_editor/make_regex