TensorPlay
latest (dev)
Copy
View Markdown

Latest development documentation · Updated 2026-10-15

tensorplay.nn.functional.channel_shuffle

tensorplay.nn.functional.channel_shuffle(input: Tensor, groups: int) → Tensor[source]

Divide the channels in a tensor into g groups and rearrange them as in ShuffleNet: (*, C, H, W) -> (*, C, H, W) with channels interleaved across groups.

On this page

Ask DeepWiki