Creates a parameter tensor

op_parameter(shape = NULL, init = NULL, dtype = "auto", device = NULL,
  name = "")

Arguments

shape

- list of ints representing tensor shape

init

(scalar or matrix or initializer, defaults to init_glorot_uniform()) – initial value of weights W

dtype

character for data type to be used ("float32", "float64", or "auto")

device

character of instance of DeviceDescriptor

name

character of the name of the Function instance in the network