S
- the type of the scalar to checkpublic interface VerificationCallback<S>
Modifier and Type | Method and Description |
---|---|
void |
verify(S scalar)
This method might be overridden by a subclass, to verify the consistency of a scalar.
|
void verify(S scalar)
scalar
- the scalar to verifyjava.lang.IllegalArgumentException
- if the scalar is not allowed to be put into the tensor under construction.