Neural Network Module Architecture Schema

Type: object
No Additional Properties

Type: string
Must match regular expression: ^[A-Za-z_][0-9A-Za-z_]*$

Type: string
Must match regular expression: ^[^<>]+$

Must be at least 8 characters long

Type: array

Must contain a minimum of 1 items

Each item of this array must be:

Type: object

Type: object

If the conditions in the "If" tab are respected, then the conditions in the "Then" tab should be respected. Otherwise, the conditions in the "Else" tab should be respected.

Type: object

Type: enum (of string)

Must be one of:

  • "Sequential"
  • "Group"
Type: object

The following properties are required:

  • blocks

Must not be:

Type: object

The following properties are required:

  • blocks
Type: object

If the conditions in the "If" tab are respected, then the conditions in the "Then" tab should be respected. Otherwise, the conditions in the "Else" tab should be respected.

Type: object

Type: const
Specific value: "Group"
Type: object

The following properties are required:

  • graph
  • input
  • output

Must not be:

Type: object

The following properties are required:

  • graph
  • input
  • output
Type: object

If the conditions in the "If" tab are respected, then the conditions in the "Then" tab should be respected. Otherwise, the conditions in the "Else" tab should be respected.

Type: object

Type: const
Specific value: "Module"
Type: object

The following properties are required:

  • _path

Must not be:

Type: object

The following properties are required:

  • _path
  • _ext_vars
  • architecture
Type: object

If the conditions in the "If" tab are respected, then the conditions in the "Then" tab should be respected. Otherwise, the conditions in the "Else" tab should be respected.

Type: object

Type: const
Specific value: "Sequential"
Type: object

Type: object
Type: object

If the conditions in the "If" tab are respected, then the conditions in the "Then" tab should be respected. Otherwise, the conditions in the "Else" tab should be respected.

Type: object

Type: const
Specific value: "Concatenate"
Type: object

The following properties are required:

  • dim
Type: object

If the conditions in the "If" tab are respected, then the conditions in the "Then" tab should be respected. Otherwise, the conditions in the "Else" tab should be respected.

Type: object

Type: const
Specific value: "Reshape"
Type: object

The following properties are required:

  • reshape_spec

Must not be:

Type: object

The following properties are required:

  • reshape_spec

Type: object
No Additional Properties

Type: array

Must contain a minimum of 1 items

Each item of this array must be:


Type: integer

Value must be greater or equal to 1

Type: string
Must match regular expression: ^(<<variable:([-+/*0-9A-Za-z_]+)>>|<<auto>>)$

Type: string
Must match regular expression: .+\.jsonnet

Type: object

Type: array of string
Same definition as graph

Type: integer

Type: object

Type: const
Specific value: "flatten"
Type: array

Must contain a minimum of 1 items

Each item of this array must be:


Type: integer

Value must be greater or equal to 0

Type: array

Must contain a minimum of 2 items

Each item of this array must be:

Type: object
No Additional Properties

All property whose name matches the following regular expression must respect the following conditions

Property name regular expression: ^[0-9]+$
Type: array

Must contain a minimum of 2 items

Each item of this array must be:


Type: integer

Value must be greater or equal to 1

Type: string
Must match regular expression: ^(<<variable:([-+/*0-9A-Za-z_]+)>>|<<auto>>)$

Type: array of string

Must contain a minimum of 1 items

Each item of this array must be:

Type: string
Must match regular expression: ^[A-Za-z_][0-9A-Za-z_]*( +-> +[A-Za-z_][0-9A-Za-z_]*)+$

Type: array of object

Must contain a minimum of 1 items

Each item of this array must be:

Type: object
No Additional Properties

Type: array

Must contain a minimum of 1 items

Each item of this array must be:


Type: integer

Value must be greater or equal to 1

Type: string
Must match regular expression: ^(<<variable:([-+/*0-9A-Za-z_]+)>>|<<auto>>)$

Type: array of object
Same definition as inputs