UserFunction: User Function

Description Usage Arguments Details

Description

Base class of all user extension functions.

Usage

1
UserFunction(inputs, as_matrix = TRUE, name = "")

Arguments

as_matrix

- whether to return as an R matrix. Defualt TRUE. Otherwise returns as Python CNTK value which avoids costly conversions

name

Details

If it has only one output, one can invoke Variable methods on it, which it will relay to its only output.

See ?Function for more info

****** Special Functions: ******

userfunc_clone

userfunc_deserialize

userfunc_infer_outputs

userfunc_serialize


Microsoft/CNTK-R documentation built on May 28, 2019, 1:52 p.m.