摘要:
import numpy as np lis = [1, 5, -9, 3, -6, 8, -7, 5, 5, 5, 4, 4, 4, 6, 6, 6, 6] lis = np.array(lis) lis[lis <= 0] = 100 print(lis) [ 1 5 100 3 100 8 1 阅读全文
posted @ 2020-12-07 14:49
说分手后还能做炮友?
阅读(132)
评论(0)
推荐(0)
摘要:
import torch import torchvision import torch.nn as nn import torch.nn.functional as F x = torch.randn(3, 4) print(x) print() sorted, indices = torch.s 阅读全文
posted @ 2020-12-07 14:02
说分手后还能做炮友?
阅读(247)
评论(0)
推荐(0)

浙公网安备 33010602011771号