Merge pull request #29769 from compnerd:patch-1
PiperOrigin-RevId: 254174047
This commit is contained in:
commit
3bbf556706
@ -29,6 +29,10 @@ limitations under the License.
|
|||||||
$1 = reinterpret_cast<TfLiteDelegate*>(PyLong_AsVoidPtr($input));
|
$1 = reinterpret_cast<TfLiteDelegate*>(PyLong_AsVoidPtr($input));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
%typemap(out) TfLiteDelegate* {
|
||||||
|
$result = PyLong_FromVoidPtr($1)
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
%include "tensorflow/lite/python/interpreter_wrapper/interpreter_wrapper.h"
|
%include "tensorflow/lite/python/interpreter_wrapper/interpreter_wrapper.h"
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user