Hi @ptrblck, thank you so much. My understanding of  torch.jit.is_scripting is we need to provide a replacement if an operation is not supported. But in the first of your answer, you said we could ignore the GeneratorExp. I am confused.