contrib.graph_editor.make_regex
tf.contrib.graph_editor.make_regex
tf.contrib.graph_editor.make_regex
make_regex(obj)
Defined in tensorflow/contrib/graph_editor/select.py
.
Return a compiled regular expression.
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.
© 2017 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/api_docs/python/tf/contrib/graph_editor/make_regex