Files
candle/candle-pyo3/test.py
2023-07-01 21:27:35 +01:00

7 lines
93 B
Python

import candle
t = candle.Tensor(42.0)
print(t)
print("shape", t.shape, t.rank)
print(t + t)