Spaces:
Sleeping
Sleeping
Download hf_src/layers/__init__.py from OK-AI/ViT-Patch-PCA-Visualisation: direct link, hf CLI and curl.
- Browser
- Download file 827 Bytes
-
https://huggingface.co/spaces/OK-AI/ViT-Patch-PCA-Visualisation/resolve/main/hf_src/layers/__init__.py
- Command line
-
hf download hf://spaces/OK-AI/ViT-Patch-PCA-Visualisation/hf_src/layers/__init__.py
-
curl -L -o __init__.py https://huggingface.co/spaces/OK-AI/ViT-Patch-PCA-Visualisation/resolve/main/hf_src/layers/__init__.py
827 Bytes
| from .mlp import Mlp | |
| from .block import Block # noqa: F401 | |
| from .rms_norm import RMSNorm | |
| from .drop_path import DropPath | |
| from .dino_head import DINOHead | |
| from .layer_scale import LayerScale | |
| from .patch_embed import PatchEmbed | |
| from .block import NestedTensorBlock | |
| from .attention import MemEffAttention | |
| from .rope_block import SelfAttentionBlock | |
| from .cva_head import CVAHead, IdentityHead | |
| from .swiglu_ffn import SwiGLUFFN, SwiGLUFFNFused | |
| from .rope_position_encoding import RopePositionEmbedding | |
| __all__ = [ | |
| "CVAHead", | |
| "RMSNorm", | |
| "IdentityHead", | |
| "DINOHead", | |
| "DropPath", | |
| "Block", | |
| "Mlp", | |
| "PatchEmbed", | |
| "LayerScale", | |
| "SwiGLUFFN", | |
| "SwiGLUFFNFused", | |
| "NestedTensorBlock", | |
| "MemEffAttention", | |
| "SelfAttentionBlock", | |
| "RopePositionEmbedding", | |
| ] | |