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

相关推荐
阿里云大数据AI技术5 分钟前
阿里云灵骏真武超节点 Day0 适配星辰大模型 Xing4.1-Preview
人工智能
阿里云大数据AI技术30 分钟前
EMR Serverless Ray 正式发布一站式具身智能数据处理平台
人工智能
专注仿真42 分钟前
仿真智能体训练:强化学习多目标奖励算法与实战
python·算法·强化学习·afsim智能体
Thomas.Sir1 小时前
第024讲:AI模型开发|多源接入:业务库、日志、埋点、三方 API 与 Kafka:批流两套入口,怎么共用一份 schema
人工智能·ai
维爱智VR认知学能1 小时前
VR客户端异常诊断包白名单脱敏与受控字段构建实现
python·单元测试·软件工程·数据安全·日志脱敏
LabVIEW开发1 小时前
UTM-30LX 激光雷达 + LabVIEW 扫描怎么采?
人工智能·算法·labview
chinajourney11 小时前
【第四篇】全息动态平衡大一统元范式|总览评审溯源说明篇(全网开源)
人工智能·算法·机器学习·架构·开源·agi
NicOoole1231 小时前
虚拟人智能配音与AI短视频制作工具赋能IP运营的即时口播内容创作平台
大数据·人工智能
isfox2 小时前
Python 装饰器:别被 @ 符号吓到,它就是个"包装盒"
python
Sakura_j_h_2 小时前
用 uv 搭一个命令行待办工具:pyproject、argparse 与全局安装
python·uv·cli·argparse·pyproject