Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions docs/modules/files.rst
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,6 @@ Load benchmark dataset, save and restore model, save and load variables.
save_ckpt
load_ckpt

..
save_graph
load_graph
save_graph_and_params
load_graph_and_params

save_any_to_npy
load_npy_to_any

Expand All @@ -55,6 +49,12 @@ Load benchmark dataset, save and restore model, save and load variables.

natural_keys

..
save_graph
load_graph
save_graph_and_params
load_graph_and_params

npz_to_W_pdf


Expand Down
4 changes: 2 additions & 2 deletions tensorlayer/layers/normalization.py
Original file line number Diff line number Diff line change
Expand Up @@ -308,10 +308,10 @@ def __init__(
self.outputs = scale * tf.div(self.inputs - mean, tf.sqrt(var + epsilon)) + offset
self.outputs = self._apply_activation(self.outputs)

variables = tf.get_collection(TF_GRAPHKEYS_VARIABLES, scope=vs.name)
# variables = tf.get_collection(TF_GRAPHKEYS_VARIABLES, scope=vs.name)

self._add_layers(self.outputs)
self._add_params(variables)
self._add_params([scale, offset])


class LayerNormLayer(Layer):
Expand Down