PyTorch layer building tools for CREYONE
Project description
creyone_model
PyTorch layer-building utilities for the CREYONE framework.
Overview
creyone_model provides a config-first API for assembling CNN building blocks.
All layer hyper-parameters live in a single CNNBlockCfg dataclass, making it
easy to swap layer types (convolution, normalisation, activation, pooling)
without changing model code.
Installation
pip install creyone_model
Requires Python ≥ 3.10 and PyTorch ≥ 2.0.
Quick start
from creyone_model import CNNBlockCfg
cfg = CNNBlockCfg(tensor_dims=2, act_name='silu')
block = cfg.block_module(in_dim=3, out_dim=64, kernel_size=3)
import torch
y = block(torch.randn(1, 3, 224, 224)) # (1, 64, 224, 224)
Documentation
Full documentation (API reference + getting started guide) is hosted at https://creyone-model.readthedocs.io/.
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_model-1.0.1.tar.gz.
File metadata
- Download URL: creyone_model-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 |
78dc87e76f23225572f0ed9521cc811721422b026e660dd58820cba78c737be3
|
|
| MD5 |
299b99951463d61c95c519bd3fb46354
|
|
| BLAKE2b-256 |
f2560d64584b0de5e7d07e24baba754f7c6472ddb3858e3c03ea8c5b6bd03f49
|
Provenance
The following attestation bundles were made for creyone_model-1.0.1.tar.gz:
Publisher:
publish.yml on qnilix/creyone_model
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
creyone_model-1.0.1.tar.gz -
Subject digest:
78dc87e76f23225572f0ed9521cc811721422b026e660dd58820cba78c737be3 - Sigstore transparency entry: 1779484524
- Sigstore integration time:
-
Permalink:
qnilix/creyone_model@5a4631784cd50d34fd5a0bdf43d6c3c23af821c4 -
Branch / Tag:
refs/tags/v1.0.1_1 - Owner: https://github.com/qnilix
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@5a4631784cd50d34fd5a0bdf43d6c3c23af821c4 -
Trigger Event:
push
-
Statement type:
File details
Details for the file creyone_model-1.0.1-py3-none-any.whl.
File metadata
- Download URL: creyone_model-1.0.1-py3-none-any.whl
- Upload date:
- Size: 8.8 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 |
2e8f59928527515b1d93150d43ff11096470b4c21380f8ef914c3c54f8e872c4
|
|
| MD5 |
bb6d89194da339aa652addccd267083f
|
|
| BLAKE2b-256 |
710f1b415861cf646d5d10202084eb102a2437836df5ffc10330181896614086
|
Provenance
The following attestation bundles were made for creyone_model-1.0.1-py3-none-any.whl:
Publisher:
publish.yml on qnilix/creyone_model
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
creyone_model-1.0.1-py3-none-any.whl -
Subject digest:
2e8f59928527515b1d93150d43ff11096470b4c21380f8ef914c3c54f8e872c4 - Sigstore transparency entry: 1779484725
- Sigstore integration time:
-
Permalink:
qnilix/creyone_model@5a4631784cd50d34fd5a0bdf43d6c3c23af821c4 -
Branch / Tag:
refs/tags/v1.0.1_1 - Owner: https://github.com/qnilix
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@5a4631784cd50d34fd5a0bdf43d6c3c23af821c4 -
Trigger Event:
push
-
Statement type: