Skip to content

Commit

Permalink
fix(api): correct stub method name
Browse files Browse the repository at this point in the history
  • Loading branch information
ssube committed Jan 16, 2023
1 parent 3fd52fc commit f493246
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/onnx_web/upscale.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def float(self):
def cpu(self):
return self

def clamp(self, min, max):
def clamp_(self, min, max):
self.source = np.clip(self.source, min, max)

def numpy(self):
Expand Down

0 comments on commit f493246

Please sign in to comment.