Math: make parameter name consistent
@@ -285,8 +285,8 @@ class DynamicBackend(Backend):
def equal(self, x, y):
return self.choose_backend([x, y]).equal(x, y)
- def random_uniform(self, tensor):
- return self.choose_backend(tensor).random_uniform(tensor)
+ def random_uniform(self, shape):
+ return self.choose_backend(shape).random_uniform(shape)
def stack(self, values, axis=0):
return self.choose_backend(values).stack(values, axis)
