Skip to content

Commit 9b2db9e

Browse files
committed
RnnCellLayer, no params necessary
#945
1 parent a10e882 commit 9b2db9e

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

returnn/tf/layers/rec.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4390,7 +4390,6 @@ def __init__(self, n_out, unit, unit_opts=None,
43904390
self.rec_vars_outputs["state"] = state
43914391
params = tf_compat.v1.get_collection(
43924392
tf_compat.v1.GraphKeys.TRAINABLE_VARIABLES, scope=re.escape(scope_name_prefix))
4393-
assert params
43944393
for p in params:
43954394
self.add_param(p)
43964395

0 commit comments

Comments
 (0)