Skip to content

Commit dd55706

Browse files
committed
style: apply black formatting to unstable_to_stable_backend.py
1 parent fd62bcc commit dd55706

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

graph_net/torch/backend/unstable_to_stable_backend.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -157,8 +157,6 @@ def _impl_unstable_to_stable_special_logit(self, gm):
157157

158158
return gm
159159

160-
161-
162160
# replace this line with modification code for task 116 (torch._C._linalg.linalg_vector_norm)
163161

164162
# replace this line with modification code for task 117 (torch._C._linalg.linalg_norm)
@@ -177,7 +175,6 @@ def _impl_unstable_to_stable_special_logit(self, gm):
177175

178176
# replace this line with modification code for task 126 (torch._C._nn.scaled_dot_product_attention)
179177

180-
181178
def _impl_unstable_to_stable_linear_to_functional_linear(self, gm):
182179
"""
183180
Convert torch._C._nn.linear to torch.nn.functional.linear
@@ -231,7 +228,7 @@ def _impl_unstable_to_stable_linear_to_functional_linear(self, gm):
231228
gm.recompile()
232229

233230
return gm
234-
231+
235232
def unstable_to_stable(self, gm):
236233
methods = (
237234
name

0 commit comments

Comments
 (0)