W3cubDocs

/TensorFlow Python

tf.contrib.graph_editor.make_regex(obj)

tf.contrib.graph_editor.make_regex(obj)

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.

Defined in tensorflow/contrib/graph_editor/select.py.

© 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