![]() |
Belle II Software development
|
Public Member Functions | |
__init__ (self, layers, name='mlp') | |
from_list (cls, layers) | |
initialize (self) | |
__call__ (self, x) | |
variables_to_writer (self, step, writer) | |
Public Attributes | |
layers = layers | |
layer objs | |
list | w = None |
weights | |
list | b = None |
biases | |
bool | is_initialized = False |
collect all mlp parameters | |
Protected Member Functions | |
_collect_weights_and_biases (self) | |
multilayer perceptron class.
Definition at line 118 of file tensorflow_dnn_model.py.
__init__ | ( | self, | |
layers, | |||
name = 'mlp' ) |
initialization
Definition at line 123 of file tensorflow_dnn_model.py.
__call__ | ( | self, | |
x ) |
Run the events through all the layers
Definition at line 181 of file tensorflow_dnn_model.py.
|
protected |
collect tunable parameters
Definition at line 154 of file tensorflow_dnn_model.py.
from_list | ( | cls, | |
layers ) |
define layers from list
Definition at line 143 of file tensorflow_dnn_model.py.
initialize | ( | self | ) |
initialize. Checks that the layer dimensions align.
Definition at line 164 of file tensorflow_dnn_model.py.
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.
list b = None |
biases
Definition at line 136 of file tensorflow_dnn_model.py.
bool is_initialized = False |
collect all mlp parameters
Definition at line 139 of file tensorflow_dnn_model.py.
layers = layers |
layer objs
Definition at line 130 of file tensorflow_dnn_model.py.
list w = None |
weights
Definition at line 133 of file tensorflow_dnn_model.py.