src/core/layer/AbstractLayer.java
public void start() throws NeuralNetworkException, MatrixException, DynamicParamException {
        if (layerThread != null) return;
        executeLock = new ReentrantLock();
        executeLockCondition = executeLock.newCondition();
        executeLockCompleteCondition = executeLock.newCondition();
        executionState = ExecutionState.IDLE;

        layerThread = new Thread(this);
        layerThread.setName(getLayerName());
        layerThread.start();

        if (hasNextLayer()) getNextLayer().start();

        defineProcedure();
    }
/**
     * Starts neural network layer and it's execution thread.
     *
     * @throws NeuralNetworkException throws exception if neural network layer name cannot be returned.
     * @throws MatrixException throws exception if depth of matrix is less than 1.
     * @throws DynamicParamException throws exception if parameter (params) setting fails.
     */
Starts neural network layer and it's execution thread.
@throws NeuralNetworkException throws exception if neural network layer name cannot be returned.
@throws MatrixException throws exception if depth of matrix is less than 1.
@throws DynamicParamException throws exception if parameter (params) setting fails.
Starts neural network layer and it ' s execution thread . @throws NeuralNetworkException throws exception if neural network layer name cannot be returned . @throws MatrixException throws exception if depth of matrix is less than 1 . @throws DynamicParamException throws exception if parameter ( params ) setting fails .
public void start() throws NeuralNetworkException, MatrixException, DynamicParamException {
        if (layerThread != null) return;
        executeLock = new ReentrantLock();
        executeLockCondition = executeLock.newCondition();
        executeLockCompleteCondition = executeLock.newCondition();
        executionState = ExecutionState.IDLE;
        layerThread = new Thread(this);
        layerThread.setName(getLayerName());
        layerThread.start();
        if (hasNextLayer()) getNextLayer().start();
        defineProcedure();
    }
public void start ( ) throws NeuralNetworkException , MatrixException , DynamicParamException { if ( layerThread != null ) return ; executeLock = new ReentrantLock ( ) ; executeLockCondition = executeLock . newCondition ( ) ; executeLockCompleteCondition = executeLock . newCondition ( ) ; executionState = ExecutionState . IDLE ; layerThread = new Thread ( this ) ; layerThread . setName ( getLayerName ( ) ) ; layerThread . start ( ) ; if ( hasNextLayer ( ) ) getNextLayer ( ) . start ( ) ; defineProcedure ( ) ; }
Starts neural network layer and it's execution thread.
Starts neural network layer and it ' s execution thread .