当前位置:网站首页>TRUNC in pytorch_ normal_ principle
TRUNC in pytorch_ normal_ principle
2022-06-11 08:11:00 【Interval】
This is not something new and magical , It's simple , as follows :

To put it bluntly, we use the normal distribution to generate a point , If this point is [a,b] Out of range , Then regenerate , Until in the interval .
stay pytorch in , Default parameters , for example a,b as follows :
nn.init.trunc_normal_(
tensor: torch.Tensor,
mean: float = 0.0,
std: float = 1.0,
a: float = -2.0,
b: float = 2.0,
) -> torch.Tensor
with values outside [a, b], redraw until they are within the bounds.
边栏推荐
- 使用 COCO 数据集训练 YOLOv4-CSP 模型
- Node error report sorting
- Space geometry
- E regression test of this featured app
- Dameng database login
- YUV数据的裁剪与重叠
- 自定义ViewGroup的知识点总结-持续更新
- Receive ontrimmemory and other callbacks through componentcallbacks2 and mock the corresponding scenario
- TypeScript-分布式条件类型
- Methods to improve training speed in deep learning and techniques to reduce video memory (suitable for entry-level trick without too many computing resources)
猜你喜欢

Space geometry

记一次忽略@SuppressLint(“NewApi“)提示引发的血案

Image data enhancement (translation, rotation, brightness transformation, flipping, adding Gaussian noise, scaling, cropping)

C language - Growth Diary -03- function definition and function prototype declaration

2022.6.6 特长生模拟

嵌入式软件面试问题总结

Bubble sorting with C language

Use of Excel to XML tool of TestLink

TypeScript-头文件使用细节

Solve notimplementederror: layer XX has arguments in`__ init__` and therefore must override `get_ config`
随机推荐
Printing diamond of beginner C
Js学习基础document.write在页面中写一行文字
Session and session management technology
Solve notimplementederror: layer XX has arguments in`__ init__` and therefore must override `get_ config`
[the most complete ENSP [installation diagram] in history!]
如何开始参与开源社区
SOCKET【5】- struct linger 用法
C language to achieve a simple game - minesweeping
Data visualization and Matplotlib
关于网络知识的50个问答题,你能答对几个?
Dameng user management
Tutoriel de démarrage bladed (vidéo)
【案例解读】医疗单据OCR识别助力健康险智能理赔
Using Tkinter to realize guessing numbers game
进程控制:进程等待(回收子进程)
forEach 中 return 和 for 中 break
Node error report sorting
代码设置ConstraintLayout的layout_constraintDimensionRatio
Typescript recognizable Union
Alchemy experience (model training of deep learning) the necessity of timely adjusting training parameters for some situations (the adjustment of learning rate LR is the primary) summarizes some metho