Skip to content

Commit

Permalink
dart format .
Browse files Browse the repository at this point in the history
  • Loading branch information
CaptainDario committed Sep 25, 2023
1 parent fc402bd commit 4c8b65a
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 17 deletions.
2 changes: 1 addition & 1 deletion example/object_detection_ssd_mobilenet/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ class _MyHomeState extends State<MyHome> {
child: Row(
mainAxisAlignment: MainAxisAlignment.spaceEvenly,
children: [
if(Platform.isAndroid || Platform.isIOS)
if (Platform.isAndroid || Platform.isIOS)
IconButton(
onPressed: () async {
final result = await imagePicker.pickImage(
Expand Down
32 changes: 16 additions & 16 deletions lib/src/bindings/tensorflow_lite_bindings_generated.dart
Original file line number Diff line number Diff line change
Expand Up @@ -550,9 +550,9 @@ class TensorFlowLiteBindings {
}

late final _TfLiteInterpreterDeletePtr = _lookup<
ffi
.NativeFunction<ffi.Void Function(ffi.Pointer<TfLiteInterpreter>)>>(
'TfLiteInterpreterDelete');
ffi.NativeFunction<
ffi.Void Function(
ffi.Pointer<TfLiteInterpreter>)>>('TfLiteInterpreterDelete');
late final _TfLiteInterpreterDelete = _TfLiteInterpreterDeletePtr.asFunction<
void Function(ffi.Pointer<TfLiteInterpreter>)>();

Expand All @@ -566,8 +566,8 @@ class TensorFlowLiteBindings {
}

late final _TfLiteInterpreterGetInputTensorCountPtr = _lookup<
ffi
.NativeFunction<ffi.Int32 Function(ffi.Pointer<TfLiteInterpreter>)>>(
ffi.NativeFunction<
ffi.Int32 Function(ffi.Pointer<TfLiteInterpreter>)>>(
'TfLiteInterpreterGetInputTensorCount');
late final _TfLiteInterpreterGetInputTensorCount =
_TfLiteInterpreterGetInputTensorCountPtr.asFunction<
Expand Down Expand Up @@ -643,8 +643,8 @@ class TensorFlowLiteBindings {
}

late final _TfLiteInterpreterAllocateTensorsPtr = _lookup<
ffi
.NativeFunction<ffi.Int32 Function(ffi.Pointer<TfLiteInterpreter>)>>(
ffi.NativeFunction<
ffi.Int32 Function(ffi.Pointer<TfLiteInterpreter>)>>(
'TfLiteInterpreterAllocateTensors');
late final _TfLiteInterpreterAllocateTensors =
_TfLiteInterpreterAllocateTensorsPtr.asFunction<
Expand Down Expand Up @@ -688,9 +688,9 @@ class TensorFlowLiteBindings {
}

late final _TfLiteInterpreterInvokePtr = _lookup<
ffi
.NativeFunction<ffi.Int32 Function(ffi.Pointer<TfLiteInterpreter>)>>(
'TfLiteInterpreterInvoke');
ffi.NativeFunction<
ffi.Int32 Function(
ffi.Pointer<TfLiteInterpreter>)>>('TfLiteInterpreterInvoke');
late final _TfLiteInterpreterInvoke = _TfLiteInterpreterInvokePtr.asFunction<
int Function(ffi.Pointer<TfLiteInterpreter>)>();

Expand All @@ -704,8 +704,8 @@ class TensorFlowLiteBindings {
}

late final _TfLiteInterpreterGetOutputTensorCountPtr = _lookup<
ffi
.NativeFunction<ffi.Int32 Function(ffi.Pointer<TfLiteInterpreter>)>>(
ffi.NativeFunction<
ffi.Int32 Function(ffi.Pointer<TfLiteInterpreter>)>>(
'TfLiteInterpreterGetOutputTensorCount');
late final _TfLiteInterpreterGetOutputTensorCount =
_TfLiteInterpreterGetOutputTensorCountPtr.asFunction<
Expand Down Expand Up @@ -917,8 +917,8 @@ class TensorFlowLiteBindings {
}

late final _TfLiteInterpreterResetVariableTensorsPtr = _lookup<
ffi
.NativeFunction<ffi.Int32 Function(ffi.Pointer<TfLiteInterpreter>)>>(
ffi.NativeFunction<
ffi.Int32 Function(ffi.Pointer<TfLiteInterpreter>)>>(
'TfLiteInterpreterResetVariableTensors');
late final _TfLiteInterpreterResetVariableTensors =
_TfLiteInterpreterResetVariableTensorsPtr.asFunction<
Expand Down Expand Up @@ -1376,8 +1376,8 @@ class TensorFlowLiteBindings {
}

late final _TfLiteInterpreterGetSignatureCountPtr = _lookup<
ffi
.NativeFunction<ffi.Int32 Function(ffi.Pointer<TfLiteInterpreter>)>>(
ffi.NativeFunction<
ffi.Int32 Function(ffi.Pointer<TfLiteInterpreter>)>>(
'TfLiteInterpreterGetSignatureCount');
late final _TfLiteInterpreterGetSignatureCount =
_TfLiteInterpreterGetSignatureCountPtr.asFunction<
Expand Down

0 comments on commit 4c8b65a

Please sign in to comment.