fix(api): correct stub method name
This commit is contained in:
parent
3fd52fcc6d
commit
f493246192
|
@ -39,7 +39,7 @@ class ONNXImage():
|
||||||
def cpu(self):
|
def cpu(self):
|
||||||
return self
|
return self
|
||||||
|
|
||||||
def clamp(self, min, max):
|
def clamp_(self, min, max):
|
||||||
self.source = np.clip(self.source, min, max)
|
self.source = np.clip(self.source, min, max)
|
||||||
|
|
||||||
def numpy(self):
|
def numpy(self):
|
||||||
|
|
Loading…
Reference in New Issue