Small

GPT-2(small)架构推理解析

1、有字符串BBCAD 2、为字符串中的每个字母添加index索引以进行排序,A、B、C、D的索引下标分别是0、1、2、3,因此排序的数字结果为01123 3、将01123中的每个数字转换为c个元素的向量(这个过程称为embedding,其中c是一个超参数) 4、将每个字母的索引信息分别嵌入到tok ......
架构 small GPT

CF1909F1 Small Permutation Problem (Easy Version)

给定一个长度为 \(n\) 的数组 \(a\),其中 \(a_i \in [1, n]\),试计算满足以下条件的 \([1, n]\) 的排列 \(p\) 的个数: \(\forall i \in [1, n], \sum_{1 \le j \le i} [p_j \le i] = a_i\) \( ......
Permutation Problem Version 1909F Small

CF1909F2 Small Permutation Problem (Hard Version)

给定一个长度为 \(n\) 的数组 \(a\),其中 \(a_i \in [-1, n]\),试计算满足以下条件的 \([1, n]\) 的排列 \(p\) 的个数: \(\forall i \in [1, n], \text{有 }\sum_{1 \le j \le i} [p_j \le i] ......
Permutation Problem Version 1909F Small

CodeForces 1909F2 Small Permutation Problem (Hard Version)

洛谷传送门 CF 传送门 感觉这个题还是挺不错的。 考虑 F1。考察 \(a_i\) 差分后的意义,发现 \(a_i - a_{i - 1}\) 就是 \((\sum\limits_{j = 1}^{i - 1} [p_j = i]) + p_i \le i\)。 考虑将其转化为棋盘问题。在 \(( ......

配置内核的时候提示Your display is too small to run Menuconfig! It must be at least 19 lines by 80 columns.

按照按照 (https://rocketboards.org/foswiki/Documentation/EmbeddedLinuxBeginnerSGuide)制作了一个image当想打开内核kernel的配置界面make ARCH=arm menuconfig的时候提示: scripts/kco ......
内核 Menuconfig display columns 时候

CF1900D Small GCD 题解

原题链接:CF1900D,题意不多赘述。 首先可以将 \(a\) 数组排序,并且枚举中间的那个数 \(a_i\)。那么答案就是 \(\sum_{j=1}^{i-1} \gcd(a_j,a_i)\times (n-i)\)。重点在于求前面的 \(\gcd\)。可以用欧拉反演,但是也可以不用,因为我不会 ......
题解 1900D Small 1900 GCD

UIU-Net: U-Net in U-Net for Infrared Small Object Detection:Unet中的Unet

UIU-Net: U-Net in U-Net for Infrared Small Object Detection * Authors: [[Xin Wu]], [[Danfeng Hong]], [[Jocelyn Chanussot]] DOI: 10.1109/TIP.2022.32284 ......
Net U-Net Unet Detection Infrared

A Guide to Image and Video based Small Object Detection using Deep Learning : Case Study of Maritime Surveillance

A Guide to Image and Video based Small Object Detection using Deep Learning : Case Study of Maritime Surveillance 基于图像和视频的小对象指南使用深度学习进行检测:的案例研究海上监视 1 ......

CF1900D Small GCD

Link 这是一个需要欧拉反演的题目 首先,可以知道只和数字之间的大小有关,数列的顺序无关,那么就可以首先排一个序方便解决该问题。 根据欧拉函数的性质,知道\(n=\sum_{d|n}\phi{(n)}\) 那么我们每次先确定中间的数\(a_j\),然后根据公式,得他它得贡献是\(\sum_{i=1 ......
1900D Small 1900 GCD CF

ARC169 B Subsegments with Small Sums 题解

Link ARC169 B Subsegments with Small Sums Question \(x\) 是一个序列,定义 \(f(x)\) 为把序列 \(x\) 切成几段,每段的和不能超过 \(S\) 的最小段数 给出序列 \(A=(A_1,A_2,\cdots,A_N)\) 求: \[\ ......
题解 Subsegments Small with Sums

[ABC254E] Small d and k 题解

题目传送门 一道暴力题。 度数和 \(k\) 那么小?直接暴力 \(n\) 遍 bfs,注意 bfs 的队列只能 push 距离不超过 \(3\) 的点。但有个问题,每次 bfs 都需要清空一次距离数组,这样子的时间复杂度是 \(O(n^2)\) 的。但也不难想到,距离数组中被赋值的地方不会很多,记 ......
题解 Small 254E ABC 254

CodeForces 1900D Small GCD

洛谷传送门 CF 传送门 不是很懂官方题解在干嘛。 设 \(g_x\) 为满足 \(x \mid \gcd(a_i, a_j, a_k)\) 且 \(i, j, k\) 两两不同的所有无序三元组的 \(f(a_i, a_j, a_k)\) 之和。则很容易容斥求出 \(h_x\) 为 \(x = \g ......
CodeForces 1900D Small 1900 GCD

CF1900D - Small GCD 题解

1900D - Small GCD 给定序列 \(A\),定义 \(f(a, b, c)\) 为 \(a, b, c\) 中最小的次小的数的 \(\gcd\),求: \[\sum_{i = 1}^n \sum_{j = i + 1}^n \sum_{k = j + 1}^n f(a_i, a_j, ......
题解 1900D Small 1900 GCD

Codeforces Round 911 (Div. 2) D. Small GCD

题目链接:https://codeforces.com/contest/1900/problem/D 对于已经排序好的数组 \(a\),我们需要计算: \[\sum_{i=1}^n\sum_{j=i+1}^n gcd(a_i, a_j) * (n - j) \]由于 \(\sum_{d|n} \ph ......
Codeforces Round Small 911 Div

CF1900 D Small GCD 题解

Link CF1900 D Small GCD Question 定义 \(f(x,y,z)=\gcd(a,b)\) ,其中 \(a,b\) 为 \(x,y,z\) 中较小的那两个数 给出数组 \(a\),求 \[\sum\limits_{i=1}^n \sum\limits_{j=i+1}^n \ ......
题解 Small 1900 GCD CF

D. Small GCD

D. Small GCD Let $a$, $b$, and $c$ be integers. We define function $f(a, b, c)$ as follows: Order the numbers $a$, $b$, $c$ in such a way that $a \le ......
Small GCD

ORA-06502: PL/SQL: 数字或值错误:character string buffer too small

原因是: DBMS_LOB.SUBSTR(CLOB) 报错:超过缓存区长度 解决办法: 1、将自定义函数中的字符数参数设置为更大的数字(最大32767)。注意,这一设置和Oracle的版本有关系(Oracle 10 最大为4000, Oracle 12 可达32767) 2、如果是拼接的字段来源是子 ......
character 错误 数字 buffer string

urllib 2.x版本下dh key too small 等SSL类错误的解决方法

问题 当我们使用python的requests访问目标网站的时候,有时会遇到以下这种错误(以 https://dh-composite.badssl.com/ 为例) requests.exceptions.SSLError: HTTPSConnectionPool(host='dh-composi ......
错误 版本 方法 urllib small

CF1119F Niyaz and Small Degrees 题解

原题 翻译 首先 \(O(n^2 \log n)\) 的 dp 是 simple 的,我们设 \(dp_{i,0/1}\) 表示以 \(i\) 为根, \(i\) 到 \(fa_i\) 这条边删/不删的最小权值和。转移是一个非常 trick 的问题,只需要假设所有都选 \(dp_{i,0}\) ,然 ......
题解 Degrees 1119F Niyaz Small

[ABC077D] Small Multiple

Description 给定一个整数 \(K\) 。求一个 \(K\) 的正整数倍 \(S\),使得 \(S\) 的数位累加和最小。 \(2\le K\le 10^5\)。 Solution 先不去考虑 \(K\) 的倍数这件事。思考如何快速得到一些数的数位累加和。 一个数的数位和,可以看成这个数在 ......
Multiple Small 077D ABC 077

开源 SD-Small 和 SD-Tiny 知识蒸馏代码与权重

最近,人工智能社区在开发更大、更高性能的语言模型方面取得了显著的进展,例如 Falcon 40B、LLaMa-2 70B、Falcon 40B、MPT 30B; 以及在图像领域的模型,如 SD2.1 和 SDXL 。这些进步无疑推动了人工智能的发展,使其具有高度多功能和最先进的图像生成和语言理解能力 ......
权重 SD-Small SD-Tiny 代码 知识

A small keychain has so many details

Keychains are familiar to all of us and can be used basically in our daily life. At first, we used keychains simply to collect keys so that they would ......
keychain details small many has

ORA-01555:snapshot too old: rollback segment number X with name "XXXX" too small

## ORA-01555:snapshot too old: rollback segment number X with name "XXXX" too small 在查询快照的时候 ``` select * from testtable as of timestamp to_timestamp( ......
quot too snapshot rollback segment

Some small issue about STM 32 f103 core board

One connection problem: after the core board is bought back, the pin header needs to be manually soldered to the board. Originally I thought it could ......
small issue about board Some

【数据集】 Bosch Small Traffic Lights Dataset(BSTLD)

前言 参考 1. GitHub - berktepebag/Traffic-light-detection-with-YOLOv3-BOSCH-traffic-light-dataset; 2. Bosch Small Traffic Lights Dataset; 3. GitHub - bosc ......
Dataset Traffic 数据 Lights Bosch

发送邮件报错dh key too small

ssl.SSLError: [SSL: DH_KEY_TOO_SMALL] dh key too small (_ssl.c:1129) 1、找到openssl.cnf的配置文件,如/etc/ssl/openssl.cnf 2、在配置文件中找到crypto_policy指向的文件 3、修改指向的文件 ......
邮件 small key too

fun small tech com

fun small tech com ......
small tech fun com

英语 reciting and small talk

Hello, everyone. My reciting passage is Did you deal with fortune fairly. Did You Deal With Fortune Fairly Most people complain of fortune, few of nat ......
reciting small talk and
共28篇  :1/1页 首页上一页1下一页尾页