PyTorch layer building tools for CREYONE
Project description
creyone_layer (Beta Package for CreYoNe)
Create Your Network (a.k.a. CreYoNe) is a utility tools for making DNN module via torch. This repository provides Layer-sized building blocks for deep learning.
Installation
pip install creyone-layer
From source:
git clone https://github.com/qnilix/creyone_layer.git
cd creyone_layer
pip install -e .
Quick Start
Layer registry — create_layer
from creyone_layer import create_layer
relu = create_layer('relu', 'act')(inplace=True)()
bn = create_layer('batch', 'norm')(dim=2, eps=1e-5, mom=0.1)(64)
conv = create_layer('base', 'conv')(dim=2, optional='ap')(32, 64, 3)
pool = create_layer('max', 'pool')(dim=2, optional='ap')(2)
Registered Layers
| Family | Names |
|---|---|
conv |
base, depthwise |
norm |
batch, layer |
act |
relu, relu6, gelu, quickgelu, sigmoid, hardsig, hardswish, swisheff |
pool |
max, avg |
conv options (passed via optional='...', +-separated)
| Flag | Effect |
|---|---|
ap |
auto-pad — output spatial size matches input |
dw |
depthwise — groups = in_channels |
grid |
stride = kernel size (grid-like sampling) |
ar |
AutoReshape — accepts (B, H*W, C) token sequences |
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file creyone_layer-1.0.1.tar.gz.
File metadata
- Download URL: creyone_layer-1.0.1.tar.gz
- Upload date:
- Size: 8.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bf3659ea728ee3eb0ba8486a1d074afc2a003bb1447a95d39f31c1d8494fee1d
|
|
| MD5 |
7d35739e004331af5c605c110545c04c
|
|
| BLAKE2b-256 |
db68ace1ce3a167dd5034c97d795a31e8df0fa06271d2322fa24621f02e9f91e
|
Provenance
The following attestation bundles were made for creyone_layer-1.0.1.tar.gz:
Publisher:
publish.yml on qnilix/creyone_layer
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
creyone_layer-1.0.1.tar.gz -
Subject digest:
bf3659ea728ee3eb0ba8486a1d074afc2a003bb1447a95d39f31c1d8494fee1d - Sigstore transparency entry: 1779256290
- Sigstore integration time:
-
Permalink:
qnilix/creyone_layer@dc30592ed7c039b2173a5bb7154d920ffe5c53d4 -
Branch / Tag:
refs/tags/v1.0.1 - Owner: https://github.com/qnilix
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@dc30592ed7c039b2173a5bb7154d920ffe5c53d4 -
Trigger Event:
push
-
Statement type:
File details
Details for the file creyone_layer-1.0.1-py3-none-any.whl.
File metadata
- Download URL: creyone_layer-1.0.1-py3-none-any.whl
- Upload date:
- Size: 9.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a38b3e7db3b952b212b58d5885d097e490bc890878b480617d91a973374124da
|
|
| MD5 |
add66bfdf2dfa16b738a23a5b09424b9
|
|
| BLAKE2b-256 |
407f35f73c9f6a7e4f3b3d919fd5e0100f42820c6743d16f23e1c19a51f5b85b
|
Provenance
The following attestation bundles were made for creyone_layer-1.0.1-py3-none-any.whl:
Publisher:
publish.yml on qnilix/creyone_layer
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
creyone_layer-1.0.1-py3-none-any.whl -
Subject digest:
a38b3e7db3b952b212b58d5885d097e490bc890878b480617d91a973374124da - Sigstore transparency entry: 1779256484
- Sigstore integration time:
-
Permalink:
qnilix/creyone_layer@dc30592ed7c039b2173a5bb7154d920ffe5c53d4 -
Branch / Tag:
refs/tags/v1.0.1 - Owner: https://github.com/qnilix
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@dc30592ed7c039b2173a5bb7154d920ffe5c53d4 -
Trigger Event:
push
-
Statement type: