Class GroupNorm
java.lang.Object
ai.beestream.jitnn.nn.Module
ai.beestream.jitnn.nn.GroupNorm
- All Implemented Interfaces:
AutoCloseable
GroupNorm over [N, C, ...] with a per-channel affine (weight 1, bias 0 at the start), PyTorch's nn.GroupNorm.
-
Constructor Summary
ConstructorsConstructorDescriptionGroupNorm(int groups, int channels, float eps, boolean affine) GroupNorm ofchannelschannels ingroupsgroups, with the given eps, with or without the per-channel affine. -
Method Summary
Methods inherited from class Module
buffer, buffers, child, close, isClosed, isTraining, loadStateDict, parameter, parameterCount, parameters, stateDict, train, zeroGrad
-
Constructor Details
-
GroupNorm
public GroupNorm(int groups, int channels, float eps, boolean affine) GroupNorm ofchannelschannels ingroupsgroups, with the given eps, with or without the per-channel affine.
-
-
Method Details
-
forward
-