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 March 21, 2022, 9:07 a.m.