tf.contrib.lite.convert_op_hints_to_stubs(session)
Defined in tensorflow/contrib/lite/python/op_hint.py
.
Converts a graphdef with LiteOp hints into stub operations.
This is used to prepare for toco conversion of complex intrinsic usages.
session
: A TensorFlow session that contains the graph to convert.A new graphdef with all ops contained in OpHints being replaced by a single op call with the right parameters.
© 2018 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/lite/convert_op_hints_to_stubs