Vocabulary
tensors

Syntax
t{ elements... }


Inputs
None

Outputs
None

Word description
Initializes a tensor with the given elements. Preserves the shape of nested sequences. Assumes uniformly nested sequences.

Errors
Throws a non-uniform-seq-error if the given sequence have subsequences of varying lengths. Throws a lexer-error if the given sequence is not uniformly nested.

Definition