View source: R/PipeOpTaskPreprocTorch.R
pipeop_preproc_torch | R Documentation |
Function to create objects of class PipeOpTaskPreprocTorch
in a more convenient way.
Start by reading the documentation of PipeOpTaskPreprocTorch
.
pipeop_preproc_torch(
id,
fn,
shapes_out = NULL,
param_set = NULL,
packages = character(0),
rowwise = FALSE,
parent_env = parent.frame(),
stages_init = NULL,
tags = NULL
)
id |
( |
fn |
( |
shapes_out |
( |
param_set |
( |
packages |
( |
rowwise |
( |
parent_env |
( |
stages_init |
( |
tags |
( |
An R6Class
instance inheriting from PipeOpTaskPreprocTorch
PipeOpPreprocExample = pipeop_preproc_torch("preproc_example", function(x, a) x + a)
po_example = PipeOpPreprocExample$new()
po_example$param_set
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.