func_forward: Compute Function Forward

Description Usage Arguments

Description

Computes the values of speficied variables in outputs, using values provided in arguments that correspond to each input Variable of the function (i.e. those that have is_input = True).

Usage

1
2
func_forward(func, arguments, outputs = NULL, keep_for_backward = NULL,
  device = NULL, as_matrix = TRUE)

Arguments

func

- The CNTK 'Function' instance on which to apply the operation

device

- instance of DeviceDescriptor

as_matrix

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


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