When the allow_custom_opdefs flag is given, the converter API should register the given opdef to the TF global registry before loading graphs to make sure the TF global registry is updated. After that, the corresponding fake op kernel will be added since TF saved model importer logic does fetch kernels while loading. PiperOrigin-RevId: 335504825 Change-Id: I8fc8881600605f8fbe3bfdac0f622f83ce99b9a8 |
||
---|---|---|
.. | ||
toco_python_api_wrapper.cc |