TorchLean API

NN.Runtime.RL.Artifacts.GridWorld.Path

GridWorld Path-Difference Artifacts #

A PathDiff stores before/after episode trajectories for a fixed GridWorld. It uses the shared position codec and validates that every recorded (row, col) stays inside the declared grid.

Rollout paths #

Before/after episode path snapshots for a fixed width × height GridWorld.

Each position is stored as a pair (row, col) with row < height and col < width.

Instances For

    Validate a PathDiff record (positions are in bounds).

    Instances For

      Write a PathDiff JSON file to disk (creating parent directories if needed).

      Instances For