funkeras
attention, transformer, bert 等都是从大神CyberZHG学习来的, 主要是因为想学习源码并进行一些标注,所以进行了一些翻译、标注和整合
yolo 参考 keras-yolo3, keras-yolo3
Attention
ScaledDotProductAttention
$$\text{Attention}(Q, K, V) = \text{softmax}(\frac{Q K^T}{\sqrt{d_k}}) V$$
SeqSelfAttention
multiplicative
$$e_{t, t'} = x_t^T W_a x_{t'} + b_a$$
$$a_{t} = \text{softmax}(e_t)$$
$$l_t = \sum_{t'} a_{t, t'} x_{t'}$$
additive
$$h_{t, t'} = \tanh(x_t^T W_t + x_{t'}^T W_x + b_h)$$
$$e_{t, t'} = W_a h_{t, t'} + b_a$$
$$a_{t} = \text{softmax}(e_t)$$
$$l_t = \sum_{t'} a_{t, t'} x_{t'}$$
SeqWeightedAttention
$$Y = \text{softmax}(XW + b) X$$
MultiHeadAttention
Metadata
Release files for funkeras 0.9.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| funkeras-0.9.0.tar.gz | 32.0 MB | Without provenance | Details for funkeras-0.9.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| funkeras-0.9.0-py3-none-any.whl | Python 3 | none | any | Details for funkeras-0.9.0-py3-none-any.whl |
Total release size: 37.4 MB
Release files / funkeras-0.9.0.tar.gz
| Download URL | funkeras-0.9.0.tar.gz |
|---|---|
| Size | 32.0 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c7ba2e17845619155c96129e45bca3a858a9085ad5e3af353b4d9348c786adf3
|
|
BLAKE2b-256 checksum How to use checksums |
0751d40eb6df93db995709248406a7f54a7fd327a387d8b4826d9d76f462aba7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.17 {"installer":{"name":"uv","version":"0.11.17","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / funkeras-0.9.0-py3-none-any.whl
| Download URL | funkeras-0.9.0-py3-none-any.whl |
|---|---|
| Size | 5.5 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ffaa796ef2f6f7f8712a943b48859f04ce5e49656c63431c43dae2eea9ce6206
|
|
BLAKE2b-256 checksum How to use checksums |
ac6ec36fd77368ea88725bac2560b852f2b91d4d78d524f057d8ae71bf8a182e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.17 {"installer":{"name":"uv","version":"0.11.17","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Security for funkeras 0.9.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.