Path Lines of Code react-native-pytorch-core/android/src/main/cpp/cpp-adapter.cpp 15 react-native-pytorch-core/android/src/main/java/org/pytorch/rn/core/PyTorchCorePackage.java 33 react-native-pytorch-core/android/src/main/java/org/pytorch/rn/core/audio/Audio.java 10 react-native-pytorch-core/android/src/main/java/org/pytorch/rn/core/audio/AudioModule.java 87 react-native-pytorch-core/android/src/main/java/org/pytorch/rn/core/audio/IAudio.java 4 react-native-pytorch-core/android/src/main/java/org/pytorch/rn/core/audio/IAudioRecord.java 4 react-native-pytorch-core/android/src/main/java/org/pytorch/rn/core/camera/CameraView.java 275 react-native-pytorch-core/android/src/main/java/org/pytorch/rn/core/camera/CameraViewManager.java 88 react-native-pytorch-core/android/src/main/java/org/pytorch/rn/core/canvas/CanvasRenderingContext2D.java 388 react-native-pytorch-core/android/src/main/java/org/pytorch/rn/core/canvas/CanvasRenderingContext2DModule.java 367 react-native-pytorch-core/android/src/main/java/org/pytorch/rn/core/canvas/CanvasView.java 70 react-native-pytorch-core/android/src/main/java/org/pytorch/rn/core/canvas/CanvasViewManager.java 42 react-native-pytorch-core/android/src/main/java/org/pytorch/rn/core/canvas/ImageData.java 20 react-native-pytorch-core/android/src/main/java/org/pytorch/rn/core/canvas/ImageDataModule.java 26 react-native-pytorch-core/android/src/main/java/org/pytorch/rn/core/image/AbstractImage.java 35 react-native-pytorch-core/android/src/main/java/org/pytorch/rn/core/image/BitmapImage.java 35 react-native-pytorch-core/android/src/main/java/org/pytorch/rn/core/image/IImage.java 16 react-native-pytorch-core/android/src/main/java/org/pytorch/rn/core/image/Image.java 58 react-native-pytorch-core/android/src/main/java/org/pytorch/rn/core/image/ImageDataImage.java 49 react-native-pytorch-core/android/src/main/java/org/pytorch/rn/core/image/ImageException.java 6 react-native-pytorch-core/android/src/main/java/org/pytorch/rn/core/image/ImageModule.java 136 react-native-pytorch-core/android/src/main/java/org/pytorch/rn/core/image/ImageProxyImage.java 61 react-native-pytorch-core/android/src/main/java/org/pytorch/rn/core/image/ImageUtils.java 93 react-native-pytorch-core/android/src/main/java/org/pytorch/rn/core/javascript/JSContext.java 60 react-native-pytorch-core/android/src/main/java/org/pytorch/rn/core/jsi/PyTorchCoreJSIModule.java 34 react-native-pytorch-core/android/src/main/java/org/pytorch/rn/core/jsi/PyTorchCoreJSIModulePackage.java 15 react-native-pytorch-core/android/src/main/java/org/pytorch/rn/core/ml/MobileModelModule.java 201 react-native-pytorch-core/android/src/main/java/org/pytorch/rn/core/ml/processing/BaseIValuePacker.java 713 react-native-pytorch-core/android/src/main/java/org/pytorch/rn/core/ml/processing/BertTokenizer.java 91 react-native-pytorch-core/android/src/main/java/org/pytorch/rn/core/ml/processing/CameraImageCenterCropScaleRgbNormTransform.java 36 react-native-pytorch-core/android/src/main/java/org/pytorch/rn/core/ml/processing/CenterCropTransform.java 43 react-native-pytorch-core/android/src/main/java/org/pytorch/rn/core/ml/processing/GPT2Tokenizer.java 75 react-native-pytorch-core/android/src/main/java/org/pytorch/rn/core/ml/processing/GreyScaleNormTransform.java 58 react-native-pytorch-core/android/src/main/java/org/pytorch/rn/core/ml/processing/IAudioToTensorTransform.java 6 react-native-pytorch-core/android/src/main/java/org/pytorch/rn/core/ml/processing/IIValuePacker.java 10 react-native-pytorch-core/android/src/main/java/org/pytorch/rn/core/ml/processing/IImageToTensorTransform.java 6 react-native-pytorch-core/android/src/main/java/org/pytorch/rn/core/ml/processing/IImageTransform.java 5 react-native-pytorch-core/android/src/main/java/org/pytorch/rn/core/ml/processing/Packer.java 10 react-native-pytorch-core/android/src/main/java/org/pytorch/rn/core/ml/processing/PackerContext.java 16 react-native-pytorch-core/android/src/main/java/org/pytorch/rn/core/ml/processing/PackerRegistry.java 59 react-native-pytorch-core/android/src/main/java/org/pytorch/rn/core/ml/processing/RgbNormTransform.java 24 react-native-pytorch-core/android/src/main/java/org/pytorch/rn/core/ml/processing/ScaleTransform.java 27 react-native-pytorch-core/android/src/main/java/org/pytorch/rn/core/ml/processing/Unpacker.java 14 react-native-pytorch-core/android/src/main/java/org/pytorch/rn/core/utils/FileUtils.java 65 react-native-pytorch-core/app.plugin.js 1 react-native-pytorch-core/babel.config.js 3 react-native-pytorch-core/cpp/TensorHostObject.cpp 38 react-native-pytorch-core/cpp/TensorHostObject.h 21 react-native-pytorch-core/cpp/TorchHostObject.cpp 64 react-native-pytorch-core/cpp/TorchHostObject.h 14 react-native-pytorch-core/cpp/torchlive.cpp 13 react-native-pytorch-core/cpp/torchlive.h 12 react-native-pytorch-core/example/android/app/src/debug/java/org/pytorch/rn/core/example/ReactNativeFlipper.java 59 react-native-pytorch-core/example/android/app/src/main/java/org/pytorch/rn/core/example/MainActivity.java 8 react-native-pytorch-core/example/android/app/src/main/java/org/pytorch/rn/core/example/MainApplication.java 70 react-native-pytorch-core/example/babel.config.js 16 react-native-pytorch-core/example/index.tsx 4 react-native-pytorch-core/example/ios/DummySwift.swift 1 react-native-pytorch-core/example/ios/File.swift 1 react-native-pytorch-core/example/ios/PyTorchCoreExample-Bridging-Header.h 1 react-native-pytorch-core/example/ios/PyTorchCoreExample/AppDelegate.h 5 react-native-pytorch-core/example/ios/PyTorchCoreExample/AppDelegate.m 48 react-native-pytorch-core/example/ios/PyTorchCoreExample/main.m 7 react-native-pytorch-core/example/ios/PyTorchCoreExampleTests/PyTorchCoreExampleTests.m 51 react-native-pytorch-core/example/metro.config.js 34 react-native-pytorch-core/example/src/App.tsx 22 react-native-pytorch-core/example/src/Models.ts 39 react-native-pytorch-core/example/src/components/ImageClass.tsx 42 react-native-pytorch-core/example/src/toolbox/JSIPlayground.tsx 68 react-native-pytorch-core/example/src/toolbox/Playground.tsx 45 react-native-pytorch-core/example/src/toolbox/Toolbox.tsx 346 react-native-pytorch-core/example/src/toolbox/ToolboxContext.tsx 24 react-native-pytorch-core/example/src/toolbox/ToolboxList.tsx 68 react-native-pytorch-core/example/src/toolbox/apiTest/AstroBirdExample.tsx 62 react-native-pytorch-core/example/src/toolbox/apiTest/AstroBirdGame.ts 392 react-native-pytorch-core/example/src/toolbox/apiTest/CanvasAnimation.tsx 105 react-native-pytorch-core/example/src/toolbox/apiTest/CanvasArc.tsx 45 react-native-pytorch-core/example/src/toolbox/apiTest/CanvasArcMatrix.tsx 61 react-native-pytorch-core/example/src/toolbox/apiTest/CanvasClearRect.tsx 37 react-native-pytorch-core/example/src/toolbox/apiTest/CanvasClosePath.tsx 32 react-native-pytorch-core/example/src/toolbox/apiTest/CanvasDrawImage.tsx 41 react-native-pytorch-core/example/src/toolbox/apiTest/CanvasFillRect.tsx 28 react-native-pytorch-core/example/src/toolbox/apiTest/CanvasGetImageData.tsx 58 react-native-pytorch-core/example/src/toolbox/apiTest/CanvasImageSprite.tsx 55 react-native-pytorch-core/example/src/toolbox/apiTest/CanvasLineCap.tsx 32 react-native-pytorch-core/example/src/toolbox/apiTest/CanvasLineJoin.tsx 34 react-native-pytorch-core/example/src/toolbox/apiTest/CanvasMiterLimit.tsx 40 react-native-pytorch-core/example/src/toolbox/apiTest/CanvasMoveTo.tsx 32 react-native-pytorch-core/example/src/toolbox/apiTest/CanvasRect.tsx 28 react-native-pytorch-core/example/src/toolbox/apiTest/CanvasRotate.tsx 38 react-native-pytorch-core/example/src/toolbox/apiTest/CanvasSaveRestore.tsx 31 react-native-pytorch-core/example/src/toolbox/apiTest/CanvasScale.tsx 32 react-native-pytorch-core/example/src/toolbox/apiTest/CanvasSetTransform.tsx 28 react-native-pytorch-core/example/src/toolbox/apiTest/CanvasText.tsx 30 react-native-pytorch-core/example/src/toolbox/apiTest/CanvasTextAlign.tsx 47 react-native-pytorch-core/example/src/toolbox/apiTest/CanvasTranslate.tsx 32 react-native-pytorch-core/example/src/toolbox/apiTest/GameLoop.ts 39 react-native-pytorch-core/example/src/toolbox/apiTest/ImageScale.tsx 45 react-native-pytorch-core/example/src/toolbox/apiTest/camera/CameraTakePicture.tsx 75 react-native-pytorch-core/example/src/toolbox/models/DETR.tsx 72 react-native-pytorch-core/example/src/toolbox/models/Distilbert.tsx 154 react-native-pytorch-core/example/src/toolbox/models/FastNeuralStyle.tsx 102 react-native-pytorch-core/example/src/toolbox/models/MNIST.tsx 282 react-native-pytorch-core/example/src/toolbox/models/MobileNetV3.tsx 32 react-native-pytorch-core/example/src/toolbox/models/Wav2Vec2.tsx 56 react-native-pytorch-core/example/src/useImageModelInference.ts 38 react-native-pytorch-core/example/src/useNLPQAModelInference.ts 38 react-native-pytorch-core/example/src/useObjectDetection.ts 60 react-native-pytorch-core/example/src/utils/emptyFunction.ts 1 react-native-pytorch-core/example/src/utils/useImageFromBundle.ts 12 react-native-pytorch-core/example/src/utils/useImageFromURL.ts 16 react-native-pytorch-core/example/src/utils/useLayoutEffectAsync.ts 22 react-native-pytorch-core/ios/Audio/Audio.swift 10 react-native-pytorch-core/ios/Audio/AudioModule.m 7 react-native-pytorch-core/ios/Audio/AudioModule.swift 88 react-native-pytorch-core/ios/Audio/IAudio.swift 4 react-native-pytorch-core/ios/Camera/CameraManager.m 9 react-native-pytorch-core/ios/Camera/CameraManager.swift 15 react-native-pytorch-core/ios/Camera/CameraView.swift 257 react-native-pytorch-core/ios/Camera/CaptureButton.swift 61 react-native-pytorch-core/ios/Canvas/CGContextExtension.swift 11 react-native-pytorch-core/ios/Canvas/CanvasManager.m 6 react-native-pytorch-core/ios/Canvas/CanvasManager.swift 12 react-native-pytorch-core/ios/Canvas/CanvasRenderingContext2D.swift 380 react-native-pytorch-core/ios/Canvas/CanvasRenderingContext2DModule.m 39 react-native-pytorch-core/ios/Canvas/DrawingCanvasView.swift 429 react-native-pytorch-core/ios/Canvas/ImageData.swift 11 react-native-pytorch-core/ios/Canvas/ImageDataModule.m 6 react-native-pytorch-core/ios/Canvas/ImageDataModule.swift 20 react-native-pytorch-core/ios/Canvas/LayerData.swift 41 react-native-pytorch-core/ios/Canvas/ShapeLayer.swift 65 react-native-pytorch-core/ios/Image/BitmapImage.swift 50 react-native-pytorch-core/ios/Image/IImage.swift 11 react-native-pytorch-core/ios/Image/Image.swift 44 react-native-pytorch-core/ios/Image/ImageDataImage.swift 38 react-native-pytorch-core/ios/Image/ImageModule.m 15 react-native-pytorch-core/ios/Image/ImageModule.swift 151 react-native-pytorch-core/ios/Image/ImageUtils.swift 27 react-native-pytorch-core/ios/Image/Macros.h 6 react-native-pytorch-core/ios/Image/Macros.m 8 react-native-pytorch-core/ios/JavaScript/JSContext.swift 58 react-native-pytorch-core/ios/Jsi/PyTorchCoreJSI.h 4 react-native-pytorch-core/ios/Jsi/PyTorchCoreJSI.mm 25 react-native-pytorch-core/ios/ML/Internal/PTMIValue+Internal.h 7 react-native-pytorch-core/ios/ML/Internal/PTMTensor+Internal.h 7 react-native-pytorch-core/ios/ML/MobileModelModule.m 6 react-native-pytorch-core/ios/ML/MobileModelModule.swift 146 react-native-pytorch-core/ios/ML/PTMIValue.h 14 react-native-pytorch-core/ios/ML/PTMIValue.mm 55 react-native-pytorch-core/ios/ML/PTMModule.h 11 react-native-pytorch-core/ios/ML/PTMModule.mm 52 react-native-pytorch-core/ios/ML/PTMTensor.h 20 react-native-pytorch-core/ios/ML/PTMTensor.mm 96 react-native-pytorch-core/ios/ML/Processing/BaseIValuePacker.swift 404 react-native-pytorch-core/ios/ML/Processing/BertTokenizer.swift 106 react-native-pytorch-core/ios/ML/Processing/CenterCropTransform.swift 54 react-native-pytorch-core/ios/ML/Processing/GreyScaleNormTransform.swift 91 react-native-pytorch-core/ios/ML/Processing/IImageToTensorTransform.swift 4 react-native-pytorch-core/ios/ML/Processing/IImageTransform.swift 4 react-native-pytorch-core/ios/ML/Processing/RGBNormTransform.swift 46 react-native-pytorch-core/ios/ML/Processing/ScaleTransform.swift 41 react-native-pytorch-core/ios/PyTorchCore-Bridging-Header.h 11 react-native-pytorch-core/src/CameraView.tsx 79 react-native-pytorch-core/src/CanvasView.tsx 328 react-native-pytorch-core/src/ImageModule.ts 90 react-native-pytorch-core/src/MobileModelModule.ts 56 react-native-pytorch-core/src/Models.ts 6 react-native-pytorch-core/src/NativeJSRef.ts 3 react-native-pytorch-core/src/audio/AudioModule.ts 7 react-native-pytorch-core/src/expo-plugin/withPyTorchCore.ts 79 react-native-pytorch-core/src/index.tsx 10 react-native-pytorch-core/src/utils/CSSFontUtils.ts 133 react-native-template-ptl/template.config.js 4 react-native-template-ptl/template/android/app/src/debug/java/org/pytorch/live/example/ReactNativeFlipper.java 59 react-native-template-ptl/template/android/app/src/main/java/org/pytorch/live/example/MainActivity.java 8 react-native-template-ptl/template/android/app/src/main/java/org/pytorch/live/example/MainApplication.java 59 react-native-template-ptl/template/babel.config.js 3 react-native-template-ptl/template/ios/DummySwift.swift 1 react-native-template-ptl/template/ios/PyTorchLiveExample-Bridging-Header.h 1 react-native-template-ptl/template/ios/PyTorchLiveExample/AppDelegate.h 5 react-native-template-ptl/template/ios/PyTorchLiveExample/AppDelegate.m 52 react-native-template-ptl/template/ios/PyTorchLiveExample/main.m 7 react-native-template-ptl/template/ios/PyTorchLiveExampleTests/PyTorchLiveExampleTests.m 51 react-native-template-ptl/template/metro.config.js 15 react-native-template-ptl/template/src/App.tsx 59 react-native-template-pytorch-live/template.config.js 5 react-native-template-pytorch-live/template/android/app/src/debug/java/org/pytorch/live/example/ReactNativeFlipper.java 59 react-native-template-pytorch-live/template/android/app/src/main/java/org/pytorch/live/example/BertQAPacker.java 81 react-native-template-pytorch-live/template/android/app/src/main/java/org/pytorch/live/example/MainActivity.java 8 react-native-template-pytorch-live/template/android/app/src/main/java/org/pytorch/live/example/MainApplication.java 59 react-native-template-pytorch-live/template/babel.config.js 3 react-native-template-pytorch-live/template/ios/DummySwift.swift 1 react-native-template-pytorch-live/template/ios/PyTorchLiveExample-Bridging-Header.h 1 react-native-template-pytorch-live/template/ios/PyTorchLiveExample/AppDelegate.h 5 react-native-template-pytorch-live/template/ios/PyTorchLiveExample/AppDelegate.m 52 react-native-template-pytorch-live/template/ios/PyTorchLiveExample/main.m 7 react-native-template-pytorch-live/template/ios/PyTorchLiveExampleTests/PyTorchLiveExampleTests.m 51 react-native-template-pytorch-live/template/metro.config.js 15 react-native-template-pytorch-live/template/src/App.tsx 59 react-native-template-pytorch-live/template/src/Models.ts 33 react-native-template-pytorch-live/template/src/components/ImageClassInfo.tsx 46 react-native-template-pytorch-live/template/src/components/ModelPreloader.tsx 48 react-native-template-pytorch-live/template/src/components/ModelSelector.tsx 44 react-native-template-pytorch-live/template/src/components/PredefinedImageList.tsx 71 react-native-template-pytorch-live/template/src/components/UIComponents.tsx 188 react-native-template-pytorch-live/template/src/components/UISettings.tsx 39 react-native-template-pytorch-live/template/src/toolbox/Toolbox.tsx 178 react-native-template-pytorch-live/template/src/toolbox/ToolboxContext.tsx 25 react-native-template-pytorch-live/template/src/toolbox/ToolboxList.tsx 70 react-native-template-pytorch-live/template/src/toolbox/camera/CameraFrameByFrame.tsx 47 react-native-template-pytorch-live/template/src/toolbox/camera/CameraTakePicture.tsx 47 react-native-template-pytorch-live/template/src/toolbox/canvas/CanvasAnimator.tsx 85 react-native-template-pytorch-live/template/src/toolbox/canvas/CanvasDrawing.tsx 100 react-native-template-pytorch-live/template/src/toolbox/canvas/CanvasShapes.tsx 62 react-native-template-pytorch-live/template/src/toolbox/canvas/CanvasStarter.tsx 57 react-native-template-pytorch-live/template/src/toolbox/canvas/CanvasTransform.tsx 95 react-native-template-pytorch-live/template/src/toolbox/canvas/Images.tsx 108 react-native-template-pytorch-live/template/src/toolbox/data/GetRequest.tsx 123 react-native-template-pytorch-live/template/src/toolbox/data/PostRequest.tsx 85 react-native-template-pytorch-live/template/src/toolbox/ui/UICard.tsx 44 react-native-template-pytorch-live/template/src/toolbox/ui/UIStarter.tsx 111 react-native-template-pytorch-live/template/src/useImageModelInference.ts 34 react-native-template-pytorch-live/template/src/useNLPQAModelInference.ts 38 react-native-template-pytorch-live/template/src/useObjectDetection.ts 56 react-native-template-pytorch-live/template/src/utils/Animator.ts 40 react-native-template-pytorch-live/template/src/utils/GameLoop.ts 39 react-native-template-pytorch-live/template/src/utils/emptyFunction.ts 1 react-native-template-pytorch-live/template/src/utils/useImageFromBundle.ts 12 react-native-template-pytorch-live/template/src/utils/useImageFromURL.ts 16 react-native-template-pytorch-live/template/src/utils/useLayoutEffectAsync.ts 19 torchlive-cli/scripts/package.ts 28 torchlive-cli/src/android/AndroidSDK.ts 138 torchlive-cli/src/android/JDK.ts 18 torchlive-cli/src/cli-commands/Clean.ts 28 torchlive-cli/src/cli-commands/Doctor.ts 201 torchlive-cli/src/cli-commands/Emulator.ts 22 torchlive-cli/src/cli-commands/Init.ts 157 torchlive-cli/src/cli-commands/Log.ts 14 torchlive-cli/src/cli-commands/RunAndroid.ts 120 torchlive-cli/src/cli-commands/RunIOS.ts 21 torchlive-cli/src/cli-commands/SetUpDev.ts 42 torchlive-cli/src/commands/HealthCheck.ts 96 torchlive-cli/src/commands/Homebrew.ts 15 torchlive-cli/src/commands/ICommand.ts 9 torchlive-cli/src/commands/IExecutable.ts 3 torchlive-cli/src/commands/Javac.ts 60 torchlive-cli/src/commands/Node.ts 5 torchlive-cli/src/commands/Python.ts 13 torchlive-cli/src/commands/ReactNative.ts 24 torchlive-cli/src/commands/Watchman.ts 3 torchlive-cli/src/commands/Yarn.ts 3 torchlive-cli/src/commands/android/AVDManager.ts 7 torchlive-cli/src/commands/android/Emulator.ts 17 torchlive-cli/src/commands/android/SDKManager.ts 6 torchlive-cli/src/commands/ios/Pod.ts 3 torchlive-cli/src/index.ts 21 torchlive-cli/src/installers/HomebrewInstaller.ts 53 torchlive-cli/src/installers/IInstaller.ts 46 torchlive-cli/src/installers/NodeInstaller.ts 30 torchlive-cli/src/installers/WatchmanInstaller.ts 33 torchlive-cli/src/installers/YarnInstaller.ts 49 torchlive-cli/src/installers/android/AbstractAndroidCommandLineTools.ts 15 torchlive-cli/src/installers/android/AndroidEmulatorDeviceInstaller.ts 128 torchlive-cli/src/installers/android/AndroidSDKInstaller.ts 96 torchlive-cli/src/installers/android/AndroidSDKManagerInstaller.ts 85 torchlive-cli/src/installers/android/IntelHAXMInstaller.ts 39 torchlive-cli/src/installers/android/OpenJDKInstaller.ts 33 torchlive-cli/src/installers/ios/CocoaPodsInstaller.ts 91 torchlive-cli/src/task/Task.ts 19 torchlive-cli/src/utils/CommandUtils.ts 123 torchlive-cli/src/utils/FileUtils.ts 21 torchlive-cli/src/utils/Logger.ts 111 torchlive-cli/src/utils/StringBuilder.ts 13 torchlive-cli/src/utils/SudoUtils.ts 19 torchlive-cli/src/utils/SystemUtils.ts 121 torchlive-cli/src/utils/TaskUtils.ts 133 torchlive-cli/src/utils/ToolingUtils.ts 16 torchlive-cli/src/utils/header.ts 8 website/babel.config.js 13 website/docusaurus.config.js 207 website/scripts/codegen-examples.js 140 website/sidebars.js 50 website/src/components/DocVideo.js 43 website/src/components/DocVideo.module.css 7 website/src/components/ExampleDiffCodeTabs.js 19 website/src/components/HomepageFeatures.js 110 website/src/components/HomepageFeatures.module.css 50 website/src/components/HttpTester.js 71 website/src/components/HttpTester.module.css 3 website/src/components/SurveyLinkButton.js 11 website/src/components/SurveyLinkButton.module.css 10 website/src/css/custom.css 331 website/src/pages/community.js 52 website/src/pages/community.module.css 142 website/src/pages/index.js 195 website/src/pages/index.module.css 199 website/src/theme/DocSidebar/index.js 115 website/src/theme/DocSidebar/styles.module.css 112