src/core/layer/OutputLayer.java
public void print() throws NeuralNetworkException {
        if (!multiOutput) System.out.println(getLayerName() + " [ Loss function: " + lossFunction.getName() + " ]");
        else {
            System.out.print(getLayerName() + " [ Loss functions: ");
            for (LossFunction lossFunction : lossFunctions) System.out.print(lossFunction.getName() + " ");
            System.out.println("]");
        }
    }
/**
     * Prints structure and metadata of neural network layer.
     *
     * @throws NeuralNetworkException throws exception if printing of neural network fails.
     */
Prints structure and metadata of neural network layer.

@throws NeuralNetworkException throws exception if printing of neural network fails.
Prints structure and metadata of neural network layer . @throws NeuralNetworkException throws exception if printing of neural network fails .
public void print() throws NeuralNetworkException {
        if (!multiOutput) System.out.println(getLayerName() + " [ Loss function: " + lossFunction.getName() + " ]");
        else {
            System.out.print(getLayerName() + " [ Loss functions: ");
            for (LossFunction lossFunction : lossFunctions) System.out.print(lossFunction.getName() + " ");
            System.out.println("]");
        }
    }
public void print ( ) throws NeuralNetworkException { if ( ! multiOutput ) System . out . println ( getLayerName ( ) + " [ Loss function: " + lossFunction . getName ( ) + " ]" ) ; else { System . out . print ( getLayerName ( ) + " [ Loss functions: " ) ; for ( LossFunction lossFunction : lossFunctions ) System . out . print ( lossFunction . getName ( ) + " " ) ; System . out . println ( "]" ) ; } }
Prints structure and metadata of neural network layer.
Prints structure and metadata of neural network layer .