Utils
Utilities & Convenience functions…
Convolutions
conv
conv (lhs, rhs, window_strides=(1, 1), padding='SAME', **kwargs)
conv
conv (lhs, rhs, window_strides=(1, 1), padding='SAME', **kwargs)
conv
conv (lhs, rhs, window_strides=(1, 1), padding='SAME', **kwargs)
dilute
dilute (touches, brush)
Random
I just can’t be bothered doing this the JAX way…
randn
randn (shape, r=None, dtype=<class 'float'>)
rand
rand (shape, r=None, dtype=<class 'float'>)
Argmax / Argmin
argmax2d
argmax2d (arr2d)
argmin2d
argmin2d (arr2d)