Class QuaternaryOperator
- java.lang.Object
-
- org.apache.sysds.runtime.matrix.operators.Operator
-
- org.apache.sysds.runtime.matrix.operators.QuaternaryOperator
-
- All Implemented Interfaces:
Serializable
public class QuaternaryOperator extends Operator
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description ValueFunction
fn
WeightedSquaredLoss.WeightsType
wtype1
WeightedSigmoid.WSigmoidType
wtype2
WeightedDivMM.WDivMMType
wtype3
WeightedCrossEntropy.WCeMMType
wtype4
WeightedUnaryMM.WUMMType
wtype5
-
Fields inherited from class org.apache.sysds.runtime.matrix.operators.Operator
sparseSafe
-
-
Constructor Summary
Constructors Constructor Description QuaternaryOperator(WeightedCrossEntropy.WCeMMType wt)
wcemmQuaternaryOperator(WeightedCrossEntropy.WCeMMType wt, double epsilon)
wcemm w/epsilonQuaternaryOperator(WeightedDivMM.WDivMMType wt)
wdivmmQuaternaryOperator(WeightedDivMM.WDivMMType wt, double epsilon)
wdivmm w/epsilonQuaternaryOperator(WeightedSigmoid.WSigmoidType wt)
wsigmoidQuaternaryOperator(WeightedSquaredLoss.WeightsType wt)
wslossQuaternaryOperator(WeightedUnaryMM.WUMMType wt, String op)
wumm
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double
getScalar()
Obtain epsilon valueboolean
hasFourInputs()
-
-
-
Field Detail
-
wtype1
public final WeightedSquaredLoss.WeightsType wtype1
-
wtype2
public final WeightedSigmoid.WSigmoidType wtype2
-
wtype3
public final WeightedDivMM.WDivMMType wtype3
-
wtype4
public final WeightedCrossEntropy.WCeMMType wtype4
-
wtype5
public final WeightedUnaryMM.WUMMType wtype5
-
fn
public final ValueFunction fn
-
-
Constructor Detail
-
QuaternaryOperator
public QuaternaryOperator(WeightedSquaredLoss.WeightsType wt)
wsloss- Parameters:
wt
- Weights type
-
QuaternaryOperator
public QuaternaryOperator(WeightedSigmoid.WSigmoidType wt)
wsigmoid- Parameters:
wt
- WSigmoid type
-
QuaternaryOperator
public QuaternaryOperator(WeightedDivMM.WDivMMType wt)
wdivmm- Parameters:
wt
- WDivMM type
-
QuaternaryOperator
public QuaternaryOperator(WeightedDivMM.WDivMMType wt, double epsilon)
wdivmm w/epsilon- Parameters:
wt
- WDivMM typeepsilon
- the epsilon value
-
QuaternaryOperator
public QuaternaryOperator(WeightedCrossEntropy.WCeMMType wt)
wcemm- Parameters:
wt
- WCeMM type
-
QuaternaryOperator
public QuaternaryOperator(WeightedCrossEntropy.WCeMMType wt, double epsilon)
wcemm w/epsilon- Parameters:
wt
- WCeMM typeepsilon
- the epsilon value
-
QuaternaryOperator
public QuaternaryOperator(WeightedUnaryMM.WUMMType wt, String op)
wumm- Parameters:
wt
- WUMM typeop
- operator type
-
-