Hi @albanD,
Can you please elaborate as to why we should not use the .data
attribute at all? I have encountered a scenario where using this attribute is the only way I can effectively pass data through my network, similar to How to process variable length sequence of images with CNN - #8 by 3nomis. In that discussion, it seems like we can use .data
as a workaround for certain scenarios where it is needed. Is that approach actually valid? Do we actually need to use .detach()
for each of these references to .data
? I would much appreciate any further insights you may have regarding this.