Mean

public class Mean
Known Direct Subclasses
Known Indirect Subclasses

A metric that that implements a weighted mean WEIGHTED_MEAN

Inherited Constants

org.tensorflow.framework.metrics.impl.Reduce
String COUNT
String TOTAL

Inherited Methods

org.tensorflow.framework.metrics.impl.Reduce
Variable<T>
getCount()
Gets the count variable
Class<T>
getResultType()
Gets the type for the variables
Variable<T>
getTotal()
Gets the total variable
Op
resetStates()
Resets any state variables to their initial values
Operand<T>
result()
Gets the current result of the metric
List<Op>
updateStateList(Operand<? extends TNumber> values, Operand<? extends TNumber> sampleWeights)
Updates the metric variables based on the inputs.
org.tensorflow.framework.metrics.Metric
final Operand<T>
callOnce(Operand<? extends TNumber> values, Operand<? extends TNumber> sampleWeights)
Calls update state once, followed by a call to get the result
String
getName()
Gets the name of this metric.
long
getSeed()
Gets the random number generator seed value
Ops
getTF()
Gets the TensorFlow Ops
abstract Op
resetStates()
Resets any state variables to their initial values
abstract Operand<T>
result()
Gets the current result of the metric
final Op
updateState(Operand<? extends TNumber> labels, Operand<? extends TNumber> predictions, Operand<? extends TNumber> sampleWeights)
Creates a NoOp Operation with control dependencies to update the metric state
final Op
updateState(Operand<? extends TNumber> values, Operand<? extends TNumber> sampleWeights)
Creates a NoOp Operation with control dependencies to update the metric state
List<Op>
updateStateList(Operand<? extends TNumber> labels, Operand<? extends TNumber> predictions, Operand<? extends TNumber> sampleWeights)
Creates a List of Operations to update the metric state based on labels and predictions.
List<Op>
updateStateList(Operand<? extends TNumber> values, Operand<? extends TNumber> sampleWeights)
Creates a List of Operations to update the metric state based on input values.
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()