Should I expect any negative impact if my forward is a generator object? for example: yield x x = layer(x) yield x