![]() |
Belle II Software
release-08-02-04
|


Public Member Functions | |
| def | __init__ (self, layers, name='mlp') |
| def | from_list (cls, layers) |
| def | initialize (self) |
| def | __call__ (self, x) |
| def | variables_to_writer (self, step, writer) |
Public Attributes | |
| layers | |
| layer objs | |
| w | |
| weights | |
| b | |
| biases | |
| is_initialized | |
| collect all mlp parameters | |
Private Member Functions | |
| def | _collect_weights_and_biases (self) |
multilayer perceptron class.
Definition at line 118 of file tensorflow_dnn_model.py.
| def __init__ | ( | self, | |
| layers, | |||
name = 'mlp' |
|||
| ) |
initialization
Definition at line 123 of file tensorflow_dnn_model.py.
| def __call__ | ( | self, | |
| x | |||
| ) |
Run the events through all the layers
Definition at line 181 of file tensorflow_dnn_model.py.
|
private |
collect tunable parameters
Definition at line 154 of file tensorflow_dnn_model.py.
| def from_list | ( | cls, | |
| layers | |||
| ) |
define layers from list
Definition at line 143 of file tensorflow_dnn_model.py.
| def initialize | ( | self | ) |
initialize. Checks that the layer dimensions align.
Definition at line 164 of file tensorflow_dnn_model.py.
| def variables_to_writer | ( | self, | |
| step, | |||
| writer | |||
| ) |
passes all the MLP variables to the tf.summary writer
Definition at line 189 of file tensorflow_dnn_model.py.