Description
Implement the missing critical files to turn the mathematical simulation into a running Neural Network using candle-core and candle-nn.
Tasks
Technical Details
- Use
candle-core and candle-nn.
UNetAdapter should support predict_noise(latent, timestep).
HologramCodec should implement encode (Image -> HoloPacket) and decode (HoloPacket -> Image).
Description
Implement the missing critical files to turn the mathematical simulation into a running Neural Network using candle-core and candle-nn.
Tasks
crates/synapse-infra/src/adapters/unet_adapter.rs: Lightweight U-Net architecture.crates/synapse-infra/src/adapters/hologram_codec.rs: Bridge between HoloPacket and Image.crates/synapse-infra/src/adapters/diffusion_adapter.rs: Replace mock math with real U-Net prediction.Technical Details
candle-coreandcandle-nn.UNetAdaptershould supportpredict_noise(latent, timestep).HologramCodecshould implementencode(Image -> HoloPacket) anddecode(HoloPacket -> Image).