Skip to content

← deep_learning package

ConstantInitializer

An initializer that always returns the same constant value.

Can be used to initialize neural net weights to e.g., zeros or ones. Version 0.5.0

Ports/Properties

constant

Constant value.

  • verbose name: Constant
  • default value: 0
  • port type: FloatPort
  • value type: float (can be None)

set_breakpoint

Set a breakpoint on this node. If this is enabled, your debugger (if one is attached) will trigger a breakpoint.

  • verbose name: Set Breakpoint (Debug Only)
  • default value: False
  • port type: BoolPort
  • value type: bool (can be None)

metadata

User-definable meta-data associated with the node. Usually reserved for technical purposes.

  • verbose name: Metadata
  • default value: {}
  • port type: DictPort
  • value type: dict (can be None)