TensorFlow 2.0 RC is available Learn more

tf.contrib.graph_editor.make_regex

View source on GitHub

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.