We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
一个是生成输出时,可以在某个地方标注出该代码所在类的类名,方便定位 print(f"MODEL==>> inputs.shape: {inputs.shape}") 二是可以控制多行选中时生成输出语句的方式,是每一句后面添加还是全部添加到后面
x = self.LN_1(inputs) x = x.permute(0, 2, 1) x = self.timeMixer(x) x = x.permute(0, 2, 1) print(f"==>> x.shape: {x.shape}") print(f"==>> x.shape: {x.shape}") print(f"==>> x.shape: {x.shape}") print(f"==>> x.shape: {x.shape}")
例如有些时候使用同名变量时,默认生成在最后。如果是在每个语句后生成,能节约很多操作。例如
x = inputs.permute(0, 2, 1) print(f"==>> x.shape: {x.shape}") x = self.conv(x) print(f"==>> x.shape: {x.shape}") x = x.permute(0, 2, 1) print(f"==>> x.shape: {x.shape}") y = self.mixer(inputs, x)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
一个是生成输出时,可以在某个地方标注出该代码所在类的类名,方便定位
print(f"MODEL==>> inputs.shape: {inputs.shape}")
二是可以控制多行选中时生成输出语句的方式,是每一句后面添加还是全部添加到后面
例如有些时候使用同名变量时,默认生成在最后。如果是在每个语句后生成,能节约很多操作。例如
The text was updated successfully, but these errors were encountered: