mars-project / mars-project/mars

Support constant folding in tensor graphs

Open
#531 0 comments 0 reactions 0 assignees View on GitHub
mod: tensor type: feature
Dominant language
Python
Stars
2.7k
Forks
325
PR merge metrics
No merged PRs in 30d

Description

**Is your feature request related to a problem? Please describe.**
When input tensors are constants, for instance, ``TensorOnes``, ``TensorZeros`` or ``arange``, descendants of these tensors can be greatly simplified utilizing constant folding techniques.

Contributor guide

Open the contributing guide

Research direction

No files, tests, or entry points are named. Start by locating the tensor graph implementation and the TensorOnes, TensorZeros, and arange constructors; clarify how descendants should be simplified and define completion around constant folding for those inputs.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
machine-learning
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.