ToTensor: ToTensor

View source: R/vision_core.R

ToTensorR Documentation

ToTensor

Description

Convert item to appropriate tensor class

Usage

ToTensor(enc = NULL, dec = NULL, split_idx = NULL, order = NULL)

Arguments

enc

encoder

dec

decoder

split_idx

int, split by index

order

order

Value

None


fastai documentation built on June 22, 2024, 11:15 a.m.