模型开发接口
推理部署接口
API 相关说明
Rearranges elements in a tensor of shape (…, C * r^2, H, W) to a tensor of shape (…, C, H * r, W * r), where r is an upscale factor, where … is zero or more batch dimensions.
inp (Tensor) – input tensor.
Tensor
upscale_factor (int) – upscale factor of pixel_shuffle.
int
output tensor.
previous
megengine.functional.nn.pad
next
megengine.functional.nn.interpolate