Class GroupNorm

java.lang.Object
ai.beestream.jitnn.nn.Module
ai.beestream.jitnn.nn.GroupNorm
All Implemented Interfaces:
AutoCloseable

public final class GroupNorm extends Module
GroupNorm over [N, C, ...] with a per-channel affine (weight 1, bias 0 at the start), PyTorch's nn.GroupNorm.
  • Constructor Details

    • GroupNorm

      public GroupNorm(int groups, int channels, float eps, boolean affine)
      GroupNorm of channels channels in groups groups, with the given eps, with or without the per-channel affine.
  • Method Details