Skip to content

Commit cf4b36c

Browse files
committed
yapf . -ir
1 parent addecb5 commit cf4b36c

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

compiler_opt/rl/inlining/imitation_learning_config.py

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -65,11 +65,9 @@ def get_input_signature():
6565
time_step_spec, action_spec = config.get_inlining_signature_spec()
6666
observation_spec = time_step_spec.observation
6767
observation_spec.update({
68-
key: tf.TensorSpec(dtype=tf.int64, shape=(), name=key) for key in (
69-
'is_callee_avail_external',
70-
'is_caller_avail_external',
71-
'inlining_default'
72-
)
68+
key: tf.TensorSpec(dtype=tf.int64, shape=(), name=key)
69+
for key in ('is_callee_avail_external', 'is_caller_avail_external',
70+
'inlining_default')
7371
})
7472

7573
time_step_spec = time_step.time_step_spec(observation_spec,

0 commit comments

Comments
 (0)