这一节快速通过,熟悉一下
tensor的格式scalar:通常就是一个 数值
vector:
深度学习中通常表示特征(向量:nlp里面有把词转换为向量表示)
matrix
矩阵,一般是 多维 的
这里 老师列举的是一些矩阵的乘法,没看懂matmul怎么计算的。看了下介绍,果然复杂。各种情况。待慢慢学习
对于维度的理解:
实际 处理业务都是高维的。
HUBHub 是一个简易 API 和工作流程.用老师的话介绍就是“一行代码调模型”
https://github.com/pytorch/hub
Steps to submit to PyTorch hubAdd a hubconf.py in your repo, following the instruction in torch.hub doc. Verify it's working correctly by running torch.hub.load(...) locally.Create a PR in pytorch/hub repo. For each new model you have, create a
_ _ .md file using this template.
这里不贴 代码了。需要的去github上看看吧,下一节动手跟着练一下。



