Options
All
  • Public
  • Public/Protected
  • All
Menu

Class VarianceScalingInitializer

Hierarchy

  • VarianceScalingInitializer

Implements

Index

Constructors

Methods

Constructors

constructor

  • new VarianceScalingInitializer(scale?: number, mode?: "fan_in" | "fan_out" | "fan_avg", distribution?: "uniform" | "normal"): VarianceScalingInitializer
  • Parameters

    • Default value scale: number = 1
    • Default value mode: "fan_in" | "fan_out" | "fan_avg" = "fan_in"
    • Default value distribution: "uniform" | "normal" = "normal"

    Returns VarianceScalingInitializer

Methods

initialize

  • initialize(weightsShape: number[], inputUnits: number, outputUnits: number): NDArray

Generated using TypeDoc