Skip to content

Commit 6ae1fba

Browse files
committed
trigger
1 parent 7904488 commit 6ae1fba

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

extension/android/executorch_android/src/androidTest/java/org/pytorch/executorch/ModuleE2ETest.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@ public void testStories() throws IOException, URISyntaxException{
9898
inputStream.close();
9999

100100
Module module = Module.load(getTestFilePath(filePath));
101+
101102
EValue[] results = module.forward();
102103
}
103104

extension/android/executorch_android/src/main/java/org/pytorch/executorch/Tensor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -675,7 +675,7 @@ private static Tensor nativeNewTensor(
675675
} else if (DType.INT8.jniCode == dtype) {
676676
tensor = new Tensor_int8(data, shape);
677677
} else {
678-
throw new IllegalArgumentException("Unknown Tensor dtype");
678+
throw new IllegalArgumentException("Unknown Tensor dtype: " + dtype);
679679
}
680680
tensor.mHybridData = hybridData;
681681
return tensor;

0 commit comments

Comments
 (0)