function共57篇
Day-25 List functions, Tasks-拾光赋

Day-25 List functions, Tasks

Day-25 List functions, Tasks,split(): The split() method divides a string into a list of substrings based on a separator. join(): The join() method concatenates the elements of an ...
kity的头像-拾光赋kity3个月前
04011
Day 24 - List Functions-拾光赋

Day 24 – List Functions

Day 24 - List Functions,extend() vs append() vs insert(): extend()-Adds all elements from an iterable (e.g., list, tuple) to the end of the list. append()-Adds a single element to ...
kity的头像-拾光赋kity3个月前
0565
square in PyTorch-拾光赋

square in PyTorch

square in PyTorch,Buy Me a Coffee *Memos: My post explains pow(). My post explains float_power(). My post explains abs() and sqrt(). My post explains gcd() and lcm(). My post expla...
kity的头像-拾光赋kity3个月前
04115
pow in PyTorch-拾光赋

pow in PyTorch

pow in PyTorch,Buy Me a Coffee *Memos: My post explains square(). My post explains float_power(). My post explains abs() and sqrt(). My post explains gcd() and lcm(). My post expla...
kity的头像-拾光赋kity3个月前
03913
any in PyTorch-拾光赋

any in PyTorch

any in PyTorch,Buy Me a Coffee *My post explains all(). any() can check if any elements of a 0D or more D tensor are True, getting the 0D or more D tensor of zero or more elements ...
kity的头像-拾光赋kity3个月前
0539
all in PyTorch-拾光赋

all in PyTorch

all in PyTorch,Buy Me a Coffee *My post explains any(). all() can check if all the elements of a 0D or more D tensor are True, getting the 0D or more D tensor of zero or more eleme...
kity的头像-拾光赋kity3个月前
02615
atleast_3d in PyTorch-拾光赋

atleast_3d in PyTorch

atleast_3d in PyTorch,Buy Me a Coffee *Memos: My post explains atleast_1d(). My post explains atleast_2d(). atleast_3d() can get the view of the one or more 3D or more D tensors of...
kity的头像-拾光赋kity3个月前
0355
atleast_2d in PyTorch-拾光赋

atleast_2d in PyTorch

atleast_2d in PyTorch,Buy Me a Coffee *Memos: My post explains atleast_1d(). My post explains atleast_3d(). atleast_2d() can get the view of the one or more 2D or more D tensors of...
kity的头像-拾光赋kity3个月前
0516
atleast_1d in PyTorch-拾光赋

atleast_1d in PyTorch

atleast_1d in PyTorch,Buy Me a Coffee *Memos: My post explains atleast_2d(). My post explains atleast_3d(). atleast_1d() can get the view of the one or more 1D or more D tensors of...
kity的头像-拾光赋kity3个月前
04512
fmod in PyTorch-拾光赋

fmod in PyTorch

fmod in PyTorch,Buy Me a Coffee *Memos: My post explains add(). My post explains sub(). My post explains mul(). My post explains div(). My post explains remainder(). fmod() can do ...
kity的头像-拾光赋kity3个月前
0305
remainder in PyTorch-拾光赋

remainder in PyTorch

remainder in PyTorch,Buy Me a Coffee *Memos: My post explains add(). My post explains sub(). My post explains mul(). My post explains div(). My post explains fmod(). remainder() ca...
kity的头像-拾光赋kity3个月前
02810
mul in PyTorch-拾光赋

mul in PyTorch

mul in PyTorch,Buy Me a Coffee *Memos: My post explains add(). My post explains sub(). My post explains div(). My post explains remainder(). My post explains fmod(). mul() can do m...
kity的头像-拾光赋kity3个月前
0407