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

相关推荐
盟接之桥几秒前
盟接之桥®制造业EDI软件:连接全球供应链的“数字桥梁”,赋能中国制造走向世界
大数据·网络·人工智能·汽车·制造
星爷AG I2 分钟前
19-6 范畴理论(AGI基础理论)
人工智能·agi
青桔柠薯片6 分钟前
2026年AI前瞻:量子AI、具身智能与科学发现的新纪元
人工智能·ai·量子计算·ising
阿杰学AI8 分钟前
AI核心知识119—大语言模型之 监督微调 (简洁且通俗易懂版)
人工智能·深度学习·ai·语言模型·aigc·sft·监督微调
Hugh-Yu-1301239 分钟前
【Agent与传统AI的区别:一场技术革新的深度剖析】
人工智能
九河_10 分钟前
从requirements.txt中安装缺失的包
python·conda·pip·环境管理
llm大模型算法工程师weng11 分钟前
Python爬虫实现指南:从入门到实战
开发语言·爬虫·python
事变天下11 分钟前
咕咚2026年赛事合作全面进阶,科技赋能开启运动生态新征程
人工智能·科技
豆沙糕14 分钟前
大模型面试高频题:请详细讲解检索中的BM25算法
人工智能·算法
AI效率工坊18 分钟前
【Python实战】10万行数据自动清洗:pandas+AI智能识别+异常检测完整方案
人工智能·python·pandas