Pytorch——tensor

How to under the tensor

  • tensor
    • [what is tensor ?](#what is tensor ?)
    • [what is the big deal ?](#what is the big deal ?)
    • [how to understond the relative concept about the tensor ?](#how to understond the relative concept about the tensor ?)

tensor

what is tensor ?

We talk about the " Tenser" which is used in ML community.

Actually, the tenser is used as a talk and terminology to refine and rename things that already exist:

Call the "scalar" (a data) as the zero dimensional tensor;

Call the "array" in the programming field as the one dimensional tensor;

Call the "matrix" as the two dimensional tensor;

Call the "video" as the n dimensional tensor;

So, it is boring from the perspective of the gay who create the definition of tensor.

what is the big deal ?

It holds data, weights and biases.

Can realize the hardware acceleration and Autograd !

how to understond the relative concept about the tensor ?

The chain rule:

The Chain Rule is a fundamental concept in calculus. It provides a method for finding the derivative of a composite function that is composed of two or more functions.
Backpropogration:

It is the application of the chain rule, It is an efficient method for computing the gradient of the loss function with respect to theweights of the network, enabling the adjustment of weights to minimize the error.
The automatic differentiation:

is the automatic tool to realize the backpropogation. Of course, the forepropogation also can be realized by the autograd of the Pytorch.

reference:
backpropogation
tensor------statQuest
chain rule

相关推荐
tkdsy007几秒前
AI全产业链工作岗位分析:技术与非技术岗位全景图
人工智能·ai·ai产业链·ai工程师·ai岗位
翻滚的小@强6 分钟前
数据挖掘笔记:点到线段的距离计算
人工智能·笔记·数据挖掘
weixin_4572971023 分钟前
RAG流程全解析:从数据到精准答案
人工智能
whaosoft-14323 分钟前
51c大模型~合集171
人工智能
arron889937 分钟前
YOLOv8n-pose 模型使用
人工智能·深度学习·yolo
万邦科技Lafite39 分钟前
利用淘宝开放API接口监控商品状态,掌握第一信息
大数据·python·电商开放平台·开放api接口·淘宝开放平台
AI人工智能+2 小时前
一种融合AI与OCR的施工许可证识别技术,提升工程监管效率,实现自动化、精准化处理。
人工智能·自动化·ocr·施工许可证识别
Hy行者勇哥3 小时前
Python 与 VS Code 结合操作指南
开发语言·python
ygy.白茶4 小时前
从电影分类到鸢尾花识别
人工智能