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[source]

Down-sample by pixel unshuffle.

Parameters
  • x (Tensor) – Input tensor.

  • scale (int) – Scale factor.

Returns

Output tensor.

Return type

Tensor

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

Free document hosting provided by Read the Docs.