Skip to content

Commit 39b13ac

Browse files
authored
Remove in place modification to channels parameter (#294)
1 parent d63df90 commit 39b13ac

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

hive/agents/qnets/conv.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ def __init__(
6666
raise ValueError("The lengths of the parameter lists must be the same")
6767

6868
# Convolutional Layers
69-
channels.insert(0, in_dim[0])
69+
channels = [in_dim[0], *channels]
7070
conv_seq = []
7171
for i in range(0, len(channels) - 1):
7272
conv_seq.append(

0 commit comments

Comments
 (0)