Skip to content

Commit ec07a4c

Browse files
committed
fix fro pre-commit
1 parent 0f6816a commit ec07a4c

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

x2paddle/op_mapper/dygraph/pytorch2paddle/aten.py

+1
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131
}
3232

3333

34+
3435
def aten_abs(mapper, graph, node):
3536
""" 构造获取绝对值的PaddleLayer。
3637

x2paddle/op_mapper/dygraph/pytorch2paddle/pytorch_custom_layer/instance_norm.py

+1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
from paddle.nn.functional import instance_norm
1717
from paddle.fluid.initializer import Constant
1818

19+
1920
class InstanceNorm(paddle.nn.Layer):
2021
"""
2122
This class is based class for InstanceNorm1D, 2d, 3d.

0 commit comments

Comments
 (0)