Class DropConnect

    • Constructor Detail

      • DropConnect

        public DropConnect​(double weightRetainProbability)
        Parameters:
        weightRetainProbability - Probability of retaining a weight
      • DropConnect

        public DropConnect​(double weightRetainProbability,
                           boolean applyToBiases)
        Parameters:
        weightRetainProbability - Probability of retaining a weight
        applyToBiases - If true: apply to biases (default: weights only)
      • DropConnect

        public DropConnect​(ISchedule weightRetainProbSchedule)
        Parameters:
        weightRetainProbSchedule - Probability (schedule) of retaining a weight
      • DropConnect

        public DropConnect​(ISchedule weightRetainProbSchedule,
                           boolean applyToBiases)
        Parameters:
        weightRetainProbSchedule - Probability (schedule) of retaining a weight
        applyToBiases - If true: apply to biases (default: weights only)
    • Method Detail

      • getParameter

        public INDArray getParameter​(Layer layer,
                                     String paramKey,
                                     int iteration,
                                     int epoch,
                                     boolean train,
                                     LayerWorkspaceMgr workspaceMgr)
        Description copied from interface: IWeightNoise
        Get the parameter, after applying weight noise
        Specified by:
        getParameter in interface IWeightNoise
        Parameters:
        layer - Layer to get the parameter for
        paramKey - Parameter key
        iteration - Iteration number
        epoch - Epoch number
        train - If true: training. False: at test time
        Returns:
        Parameter, after applying weight noise