concepts.benchmark.gridworld.minigrid.gym_minigrid.rendering.downsample#

downsample(img, factor)[source]#

Downsample an image along both dimensions by some factor.

Parameters:
Return type:

ndarray