I am using max_pooling function using chainer for maxpooling operation in CNN.
I am getting the following error. i have placed the code which i used for max_pooling operation.what i need to do to resolve this issue?
Pool_1=F.max_pooling_2d(Feature_map1_pool, ksize=3, stride=None, pad=0, cover_all=True, return_indices=False)
InvalidType: Invalid operation is performed in: MaxPooling2D
(Forward)
Expect: in_types[0].dtype.kind == f
Actual: O != f