A test implementation of hugging face candle https://github.com/huggingface/candle
- Rust 100%
Add tensor initialization and inference code - Initializes the tensors `first` and `second` with zeros using a specific device - Creates a `Model` instance with the initialized tensors - Generates a dummy image tensor - Performs a forward pass on the model using the dummy image - Prints the resulting digit This commit adds code to initialize the tensors and perform inference on a dummy image, printing the resulting digit. |
||
|---|---|---|
| .idea | ||
| src | ||
| .gitignore | ||
| Cargo.lock | ||
| Cargo.toml | ||