diff options
Diffstat (limited to 'ethosu/vela/numeric_util.py')
-rw-r--r-- | ethosu/vela/numeric_util.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ethosu/vela/numeric_util.py b/ethosu/vela/numeric_util.py index 9adf5ecb..70209fba 100644 --- a/ethosu/vela/numeric_util.py +++ b/ethosu/vela/numeric_util.py @@ -86,5 +86,6 @@ def clamp_sigmoid(x): y = 1 / (1 + math.exp(-x)) return y + def full_shape(dim, shape, fill): - return ([fill] * (dim - len(shape))) + shape
\ No newline at end of file + return ([fill] * (dim - len(shape))) + shape |