Skip to content

Commit

Permalink
format files
Browse files Browse the repository at this point in the history
  • Loading branch information
ptgms committed Jul 31, 2024
1 parent abac02b commit 898c8b5
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lib/src/tensor.dart
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,9 @@ class Tensor {
/// Underlying data buffer as bytes.
Uint8List get data {
final data = cast<Uint8>(tfliteBinding.TfLiteTensorData(_tensor));
return data.asTypedList(tfliteBinding.TfLiteTensorByteSize(_tensor))
.asUnmodifiableView();
return data
.asTypedList(tfliteBinding.TfLiteTensorByteSize(_tensor))
.asUnmodifiableView();
}

/// Quantization Params associated with the model, [only Android]
Expand Down

0 comments on commit 898c8b5

Please sign in to comment.