tests/testthat/_snaps/nn.md

print method works

An `nn_module` containing 221 parameters.

── Modules ───────────────────────────────────────
• linear: <nn_linear> #110 parameters
• linear2: <nn_linear> #11 parameters

── Parameters ────────────────────────────────────
• x: Float [1:10, 1:10]

── Buffers ───────────────────────────────────────
• k: Float [1:5, 1:5]


Try the torch package in your browser

Any scripts or data that you put into this service are public.

torch documentation built on June 7, 2023, 6:19 p.m.