Skip to content

← deep_learning package

NetMaterialize

Materialize a network module (subnet), which allows it to be wired into a larger computational graph along with input placeholders and other nodes (incl.

stateless math ops and other network nodes). Materialized subnets have implicit parameters (weights) that first need to be optimized before the network can be used. For this reason, a materialized subnet, along with its containing comptuational graph, is not directly callable with data, but instead it the computational graph needs to be wired into either a DeepModel or other high-level NN training node, OR it needs to be transformed into a functional form, which can be done by wiring the graph into a NetTransform node. Note that NetMaterialize also has a companion node NetShared, which allows you to use a materialized network in multiple places in a graph, and all of those places will share the same parameters. Version 0.2.0

Ports/Properties

definition

Network definition to use.

  • verbose name: Definition
  • default value: None
  • port type: DataPort
  • value type: BaseNode (can be None)
  • data direction: IN

output

Output of the network.

  • verbose name: Output
  • default value: None
  • port type: DataPort
  • value type: object (can be None)
  • data direction: OUT

arg1

Argument 1.

  • verbose name: Arg1
  • default value: None
  • port type: DataPort
  • value type: object (can be None)
  • data direction: IN

arg2

Argument 2.

  • verbose name: Arg2
  • default value: None
  • port type: DataPort
  • value type: object (can be None)
  • data direction: IN

arg3

Argument 3.

  • verbose name: Arg3
  • default value: None
  • port type: DataPort
  • value type: object (can be None)
  • data direction: IN

arg4

Argument 4.

  • verbose name: Arg4
  • default value: None
  • port type: DataPort
  • value type: object (can be None)
  • data direction: IN

arg5

Argument 5.

  • verbose name: Arg5
  • default value: None
  • port type: DataPort
  • value type: object (can be None)
  • data direction: IN

arg6

Argument 6.

  • verbose name: Arg6
  • default value: None
  • port type: DataPort
  • value type: object (can be None)
  • data direction: IN

arg7

Argument 7.

  • verbose name: Arg7
  • default value: None
  • port type: DataPort
  • value type: object (can be None)
  • data direction: IN

arg8

Argument 8.

  • verbose name: Arg8
  • default value: None
  • port type: DataPort
  • value type: object (can be None)
  • data direction: IN

arg9

Argument 9.

  • verbose name: Arg9
  • default value: None
  • port type: DataPort
  • value type: object (can be None)
  • data direction: IN

argN

Additional arguments.. .

  • verbose name: Argn
  • default value: None
  • port type: DataPort
  • value type: list (can be None)
  • data direction: IN

name1

Name 1.

  • verbose name: Name1
  • default value: None
  • port type: StringPort
  • value type: str (can be None)

val1

Value 1.

  • verbose name: Val1
  • default value: None
  • port type: DataPort
  • value type: object (can be None)
  • data direction: IN

name2

Name 2.

  • verbose name: Name2
  • default value: None
  • port type: StringPort
  • value type: str (can be None)

val2

Value 2.

  • verbose name: Val2
  • default value: None
  • port type: DataPort
  • value type: object (can be None)
  • data direction: IN

name3

Name 3.

  • verbose name: Name3
  • default value: None
  • port type: StringPort
  • value type: str (can be None)

val3

Value 3.

  • verbose name: Val3
  • default value: None
  • port type: DataPort
  • value type: object (can be None)
  • data direction: IN

name4

Name 4.

  • verbose name: Name4
  • default value: None
  • port type: StringPort
  • value type: str (can be None)

val4

Value 4.

  • verbose name: Val4
  • default value: None
  • port type: DataPort
  • value type: object (can be None)
  • data direction: IN

name5

Name 5.

  • verbose name: Name5
  • default value: None
  • port type: StringPort
  • value type: str (can be None)

val5

Value 5.

  • verbose name: Val5
  • default value: None
  • port type: DataPort
  • value type: object (can be None)
  • data direction: IN

name6

Name 6.

  • verbose name: Name6
  • default value: None
  • port type: StringPort
  • value type: str (can be None)

val6

Value 6.

  • verbose name: Val6
  • default value: None
  • port type: DataPort
  • value type: object (can be None)
  • data direction: IN

name7

Name 7.

  • verbose name: Name7
  • default value: None
  • port type: StringPort
  • value type: str (can be None)

val7

Value 7.

  • verbose name: Val7
  • default value: None
  • port type: DataPort
  • value type: object (can be None)
  • data direction: IN

name8

Name 8.

  • verbose name: Name8
  • default value: None
  • port type: StringPort
  • value type: str (can be None)

val8

Value 8.

  • verbose name: Val8
  • default value: None
  • port type: DataPort
  • value type: object (can be None)
  • data direction: IN

name9

Name 9.

  • verbose name: Name9
  • default value: None
  • port type: StringPort
  • value type: str (can be None)

val9

Value 9.

  • verbose name: Val9
  • default value: None
  • port type: DataPort
  • value type: object (can be None)
  • data direction: IN

nameN

Additional argument names.. .

  • verbose name: Namen
  • default value: None
  • port type: ListPort
  • value type: list (can be None)

valN

Additional named argument values.. .

  • verbose name: Valn
  • default value: None
  • port type: DataPort
  • value type: list (can be None)
  • data direction: IN

arg0

Argument 0.

  • verbose name: Arg0
  • default value: None
  • port type: DataPort
  • value type: object (can be None)
  • data direction: IN

name0

Name 0.

  • verbose name: Name0
  • default value: None
  • port type: StringPort
  • value type: str (can be None)

val0

Value 0.

  • verbose name: Val0
  • default value: None
  • port type: DataPort
  • value type: object (can be None)
  • data direction: IN

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)