Skip to content

Commit bc423a5

Browse files
committed
task attribute already set
1 parent 8a936d2 commit bc423a5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

optimum/exporters/tflite/base.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -169,10 +169,10 @@ def __init__(
169169
point_batch_size: Optional[int] = None,
170170
nb_points_per_image: Optional[int] = None,
171171
):
172-
super().__init__(config=config, task=task, int_dtype="int64", float_dtype="fp32")
173172
self.mandatory_axes = ()
174173
self._axes: Dict[str, int] = {}
175-
self.task = task
174+
175+
super().__init__(config=config, task=task, int_dtype="int64", float_dtype="fp32")
176176

177177
# To avoid using **kwargs.
178178
axes_values = {

0 commit comments

Comments
 (0)