1、matplotlib.pyplot
cla() # Clear axis即清除当前图形中的当前活动轴。其他轴不受影响。
clf() # Clear figure清除所有轴,但是窗口打开,这样它可以被重复使用。
close() # Close a figure window
2、tensor比较操作
Pytorch学习之torch----比较操作(Comparison Ops)_励志的小胡子-CSDN博客_torch.eq()
1、matplotlib.pyplot
cla() # Clear axis即清除当前图形中的当前活动轴。其他轴不受影响。
clf() # Clear figure清除所有轴,但是窗口打开,这样它可以被重复使用。
close() # Close a figure window
2、tensor比较操作
Pytorch学习之torch----比较操作(Comparison Ops)_励志的小胡子-CSDN博客_torch.eq()