A helper class for loss methods to return labels, target, and sampleWeights
Public Constructors
|
LossTuple( Operand<T> labels, Operand<T> target)
Creates a LossTuple of Operands for labels, target, and sampleWeights
|
|
|
Inherited Methods
From class
java.lang.Object
boolean
|
equals(Object arg0)
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
final
void
|
wait()
|
Public Constructors
public
LossTuple
(Operand<T> labels, Operand<T> target)
Creates a LossTuple of Operands for labels, target, and sampleWeights
Parameters
labels |
the labels |
target |
the losses or target
|
public
LossTuple
(Operand<T> labels, Operand<T> target, Operand<T> sampleWeights)
Creates a LossTuple of Operands for labels, target, and sampleWeights
Parameters
labels |
the labels |
target |
the losses or target |
sampleWeights |
the sample weights
|
Public Methods
public
Operand<T>
getSampleWeights
()