pytorch/android/pytorch_android
Ivan Kobzarev c0334015ed add to Tensor symmetric methods getDataAsIntArray, getDataAsByteArray (#25183)
Summary:
Tensor has getDataAsFloatArray(), we also support Int and Byte Tensors,
adding symmetric methods for Int and Byte, that will throw
IllegalStateException if called for not appropriate type
Pull Request resolved: https://github.com/pytorch/pytorch/pull/25183

Reviewed By: dreiss

Differential Revision: D17052674

Pulled By: IvanKobzarev

fbshipit-source-id: 1d44944461ad008e202e382152cd0690c61124f4
2019-08-26 19:11:11 -07:00
..
src add to Tensor symmetric methods getDataAsIntArray, getDataAsByteArray (#25183) 2019-08-26 19:11:11 -07:00
build.gradle jni-java wrapper for pytorchScript api (#25084) 2019-08-23 10:42:44 -07:00
CMakeLists.txt jni-java wrapper for pytorchScript api (#25084) 2019-08-23 10:42:44 -07:00
generate_test_torchscripts.py Fix python lints for generate_test_torchscripts.py (#25107) 2019-08-23 11:37:23 -07:00