jit_tuple: Adds the 'jit_tuple' class to the input

View source: R/ivalue.R

jit_tupleR Documentation

Adds the 'jit_tuple' class to the input

Description

Allows specifying that an output or input must be considered a jit tuple and instead of a list or dictionary when tracing.

Usage

jit_tuple(x)

Arguments

x

the list object that will be converted to a tuple.


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