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

相关推荐
坐吃山猪5 分钟前
Python-UV多环境管理
人工智能·python·uv
带娃的IT创业者10 分钟前
从零开始掌握 uv:新一代超快 Python 项目与包管理器(含 Windows 支持)
windows·python·uv
努力也学不会java19 分钟前
【Java并发】揭秘Lock体系 -- condition等待通知机制
java·开发语言·人工智能·机器学习·juc·condition
浔川python社20 分钟前
浔川 AI 翻译 v7.0正式上线公告
python
Wiktok23 分钟前
【WIT】ttkbootstrap全组件中文本地化解决方案
python·ttkbootstrap
武子康27 分钟前
AI-调查研究-90-具身智能 机器人数据采集与通信中间件全面解析:ROS/ROS2、LCM 与工业总线对比
人工智能·ai·中间件·机器人·职场发展·个人开发·具身智能
熊猫钓鱼>_>30 分钟前
PySpark全面解析:大数据处理的Python利器
开发语言·python
新知图书39 分钟前
大模型架构之GPT、LLaMA与PaLM模型
人工智能·gpt·语言模型·大模型应用开发·大模型应用
王嘉俊92540 分钟前
Django 入门:快速构建 Python Web 应用的强大框架
前端·后端·python·django·web·开发·入门
lisw0541 分钟前
大模型的第一性原理考量:基于物理本质与数学基础的范式重构
网络·人工智能·机器学习