Skip to content

Commit

Permalink
Replace op.Constant with make_constant in fx_decoder
Browse files Browse the repository at this point in the history
  • Loading branch information
cavusmustafa committed Oct 11, 2023
1 parent 8fbe26c commit 3736fca
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ def as_constant(self):
if self.pt_module.op == 'get_attr':
# Extract Constant from FX module field
ret = fetch_attr(self.fx_gm, self.pt_module.target)
ov_const = op.Constant(ret.numpy())
ov_const = make_constant(ret.numpy())
return ov_const.outputs()


Expand Down

0 comments on commit 3736fca

Please sign in to comment.