private INDArray getMask ( ) { // If no input is provided, no mask is used and null is returned if ( inputIdx < 0 ) { return null ; } final INDArray [ ] inputMaskArrays = graph . getInputMaskArrays ( ) ; return ( inputMaskArrays != null ? inputMaskArrays [ inputIdx ] : null ) ; }
Gets the current mask array from the provided input