Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
    • Help
    • Submit feedback
    • Contribute to GitLab
  • Sign in
I
imagej_elphel_dnn
  • Project
    • Project
    • Details
    • Activity
    • Releases
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
  • Issues 0
    • Issues 0
    • List
    • Board
    • Labels
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Charts
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Elphel
  • imagej_elphel_dnn
  • Repository

Switch branch/tag
  • imagej_elphel_dnn
  • export_torchscript.py
Find file
BlameHistoryPermalink
  • Andrey Filippov's avatar
    CLAUDE: emit model meta sidecar (.meta.json) on L1/L2 TorchScript export · 07c31b7d
    Andrey Filippov authored Jun 27, 2026
    Each export now writes a small <model>.ts.pt.meta.json so the native side
    (tp_dnn.cpp / CuasDnnLocal, pieces 3-4) reads the model's params from a bundled
    sidecar instead of hardcoding them — single source of truth.
      L1: {N, P, vr, out_ch, velocity_mode, vmax}
      L2: {ch_hidden, vmax, grid, ch_in}
    Co-Authored-By: 's avatarClaude Opus 4.8 (1M context) <noreply@anthropic.com>
    07c31b7d
export_torchscript.py 3.1 KB
EditWeb IDE

Replace export_torchscript.py

Attach a file by drag & drop or click to upload


Cancel
A new branch will be created in your fork and a new merge request will be started.