value_create: Create a Value Object

Description Usage Arguments

Description

Creates a Value object

Usage

1
2
value_create(var, data, seq_starts = NULL, device = NULL,
  read_only = FALSE)

Arguments

var

(Variable) variable into which data is passed

data

matrix denoting the full minibatch or one parameter or constant

seq_starts

(list of bools or NULL) if None, every sequence is treated as a new sequence. Otherwise, it is interpreted as a list of Booleans that tell whether a sequence is a new sequence (True) or a continuation of the sequence in the same slot of the previous minibatch (False)

device

instance of DeviceDescriptor

read_only

(bool) whether the data can be modified


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