Skip to content

Commit f899467

Browse files
author
Wei
committed
remove one line to align with internal (#8)
1 parent da183c3 commit f899467

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

fx/converters/acc_ops_converters.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1615,7 +1615,6 @@ def acc_ops_linear(
16151615
"Currently we only support one dynmaic "
16161616
"dim for linear and it can't be the last dim."
16171617
)
1618-
weight = get_trt_tensor(network, kwargs["weight"].t(), f"{name}_weight")
16191618

16201619
if isinstance(kwargs["weight"], torch.Tensor):
16211620
weight = get_trt_tensor(network, kwargs["weight"].t(), f"{name}_weight")

0 commit comments

Comments
 (0)