Shortcuts

mmedit.models.base_archs.downsample

Module Contents

Functions

pixel_unshuffle(→ torch.Tensor)

Down-sample by pixel unshuffle.

mmedit.models.base_archs.downsample.pixel_unshuffle(x: torch.Tensor, scale: int) torch.Tensor[源代码]

Down-sample by pixel unshuffle.

参数
  • x (Tensor) – Input tensor.

  • scale (int) – Scale factor.

返回

Output tensor.

返回类型

Tensor

Read the Docs v: latest
Versions
master
latest
stable
zyh-doc-notfound-extend
Downloads
pdf
epub
On Read the Docs
Project Home
Builds

Free document hosting provided by Read the Docs.