Skip to content

kingjuno/lumine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lumine [WIP]

A small project offering a Python-wrapped C++ library for tensor operations.

Features

  • Both CPU and C++ code for tensor creation, shape queries, slicing, and basic arithmetic.
  • Python interface built using CFFI-like strategies via ctypes.

Installation

  1. Clone the repo:
    git clone https://github.com/kingjuno/lumine.git
    cd lumine
  2. Install Python dependencies:
    pip install -r requirements.txt
  3. Build with CMake:
    cmake -S cmake -B build
    cmake --build build
  4. Install the Python package:
    pip install -e .

Usage

After installation, import the Python API:

from lumine import tensor

arr = tensor([[1, 2], [3, 4]])
print(arr)  # Displays the 2D array

Contributing

Contributions are welcome. Submit pull requests or file issues.

License

This project is licensed under the MIT License.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published