|
def | __init__ (self, name, tf_activation_str, dim_input, dim_output, p_bias, p_w, operation_seed=None) |
|
def | initialize (self, layer_input) |
|
definition of a layer obj
Definition at line 25 of file tensorflow_dnn_model.py.
◆ __init__()
def __init__ |
( |
|
self, |
|
|
|
name, |
|
|
|
tf_activation_str, |
|
|
|
dim_input, |
|
|
|
dim_output, |
|
|
|
p_bias, |
|
|
|
p_w, |
|
|
|
operation_seed = None |
|
) |
| |
:param name:
:param tf_activation: string, name of an available tensorflow activations function
:param dim_input:
:param dim_output:
:param p_bias: initial constant
:param p_w: stddev of uniform distribution to initialize
:return:
Definition at line 30 of file tensorflow_dnn_model.py.
◆ _add_all_to_summary()
def _add_all_to_summary |
( |
|
self | ) |
|
|
private |
◆ _add_var_to_summary()
def _add_var_to_summary |
( |
|
self, |
|
|
|
var |
|
) |
| |
|
private |
add variables of this layer to tensorboard
:param var: tensorflow variable
:return:
Definition at line 115 of file tensorflow_dnn_model.py.
◆ _init_bias()
def _init_bias |
( |
|
self, |
|
|
|
width, |
|
|
|
init_val, |
|
|
|
name = None |
|
) |
| |
|
private |
◆ _init_weight()
def _init_weight |
( |
|
self, |
|
|
|
shape, |
|
|
|
stddev, |
|
|
|
operation_seed, |
|
|
|
name = None |
|
) |
| |
|
private |
◆ initialize()
def initialize |
( |
|
self, |
|
|
|
layer_input |
|
) |
| |
The documentation for this class was generated from the following file: