9.Optimizer优化器
'''
Author: 365JHWZGo
Description: 9.Optimizer优化器
Date: 2021-10-25 21:34:01
FilePath: /pytorch/pytorch/day07-4.py
LastEditTime: 2021-10-25 22:29:25
LastEditors: 365JHWZGo
'''
import torch
from torch.autograd import Variable
import torch.utils.data as Data
import torch.nn.functional as F
import matplotlib.pyplot as plt
torch.manual_seed(1)
# hyper parameters
LR = 0.01
BATCH_SIZE = 32
EPOCH = 12
# create so
9.Optimizer优化器最先出现在Python成神之路。
共有 0 条评论