Document type promotion if/when we implement it

Open
#59 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Documentation
Clarity
Needs clarification
Activity status
Stale
Domain
documentation

Research direction

Start with the linked Triton type-promotion section and review TensorLib's current explicit .astype behavior. Confirm whether automatic promotion has been implemented; done means documenting the supported promotion rules and whether users still need astype, including the stated broadcast behavior.

Written by the indexing model from the issue text.

Description

Triton has a nice section on type promotion. We currently only implement explicit casting using .astype. If/when we move to automatic promotion we should document it like the Triton folks. (We don't require manual broadcastTo so I guess we shouldn't require astype.)

Dominant language
Lean
Stars
49
Forks
10
Avg merge
4d 21h
Merged PRs (30d)
2

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from leanprover/TensorLib

All issues in leanprover/TensorLib

Similar issues

More Documentation issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.