File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -4524,10 +4524,11 @@ def __init__(
45244524 with tf .variable_scope (name ) as vs :
45254525 alphas = tf .get_variable (name = 'alphas' , shape = w_shape , initializer = a_init , ** a_init_args )
45264526 try : ## TF 1.0
4527- self .outputs = tf .nn .relu (self .inputs ) + tf .mulitply (alphas , (self .inputs - tf .abs (self .inputs ))) * 0.5
4527+ self .outputs = tf .nn .relu (self .inputs ) + tf .multiply (alphas , (self .inputs - tf .abs (self .inputs ))) * 0.5
45284528 except : ## TF 0.12
45294529 self .outputs = tf .nn .relu (self .inputs ) + tf .mul (alphas , (self .inputs - tf .abs (self .inputs ))) * 0.5
45304530
4531+
45314532 self .all_layers = list (layer .all_layers )
45324533 self .all_params = list (layer .all_params )
45334534 self .all_drop = dict (layer .all_drop )
You can’t perform that action at this time.
0 commit comments