tf.lite.experimental.convert_op_hints_to_stubs is now tf.compat.v1.lite.experimental.convert_op_hints_to_stubs
PiperOrigin-RevId: 276385793 Change-Id: Idd11ef493293e0a2d2c0cb71cb1361833a866fb9
This commit is contained in:
parent
27935b664b
commit
01cba40984
@ -93,7 +93,7 @@ def toco_convert(options, graph_def, input_tensors, output_tensors, **kwargs):
|
||||
or None, log_txt if it did not convert properly.
|
||||
"""
|
||||
# Convert ophint ops if presented.
|
||||
graph_def = tf.lite.experimental.convert_op_hints_to_stubs(
|
||||
graph_def = tf.compat.v1.lite.experimental.convert_op_hints_to_stubs(
|
||||
graph_def=graph_def)
|
||||
graph_def_str = graph_def.SerializeToString()
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user