nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SameDiff.java
public SDVariable lstm(String baseName, LSTMCellConfiguration configuration) {
        return new LSTMCell(this, configuration).outputVariables(baseName)[0];
    }
public SDVariable lstm(String baseName, LSTMCellConfiguration configuration) {
        return new LSTMCell(this, configuration).outputVariables(baseName)[0];
    }
public SDVariable lstm ( String baseName , LSTMCellConfiguration configuration ) { return new LSTMCell ( this , configuration ) . outputVariables ( baseName ) [ 0 ] ; }
LSTM unit

@param baseName      the base name for outputs
@param configuration the configuration to use
@return
LSTM unit