Skip to content

Commit 4534022

Browse files
committed
formatter
1 parent 762148b commit 4534022

File tree

2 files changed

+8
-10
lines changed

2 files changed

+8
-10
lines changed

extension/android/src/main/java/org/pytorch/executorch/EValue.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -177,8 +177,8 @@ private String getTypeName(int typeCode) {
177177
}
178178

179179
/**
180-
* Serializes an {@code EValue} into a byte array.
181-
* Note: This method is experimental and subject to change without notice.
180+
* Serializes an {@code EValue} into a byte array. Note: This method is experimental and subject
181+
* to change without notice.
182182
*
183183
* @return The serialized byte array.
184184
*/
@@ -212,8 +212,8 @@ public byte[] toByteArray() {
212212
}
213213

214214
/**
215-
* Deserializes an {@code EValue} from a byte[].
216-
* Note: This method is experimental and subject to change without notice.
215+
* Deserializes an {@code EValue} from a byte[]. Note: This method is experimental and subject to
216+
* change without notice.
217217
*
218218
* @param bytes The byte array to deserialize from.
219219
* @return The deserialized {@code EValue}.

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

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -682,9 +682,8 @@ private static Tensor nativeNewTensor(
682682
}
683683

684684
/**
685-
* Serializes a {@code Tensor} into a byte array.
686-
* Note: This method is experimental and subject to change without notice. This does NOT
687-
* supoprt list type.
685+
* Serializes a {@code Tensor} into a byte array. Note: This method is experimental and subject to
686+
* change without notice. This does NOT supoprt list type.
688687
*
689688
* @return The serialized byte array.
690689
*/
@@ -738,9 +737,8 @@ public byte[] toByteArray() {
738737
}
739738

740739
/**
741-
* Deserializes a {@code Tensor} from a byte[].
742-
* Note: This method is experimental and subject to change without notice. This does NOT
743-
* supoprt list type.
740+
* Deserializes a {@code Tensor} from a byte[]. Note: This method is experimental and subject to
741+
* change without notice. This does NOT supoprt list type.
744742
*
745743
* @param bytes The byte array to deserialize from.
746744
* @return The deserialized {@code Tensor}.

0 commit comments

Comments
 (0)