Contents

channelNorm(epsilon:)

Adds a channel normalization operation to the current graph.

Declaration

func channelNorm(epsilon: Float = .ulpOfOne.squareRoot()) -> BNNSGraph.Builder.Tensor<T>

Parameters

  • epsilon:

    The epsilon value that the function uses to avoid division by zero.

Discussion

This function performs channel normalization of self.self must be at least three-dimensional.