Add some tensor creation functions to the pyo3 bindings. (#326)

This commit is contained in:
Laurent Mazare
2023-08-06 06:50:33 +01:00
committed by GitHub
parent b278834267
commit 88bd3b604a
3 changed files with 77 additions and 5 deletions

View File

@ -9,4 +9,9 @@ clean:
test:
cargo test
pyo3-test:
cargo build --profile=release-with-debug --package candle-pyo3
ln -f -s ./target/release-with-debug/libcandle.so candle.so
PYTHONPATH=. python3 candle-pyo3/test.py
all: test