Merge pull request #29769 from compnerd:patch-1
PiperOrigin-RevId: 254174047
This commit is contained in:
commit
3bbf556706
@ -26,7 +26,11 @@ limitations under the License.
|
|||||||
|
|
||||||
|
|
||||||
%typemap(in) TfLiteDelegate* {
|
%typemap(in) TfLiteDelegate* {
|
||||||
$1 = reinterpret_cast<TfLiteDelegate*>(PyLong_AsVoidPtr($input));
|
$1 = reinterpret_cast<TfLiteDelegate*>(PyLong_AsVoidPtr($input));
|
||||||
|
}
|
||||||
|
|
||||||
|
%typemap(out) TfLiteDelegate* {
|
||||||
|
$result = PyLong_FromVoidPtr($1)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user