摘要: import torch x_data = torch.Tensor([[1.0],[2.0],[3.0]]) y_data = torch.Tensor([[2.0],[4.0],[6.0]]) class MyLinear(torch.nn.Module): def __init__(self) 阅读全文
posted @ 2022-06-25 12:10 hhllxx1121 阅读(54) 评论(0) 推荐(0)