Routes 3D ResNets PyTorch video action-recognition workflows across training, inference, and data preparation.
The English summary is being prepared. Showing the original description.
Use the einops Python package for readable tensor rearrangement, reductions, repetition, named-axis einsum, packing, framework layers, and repository maintenance workflows.
The English summary is being prepared. Showing the original description.
See how to installReview the instructions the agent will receive before you install.
Use this repo skill when a task involves the einops Python package: readable
and shape-checked tensor manipulation, named axes, deep-learning tensor
refactors, reversible token/feature packing, optional framework layers, or
maintainer workflows for the einops repository.
Public package install:
pip install einops
einops declares no runtime dependencies. Install NumPy, PyTorch, TensorFlow,
JAX, or another tensor framework separately according to the user's project.
For a minimal core check with NumPy installed:
import numpy as np
from einops import rearrange, reduce, repeat
x = np.arange(2 * 3 * 4).reshape(2, 3, 4)
assert rearrange(x, "batch channel time -> batch time channel").shape == (2, 4, 3)
assert reduce(x, "batch channel time -> batch time", "sum").shape == (2, 4)
assert repeat(x, "batch channel time -> batch channel time copy", copy=2).shape == (2, 3, 4, 2)
For a bundled diagnostic, run
scripts/check_einops_install.py after
installing einops and, for the full smoke, numpy.
sub-skills/tensor-operations/:
use rearrange, reduce, repeat, parse_shape, and asnumpy for core
tensor shape transformations, pooling, broadcasting, stack/concatenate,
ellipsis, and pattern troubleshooting.sub-skills/named-einsum-and-packing/:
use einsum, pack, and unpack for named-axis contractions, attention-like
dot products, class-token/multimodal packing, packed-shape (PS) handling,
and reversible split/merge workflows.sub-skills/framework-integrations/:
use optional backend dispatch, Array API functions, framework layers,
EinMix, torch scripting/compilation notes, and missing optional dependency
diagnostics.sub-skills/repo-development/:
use maintainer guidance for focused tests, backend selection,
EINOPS_TEST_BACKENDS, docs/notebook checks, formatting/type checks, CI
matrix interpretation, and release/deploy boundaries.reshape, view, permute,
transpose, pooling, tiling, broadcasting, or shape parsing, start with
tensor-operations.named-einsum-and-packing and remember that einops.einsum takes
tensors first and the pattern last.pack/unpack rather than manual slices.Sequential, use
framework-integrations.repo-development instead of package-usage routes.references/repo-provenance.md: source
commit, tag, package version, evidence paths, and refresh cues.references/repo-routing-metadata.json:
structured scenario metadata for DisCo repo-skill routing if imported later.references/troubleshooting.md: cross-cutting
install/import, optional dependency, backend, and stale-skill troubleshooting.batch, channel, height, width) in
examples that explain user intent.(height h2), supply or validate lengths that
cannot be inferred safely.Read references/repo-provenance.md before deciding this skill is current for a
checkout. Refresh the repo skill if the package version, public API exports,
pattern grammar, backend list, layer modules, native test runner, docs scripts,
CI matrix, or relevant evidence paths changed since the recorded snapshot.
No reviews yet. Tell others what you thought.
No login needed. Share how it worked for you, ask a question, or note where it did not run.
No comments yet. Be the first to write one.
Routes 3D ResNets PyTorch video action-recognition workflows across training, inference, and data preparation.
The English summary is being prepared. Showing the original description.
Guide 3DDFA Python inference, geometry rendering, training/evaluation, and optional C++ ONNX workflows for 3D dense face alignment.
The English summary is being prepared. Showing the original description.
Routes 3DDFA_V2 face-alignment setup, still-image demos, video tracking, and ONNX benchmarking workflows.
The English summary is being prepared. Showing the original description.
Operate AB3DMOT 3D multi-object tracking workflows for KITTI and nuScenes data, tracking, evaluation, and visualization.
The English summary is being prepared. Showing the original description.
Use Hugging Face Accelerate for PyTorch training-loop migration, distributed launch/configuration, DeepSpeed/FSDP/TPU backend setup, big-model inference/offload, checkpointing, tracking, and troubleshooting.
The English summary is being prepared. Showing the original description.
Route Acme reinforcement-learning framework tasks across core loops, replay/data, JAX agents, and TensorFlow/Sonnet agents.
The English summary is being prepared. Showing the original description.