Skip to content

Commit 8163f32

Browse files
committed
Fix bug in model.py
1 parent 9a51c54 commit 8163f32

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

jaxili/model.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -651,8 +651,9 @@ def _create_masks(self, mask_matrix: list, masks: dict, layers: list):
651651
masks[layer_index + 1] = np.random.randint(low, D - 1, size=size)
652652
else:
653653
masks[layer_index + 1] = np.zeros(size)
654-
# Order of the output layer is the same as the input layer
655-
masks[L + 1] = masks[0]
654+
655+
# Order of the output layer is the same as the input layer
656+
masks[L + 1] = masks[0]
656657

657658
# Create mask matric for input -> hidden_layer_1
658659
m = masks[0]

0 commit comments

Comments
 (0)