mirror of
https://github.com/huggingface/candle.git
synced 2025-06-16 10:38:54 +00:00
Very simple pyo3 bindings for candle.
This commit is contained in:
5
candle-pyo3/test.py
Normal file
5
candle-pyo3/test.py
Normal file
@ -0,0 +1,5 @@
|
||||
import candle
|
||||
|
||||
t = candle.Tensor(42.0)
|
||||
print(t)
|
||||
print(candle.add(t, 3.14))
|
Reference in New Issue
Block a user