• Github
  • MLC-LLM
  • MLC-Tutorial
  • Apache Homepage
  • License
  • Sponsorship
  • Security
  • Thanks
  • Events
  • Apache Homepage
  • License
  • Sponsorship
  • Security
  • Thanks
  • Events
Apache TVM Unity
0.16.dev0

Get Started

  • Overview
  • Installing Apache TVM Unity
  • Quick Start
  • IRModule

Deep Dive

  • TensorIR
    • Tensor Program Abstraction
    • Understand TensorIR Abstraction
    • TensorIR Creation
    • Transformation

References

  • API Reference
  • Publications
Table of Contents
  • Docs >
  • TensorIR
  • Edit on GitHub

TensorIR¶

TensorIR is one of the core abstraction in Apache TVM Unity stack, which is used to represent and optimize the primitive tensor functions.

  • Tensor Program Abstraction
    • Key Elements of Tensor Programs
    • Extra Structure in TensorIR
  • Understand TensorIR Abstraction
    • Function Parameters and Buffers
    • Loop Iterations
    • Computational Block
    • Block Axis Properties
    • Why Extra Information in Block
    • Sugars for Block Axes Binding
  • TensorIR Creation
    • Create TensorIR using TVMScript
    • Create TensorIR using Tensor Expression
  • Transformation
    • Initialization Schedule
    • Loop Tiling
    • Leverage Localities
    • Rewrite Reduction
    • Trace the Transformation
Next Previous
backtop
© 2023 Apache Software Foundation | All rights reserved
Copyright © 2023 The Apache Software Foundation. Apache TVM, Apache, the Apache feather, and the Apache TVM project logo are either trademarks or registered trademarks of the Apache Software Foundation.