Search
Duplicate

Tensor Manipulation 1

태그
PyTorch

Tensor Manipulation 1

Lab-01-1 Tensor Manipulation 1.pdf
812.1KB

실습 공간

Vector, Matrix and Tensor

Vector

1차원으로 이루어져 있는 값

Matrix

2차원으로 이루어져 있는 경우

Tensor

3차원으로 이루어져 있는 경우

2D Tensor

t=(batch|t|=(batch size,dim)size, dim)

3D Tensor

t=(batch|t| = (batch size,width,height)size, width, height)
t=(batch|t| = (batch size,length,dim)size, length, dim)

Import

pip install -r requirements.txt
Shell
복사
import numpy as np import torch
Python
복사

Broadcasting

Multiplication vs Matrix Multiplication

Mean

Sum

Max and Argmax