摘要:
###仅为自己练习,没有其他用途 1 import torch 2 import torch.nn as nn 3 import torch.utils.data as Data 4 import torchvision 5 import matplotlib.pyplot as plt 6 fro 阅读全文
posted @ 2019-10-29 18:23
_Meditation
阅读(436)
评论(0)
推荐(0)
摘要:
上次通过pytorch实现了RNN模型,简易的完成了使用RNN完成mnist的手写数字识别,但是里面的参数有点不了解,所以对问题进行总结归纳来解决。 总述:第一次看到这个函数时,脑袋有点懵,总结了下总共有五个问题: 1.这个input_size是啥?要输入啥?feature num又是啥? 2.这个 阅读全文
posted @ 2019-10-29 18:15
_Meditation
阅读(4198)
评论(0)
推荐(1)
摘要:
关于RNN模型参数的解释,可以参看RNN参数解释 ###仅为自己练习,没有其他用途 1 import torch 2 from torch import nn 3 import numpy as np 4 import matplotlib.pyplot as plt 5 6 # torch.man 阅读全文
posted @ 2019-10-29 17:42
_Meditation
阅读(394)
评论(0)
推荐(0)
摘要:
###仅为自己练习,没有其他用途 1 import torch 2 from torch import nn 3 import torchvision.datasets as dsets 4 import torchvision.transforms as transforms 5 import m 阅读全文
posted @ 2019-10-29 16:00
_Meditation
阅读(609)
评论(0)
推荐(0)
摘要:
###仅为自己练习,没有其他用途 1 # library 2 # standard library 3 import os 4 5 # third-party library 6 import torch 7 import torch.nn as nn 8 import torch.utils.da 阅读全文
posted @ 2019-10-29 15:35
_Meditation
阅读(232)
评论(0)
推荐(0)