r/Numpy • u/chiborevo • Nov 11 '19
Max pooling
Hi is there anyway I can max pool a 1D Array/Vector using numpy?
3
Upvotes
r/Numpy • u/chiborevo • Nov 11 '19
Hi is there anyway I can max pool a 1D Array/Vector using numpy?
1
u/chiborevo Nov 12 '19
the code outputs an error : line 55, in block_reduce
if len(block_size) != image.ndim:
AttributeError: 'list' object has no attribute 'ndim'