STT-tensorflow/tensorflow/python/lite
Jaesung Chung b34984f33a tflite_convert: register custom op defs at the beginning of process
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
2020-10-05 14:54:04 -07:00
..
toco_python_api_wrapper.cc tflite_convert: register custom op defs at the beginning of process 2020-10-05 14:54:04 -07:00