src/utils/matrix/MMatrix.java
public MMatrix gumbelSoftmax(double gumbelSoftmaxTau) throws MatrixException {
        MMatrix result = new MMatrix();
        gumbelSoftmax(result, gumbelSoftmaxTau);
        return result;
    }
/**
     * Calculates Gumbel softmax.
     *
     * @param gumbelSoftmaxTau tau value for Gumbel Softmax.
     * @return matrix which stores operation result.
     * @throws MatrixException not thrown in any situation.
     */
Calculates Gumbel softmax.
@param gumbelSoftmaxTau tau value for Gumbel Softmax.
@return matrix which stores operation result.
@throws MatrixException not thrown in any situation.
Calculates Gumbel softmax . @param gumbelSoftmaxTau tau value for Gumbel Softmax . @return matrix which stores operation result . @throws MatrixException not thrown in any situation .
public MMatrix gumbelSoftmax(double gumbelSoftmaxTau) throws MatrixException {
        MMatrix result = new MMatrix();
        gumbelSoftmax(result, gumbelSoftmaxTau);
        return result;
    }
public MMatrix gumbelSoftmax ( double gumbelSoftmaxTau ) throws MatrixException { MMatrix result = new MMatrix ( ) ; gumbelSoftmax ( result , gumbelSoftmaxTau ) ; return result ; }
Calculates Gumbel softmax.
Calculates Gumbel softmax .