def check_invalid_dtype(self): functions.spatial_pyramid_pooling_2d( self.v, 3, functions.MaxPooling2D)