OperatorPredictor#
- class pinnx.callbacks.OperatorPredictor(x, op, period=1, filename=None, precision=2)[source]#
Generates operator values for the input samples.
- Parameters:
x (
Dict) – The input data.op (
Callable) – The operator with inputs (x, y).period (
int) – Interval (number of epochs) between checking values.filename (
str) – Output the values to the file filename. The file is kept open to allow instances to be re-used. IfNone, output to the screen.precision (
int) – The precision of variables to display.