Constant

class Constant(c, name='', qualname='')[source]

Constant represents a Tensor or “Module” which is not the attribute of a Module.

Parameters
  • c – a const Tensor or Module.

  • name (str) – the name of output Node.

value = None

The const Tensor or Module