摘要:
####判断奇偶性 if num & 1 == 1: num % 2 == 1 # nums is odd number if num & 1 == 0: num % 2 == 0 # num is even number ####异或 当 num 是偶数时,num + 1 = num ⊕ 1 当 阅读全文
摘要:
####If you are running on a CPU-only machine, ####please use torch.load with map_location=torch.device('cpu') to map your storages to the CPU. #####gp 阅读全文