logo
  • Community
  • Download
  • Blog
  • Docs
  • Conference
  • Github
  • Apache Homepage
  • License
  • Sponsorship
  • Security
  • Thanks
  • Events
  • Apache Homepage
  • License
  • Sponsorship
  • Security
  • Thanks
  • Events
tvm

Getting Started

  • Overview
  • Installing TVM
  • Quick Start
  • IRModule

How To

  • End-to-End Optimize Model
  • Customize Optimization
  • Optimize Large Language Model
  • Cross Compilation and RPC
  • Development Guides

Deep Dive

  • Design and Architecture
  • TensorIR
    • Tensor Program Abstraction
    • Understand TensorIR Abstraction
    • TensorIR Creation
    • Transformation
  • Relax

API Reference

  • Python API
  • Other APIs

About

  • Contributor Guide
  • Publications
  • Security Guide

Index

  • Index
Table of Contents
  • Docs >
  • TensorIR
  • Edit on GitHub

TensorIR

TensorIR is one of the core abstraction in Apache TVM 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
© 2024 Apache Software Foundation | All rights reserved
Copyright © 2024 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.