Neural Network

Create a neural network model from scratch and bundle it as .apr.

cargo run --example create_apr_neural_network

Overview

This recipe demonstrates building a multi-layer neural network with forward propagation, storing weights in APR v2 format with LZ4 compression.

Key Concepts

  • Neural network weight initialization
  • Layer-by-layer tensor storage
  • APR v2 bundling with compression