Skip to content

Getting Started

Welcome to TensorPlay! This guide will help you get started with the framework.

Introduction

TensorPlay is an education-oriented deep learning framework designed to be compatible with PyTorch while offering unique features for custom hardware and static graph optimization.

Quick Installation

You can install TensorPlay via pip:

bash
pip install tensorplay

First Steps

To start using TensorPlay, you can create a simple tensor and perform basic operations:

python
import tensorplay as tp

# Create a tensor
x = tp.tensor([1, 2, 3])
y = tp.tensor([4, 5, 6])

# Basic operations
z = x + y
print(z)

Next Steps

Released under the Apache 2.0 License.

📚DeepWiki