copapy.value#

class copapy.value(source, dtype=None)#

Bases: Generic[TNum]

A “value” represents a typed scalar variable. It supports arithmetic and comparison operations.

dtype#

Data type of this value.

Type:

str

Instance a value.

Parameters:
  • dtype (str | None) – Data type of this value.

  • net – Reference to the underlying Net in the graph