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).

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