Skip to content

Commit e263aa3

Browse files
authored
fix "Call to method DeepTensor.__init__ with too many arguments" (#1125)
As detected by LGTM, here is an error: Call to method DeepTensor.__init__ with too many arguments; should be no more than 4. I agree with the automatic code analysis tool.
1 parent 1526587 commit e263aa3

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

deepmd/infer/deep_polar.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,6 @@ def __init__(
8484
DeepTensor.__init__(
8585
self,
8686
model_file,
87-
9,
8887
load_prefix=load_prefix,
8988
default_tf_graph=default_tf_graph,
9089
)

0 commit comments

Comments
 (0)