unreal.NearestNeighborNetworkLayer

class unreal.NearestNeighborNetworkLayer(outer: Object | None = None, name: Name | str = 'None')

Bases: Object

A general network layer that contains a list of parameters. The Run() method should be implemented by child classes

C++ Source:

  • Plugin: NearestNeighborModel

  • Module: NearestNeighborModel

  • File: NearestNeighborOptimizedNetwork.h

Editor Properties: (see get_editor_property/set_editor_property)

  • num_inputs (int32): [Read-Write] The weight matrix number of inputs (rows).

  • num_outputs (int32): [Read-Write] The weight matrix number of outputs (columns).

add_parameter(values, shape) None

Add Parameter

Parameters:
property num_inputs: int

[Read-Write] The weight matrix number of inputs (rows).

Type:

(int32)

property num_outputs: int

[Read-Write] The weight matrix number of outputs (columns).

Type:

(int32)