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

相关推荐
tzjly4 分钟前
JSON数据一键导入SQL Server
python
LINGYI0008 分钟前
什么是品牌全案?新品牌如何制定品牌规划?
人工智能·天猫代运营·品牌全案
AGI_Eval11 分钟前
AGI-Eval 2025年度报告精选 | 以数据为尺,度量智能边界
人工智能
策知道13 分钟前
从“抗旱保苗”到“修渠引水”:读懂五年财政政策的变奏曲
大数据·数据库·人工智能·搜索引擎·政务
洞见新研社21 分钟前
从实验室走向真实世界,2025年具身智能的产业突破与挑战
人工智能
一分半心动22 分钟前
清理C盘的python脚本
开发语言·python
XC1314890826725 分钟前
法律行业获客,如何用科技手段突破案源瓶颈的实操方法
大数据·人工智能·科技
Dev7z28 分钟前
轨道交通车站客流YOLO格式检测数据集
人工智能·yolo
haiyu_y31 分钟前
Day 53 对抗生成网络 (GAN) 实战
人工智能·深度学习·生成对抗网络
natide38 分钟前
表示/嵌入差异-7-间隔/边际对齐(Alignment Margin)
人工智能·深度学习·算法·机器学习·自然语言处理·知识图谱