initial commit
This commit is contained in:
11
utils/transforms.py
Normal file
11
utils/transforms.py
Normal file
@ -0,0 +1,11 @@
|
||||
import numpy as np
|
||||
|
||||
|
||||
class AsArray(object):
|
||||
def __init__(self, width, height):
|
||||
self.width = width
|
||||
self.height = height
|
||||
|
||||
def __call__(self, x):
|
||||
array = np.zeros((self.width, self.height))
|
||||
return array
|
Reference in New Issue
Block a user