We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5f07ee7 commit 35b8a73Copy full SHA for 35b8a73
tf2onnx/tf_loader.py
@@ -41,7 +41,7 @@ def not_implemented_tf_placeholder(*args, **kwargs):
41
from tensorflow.python.framework.function_def_to_graph import function_def_to_graph
42
except ImportError:
43
function_def_to_graph = _not_implemented_tf_placeholder('function_def_to_graph')
44
-
+
45
if is_tf2():
46
convert_variables_to_constants = tf.compat.v1.graph_util.convert_variables_to_constants
47
from tensorflow.python.framework.convert_to_constants import convert_variables_to_constants_v2
0 commit comments