pypto-case-loss-crossentropy
CommunityCross-entropy loss demo with multi-input kernels
Authorxchang1121
Version1.0.0
Installs0
System Documentation
What problem does it solve?
模式 D 示例:Loss — CrossEntropyLoss,展示多输入 kernel、两段 tile、softmax+gather+sum、标量输出
Core Features & Use Cases
- 两阶段 tile 配置:不同阶段用不同 tile 设置
- per-sample softmax + gather:按 targets 的索引选取对数概率并求和
- 标量输出:最终输出一个标量损失用于回传
Quick Start
Follow this pattern to instantiate a cross-entropy loss kernel and run it on a batch of predictions and targets to obtain the averaged loss.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: pypto-case-loss-crossentropy Download link: https://github.com/xchang1121/AutoResearch-CC-hook/archive/main.zip#pypto-case-loss-crossentropy Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.