Very simple pyo3 bindings for candle.

This commit is contained in:
laurent
2023-07-01 20:36:44 +01:00
parent dd879f5b67
commit ebb0fedf14
6 changed files with 77 additions and 1 deletions

5
candle-pyo3/test.py Normal file
View File

@ -0,0 +1,5 @@
import candle
t = candle.Tensor(42.0)
print(t)
print(candle.add(t, 3.14))