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 May 29, 2024, 9:54 a.m.