monitors¶
Module contents¶
-
class
poornn.monitors.
Print
(input_shape, itype, **kwargs)¶ Bases:
poornn.core.Monitor
Print data without changing anything.
-
get_variables
()¶ Get variables, return empty (1d but with length - 0) array.
-
num_variables
¶ number of variables, which is fixed to 0.
-
set_runtime_vars
(var_dict={})¶ Set runtime variables for layers.
Parameters: var_dict (dict) – the runtime variables dict.
-
set_variables
(*args, **kwargs)¶ passed.
-
-
class
poornn.monitors.
PlotStat
(input_shape, itype, ax, mask=[True, False], **kwargs)¶ Bases:
poornn.core.Monitor
Print data without changing anything.
Parameters: - ax (<matplotib.axes>) –
- mask (list<bool>, len=2, default=[True,False]) – masks for forward check and backward check.
-
ax
¶ <matplotib.axes>
-
mask
¶ list<bool>, len=2 – masks for forward check and backward check.
-
get_variables
()¶ Get variables, return empty (1d but with length - 0) array.
-
num_variables
¶ number of variables, which is fixed to 0.
-
set_runtime_vars
(var_dict={})¶ Set runtime variables for layers.
Parameters: var_dict (dict) – the runtime variables dict.
-
set_variables
(*args, **kwargs)¶ passed.
-
class
poornn.monitors.
Cache
(input_shape, itype, **kwargs)¶ Bases:
poornn.core.Monitor
Cache data without changing anything.
-
forward_list
¶ list – cached forward data.
-
backward_list
¶ list – cached backward data.
-
clear
()¶ clear history.
-
get_variables
()¶ Get variables, return empty (1d but with length - 0) array.
-
num_variables
¶ number of variables, which is fixed to 0.
-
set_runtime_vars
(var_dict={})¶ Set runtime variables for layers.
Parameters: var_dict (dict) – the runtime variables dict.
-
set_variables
(*args, **kwargs)¶ passed.
-