A constant value. It can be a scalar, vector, matrix, or tensor of floating point numbers that cannot be modified. A Constant is a Variable and therefore inherits all its methods.

Constant(value = NULL, shape = NULL, dtype = "float32", device = NULL,
  name = "")

Arguments

shape

- list of ints representing tensor shape

dtype

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

device

- instance of DeviceDescriptor

name

Details

****** Properties: ******

value