Merge pull request #29769 from compnerd:patch-1

PiperOrigin-RevId: 254174047
This commit is contained in:
TensorFlower Gardener 2019-06-20 04:56:10 -07:00
commit 3bbf556706

View File

@ -29,6 +29,10 @@ limitations under the License.
$1 = reinterpret_cast<TfLiteDelegate*>(PyLong_AsVoidPtr($input));
}
%typemap(out) TfLiteDelegate* {
$result = PyLong_FromVoidPtr($1)
}
%include "tensorflow/lite/python/interpreter_wrapper/interpreter_wrapper.h"