Skip to content

Commit 6eb35c6

Browse files
committed
update
1 parent b46b4c2 commit 6eb35c6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

python/paddle/nn/quant/quant_layers.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,6 @@
2626
from paddle.nn.quant.lsq import FakeQuantActLSQPlus, FakeQuantWeightLSQPlus
2727
from paddle.utils import unique_name
2828

29-
from ...tensor import linalg
30-
3129
__all__ = [
3230
'FakeQuantAbsMax',
3331
'FakeQuantMovingAverageAbsMax',
@@ -1059,7 +1057,9 @@ def forward(self, x, y, transpose_x=False, transpose_y=False, name=None):
10591057
y = self._act_preprocess_y(y)
10601058
quant_y = self._fake_quant_y(y)
10611059

1062-
out = linalg.matmul(quant_x, quant_y, transpose_x, transpose_y, name)
1060+
out = paddle.tensor.linalg.matmul(
1061+
quant_x, quant_y, transpose_x, transpose_y, name
1062+
)
10631063
return out
10641064

10651065

0 commit comments

Comments
 (0)