协作头脑风暴
brainstorming
在实现前澄清需求、探索设计选择,并形成清晰的开发方向。
distributions-transforms【开发与工程】Choose, instantiate, validate, sample, score, transform, compose, and debug NumPyro distributions, constraints, transforms, and shape semantics.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this sub-skill when the task is about distribution objects rather than full NumPyro model execution: choosing a distribution, constructing it with valid parameters, sampling and scoring values, interpreting batch_shape/event_shape, validating support, masking/expanding distributions, composing bijective transforms, or debugging finite log_prob issues.
Delta, zero-inflated, or transformed distributions.sample_shape + batch_shape + event_shape behavior.expand, mask, to_event, or Independent for a distribution object.biject_to, enable_validation, or validation_enabled.AffineTransform, ComposeTransform, StickBreakingTransform, LowerCholeskyTransform, HaarTransform, or DiscreteCosineTransform.numpyro.sample, plate, handlers, or model traces, route to ../modeling-primitives/. If they ask to run MCMC/SVI, route to ../mcmc-diagnostics/ or ../svi-autoguides/.Delta, TransformedDistribution, Independent, expand, and mask.sample_shape, batch_shape, event_shape, and resulting log_prob shape using references/shape-and-support.md.support, constraints, constructor validate_args=True, and validation_enabled(True) while debugging outside JIT/vmap.biject_to(constraint) for constrained latent variables, then run a round-trip/log-det check from references/transform-workflows.md.../modeling-primitives/ for numpyro.sample, plate, handlers.mask, handlers.reparam, format_shapes, and model inspection.../mcmc-diagnostics/ for MCMC, NUTS, HMC, divergences, predictive sampling, and log likelihood workflows.../svi-autoguides/ for SVI, ELBOs, guide parameters, autoguides, and enumeration choices.../advanced-contrib/; return here only for core NumPyro distribution shape/support/transform mechanics.