torch.native_channel_shuffle
- torch.native_channel_shuffle(input, groups) → Tensor
Native kernel level implementation of the channel_shuffle. This function might become private in future releases, use with caution.
Divide the channels in a tensor of shape into g groups and rearrange them as , while keeping the original tensor shape.