File tree Expand file tree Collapse file tree
packages/react-native-executorch/common/rnexecutorch/bindings Expand file tree Collapse file tree Original file line number Diff line number Diff line change 55#include < ReactCommon/CallInvoker.h>
66#include < executorch/extension/module/module.h>
77#include < jsi/jsi.h>
8+ #include < rnexecutorch/jsi/OwningArrayBuffer.h>
89#include < rnexecutorch/utils/JsiTensorView.h>
910
11+ using namespace facebook ;
12+
1013namespace rnexecutorch {
1114
1215class ExecutorchModule {
1316public:
1417 ExecutorchModule (const std::string &modelSource,
1518 std::shared_ptr<facebook::react::CallInvoker> callInvoker);
1619 std::vector<int32_t > getInputShape (std::string method_name, int index);
17- int forward (std::vector<JsiTensorView> tensorViewVec);
20+ std::vector<std::shared_ptr<OwningArrayBuffer>>
21+ forward (std::vector<JsiTensorView> tensorViewVec);
1822
1923protected:
2024 std::unique_ptr<executorch::extension::Module> module ;
You can’t perform that action at this time.
0 commit comments