Skip to content

Commit 4c038e2

Browse files
committed
myDtype -> mDtype
1 parent cb6c439 commit 4c038e2

File tree

1 file changed

+4
-4
lines changed
  • extension/android/executorch_android/src/main/java/org/pytorch/executorch

1 file changed

+4
-4
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -633,26 +633,26 @@ public String toString() {
633633

634634
static class Tensor_unsupported extends Tensor {
635635
private final ByteBuffer data;
636-
private final DType myDtype;
636+
private final DType mDtype;
637637

638638
private Tensor_unsupported(ByteBuffer data, long[] shape, DType dtype) {
639639
super(shape);
640640
this.data = data;
641-
this.myDtype = dtype;
641+
this.mDtype = dtype;
642642
Log.e(
643643
"ExecuTorch",
644644
toString() + " in Java. Please consider re-export the model with proper return type");
645645
}
646646

647647
@Override
648648
public DType dtype() {
649-
return myDtype;
649+
return mDtype;
650650
}
651651

652652
@Override
653653
public String toString() {
654654
return String.format(
655-
"Unsupported tensor(%s, dtype=%d)", Arrays.toString(shape), this.myDtype);
655+
"Unsupported tensor(%s, dtype=%d)", Arrays.toString(shape), this.mDtype);
656656
}
657657
}
658658

0 commit comments

Comments
 (0)