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
1 changed files with 5 additions and 1 deletions

View File

@ -26,7 +26,11 @@ limitations under the License.
%typemap(in) TfLiteDelegate* {
$1 = reinterpret_cast<TfLiteDelegate*>(PyLong_AsVoidPtr($input));
$1 = reinterpret_cast<TfLiteDelegate*>(PyLong_AsVoidPtr($input));
}
%typemap(out) TfLiteDelegate* {
$result = PyLong_FromVoidPtr($1)
}