File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
src/main/java/org/pytorch/executorch Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -357,7 +357,7 @@ class ExecuTorchJni : public facebook::jni::HybridClass<ExecuTorchJni> {
357
357
auto && load_result = module_->load_method (" forward" );
358
358
auto && buf = prepare_input_tensors (*(module_->methods_ [" forward" ].method ));
359
359
auto && result = module_->methods_ [" forward" ].method ->execute ();
360
- return (jint) result;
360
+ return (jint)result;
361
361
}
362
362
363
363
static void registerNatives () {
Original file line number Diff line number Diff line change @@ -39,7 +39,9 @@ public void resetNative() {
39
39
@ DoNotStrip
40
40
public native EValue [] forward (EValue ... inputs );
41
41
42
- /** Run a "forward" call with the sample inputs (ones) to test a module
42
+ /**
43
+ * Run a "forward" call with the sample inputs (ones) to test a module
44
+ *
43
45
* @return the outputs of the forward call
44
46
* @apiNote This is experimental and test-only API
45
47
*/
You can’t perform that action at this time.
0 commit comments