Pytorch Utils
Algorithms and training
torchelie.nn.utils.
insert_before
Insert module new with name name before element key in sequential base and return the new sequence.
new
name
key
base