Installation
Requirements
Python >= 3.9
PyTorch
PLY
NumPy
Install from source
git clone https://github.com/deepforestsci/physika.git
cd physika
pip install -e ".[dev]"
Running a program
physika examples/example_arrays.phyk
Flags
--print-astPrint the parsed Abstract Syntax Tree and exit.
--print-codePrint the generated PyTorch source code and exit.