tf.contrib.graph_editor.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.