Class LossLayer

    • Method Detail

      • isPretrainParam

        public boolean isPretrainParam​(String paramName)
        Description copied from class: Layer
        Is the specified parameter a layerwise pretraining only parameter?
        For example, visible bias params in an autoencoder (or, decoder params in a variational autoencoder) aren't used during supervised backprop.
        Layers (like DenseLayer, etc) with no pretrainable parameters will return false for all (valid) inputs.
        Specified by:
        isPretrainParam in interface TrainingConfig
        Overrides:
        isPretrainParam in class FeedForwardLayer
        Parameters:
        paramName - Parameter name/key
        Returns:
        True if the parameter is for layerwise pretraining only, false otherwise
      • getMemoryReport

        public LayerMemoryReport getMemoryReport​(InputType inputType)
        Description copied from class: Layer
        This is a report of the estimated memory consumption for the given layer
        Specified by:
        getMemoryReport in class Layer
        Parameters:
        inputType - Input type to the layer. Memory consumption is often a function of the input type
        Returns:
        Memory report for the layer