Skip to content

package/@greenpandastudios/aug-pytorch@0.2.0/contracts.aug diagrams ​

CPU tensors with PyTorch

Project overview · Compiled explanation

Sequences ​

Call arrows identify checked targets; loop and branch frames determine when they run. Open that target’s module to follow its implementation. Branches describe alternatives; loops describe repeated work. Native calls and interface dispatch stop at their declared contracts. Exit notes end that path; enclosing recovery and cleanup remain visible.

TensorError constructor ​

It implements Error.

It takes code as an integer, kept read-only and message as a string, kept read-only.

Receive fields: code, message. Explanation.

TensorError.explain ​

Explain the native failure without losing its original message.

Return message; required cleanup runs before exit. Explanation.

Last updated:

The world runs on language