public class NaNFixingTensorValidator extends java.lang.Object implements TensorValidator<java.lang.Double,DoubleTensor>
NAN_CATCHER, NAN_FIXER, ZERO_CATCHER| Constructor and Description |
|---|
NaNFixingTensorValidator(double replacementValue) |
| Modifier and Type | Method and Description |
|---|---|
BooleanTensor |
check(DoubleTensor tensor) |
DoubleTensor |
validate(DoubleTensor tensor) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitthatExpects, thatExpectsElementwise, thatExpectsNotToFind, thatFixesElementwise, thatReplacespublic NaNFixingTensorValidator(double replacementValue)
public BooleanTensor check(DoubleTensor tensor)
check in interface TensorValueChecker<java.lang.Double,DoubleTensor>public DoubleTensor validate(DoubleTensor tensor)
validate in interface TensorValidator<java.lang.Double,DoubleTensor>