Belle II Software development
|
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 | |
Protected 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.
|
protected |
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.
b |
biases
Definition at line 136 of file tensorflow_dnn_model.py.
is_initialized |
collect all mlp parameters
Definition at line 139 of file tensorflow_dnn_model.py.
layers |
layer objs
Definition at line 130 of file tensorflow_dnn_model.py.
w |
weights
Definition at line 133 of file tensorflow_dnn_model.py.