pypto-api

Document PyPTO API signatures and constraints for Ascend kernel development.

258|48|Updated Jun 22, 2020
One-click install
npx skills add https://github.com/mindspore-ai/akg --skill pypto-api-mindspore-ai
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pypto-api
Source: https://github.com/mindspore-ai/akg/tree/main/akg_agents/python/akg_agents/op/resources/skills/pypto/guides/pypto-api
Command: npx skills add https://github.com/mindspore-ai/akg --skill pypto-api-mindspore-ai

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

PyPTO API signatures and constraints are paged into a concise guide, enabling developers to quickly consult API usage without hunting through source files.

Core Features & Use Cases

  • Reference: Kernel decorator, tensor operations, tile/config APIs, arithmetic, math functions, reductions, matmul, and type conversions for PyPTO DSL on Ascend backend.
  • Use Case: A kernel author needs to verify API signatures and constraints before implementation to ensure correct typing and usage.
  • Example: Looking up the API signature for pypto.Tensor or pypto.matmul to implement a kernel.

Quick Start

Use this guide to quickly locate PyPTO API usage for a sample kernel and tensor operations.

Frequently Asked Questions about pypto-api

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I look up PyPTO API signatures for kernel development on Ascend?

Look up PyPTO API signatures by consulting the paged guide covering the kernel decorator, tensor operations, tiling, math, reduction, and matmul APIs for Ascend kernel development with structured types and constraints.

What PyPTO tensor operations and math functions are available for DSL kernels?

Available PyPTO DSL kernel operations include tensor operations, arithmetic, math functions, reductions, matmul, and type conversions for kernel development using the Ascend backend.

Can I find input and output type constraints for PyPTO matmul APIs?

Yes, you can find input and output type constraints for PyPTO matmul APIs documented in the frontmatter metadata and in-code examples to ensure correct typing and usage.

Does the PyPTO API reference include tiling and configuration APIs?

Yes, the PyPTO API reference includes tile and config APIs alongside the kernel decorator and tensor operations, providing structured API signatures and usage constraints for Ascend backend development.

What is the best way to verify PyPTO API usage constraints before implementing a kernel?

The best way to verify PyPTO API usage constraints is consulting this concise guide, which pages API signatures and constraints directly from source files to prevent incorrect typing during kernel implementation.