Skip to content

Commit c725e5b

Browse files
committed
ruff check --fix
1 parent 2c4da0b commit c725e5b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

compiler_opt/rl/inlining/imitation_learning_config.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
"""Module for collect data of inlining-for-size."""
1515

1616
import gin
17-
from typing import Type
1817

1918
import numpy as np
2019
import tensorflow as tf
@@ -76,7 +75,7 @@ def get_input_signature():
7675

7776

7877
@gin.register
79-
def get_task_type() -> Type[env.InliningForSizeTask]:
78+
def get_task_type() -> type[env.InliningForSizeTask]:
8079
"""Returns the task type for the trajectory collection."""
8180
return env.InliningForSizeTask
8281

0 commit comments

Comments
 (0)