unreal.Conv2dObservationParams

class unreal.Conv2dObservationParams(input_height: int = 0, input_width: int = 0, channels: int = 0, out_channels: int = 0, kernel_size: int = 0, stride: int = 0, padding: int = 0, activation_function: LearningAgentsActivationFunction = Ellipsis)

Bases: StructBase

A wrapper of Conv2d observation parameters

C++ Source:

  • Plugin: LearningAgents

  • Module: LearningAgents

  • File: LearningAgentsObservations.h

Editor Properties: (see get_editor_property/set_editor_property)

  • activation_function (LearningAgentsActivationFunction): [Read-Write] Activation applied after the convolution.

  • channels (int32): [Read-Write] Number of input channels.

  • input_height (int32): [Read-Write] Height of the 2D input.

  • input_width (int32): [Read-Write] Width of the 2D input.

  • kernel_size (int32): [Read-Write] Size of the convolution kernel. (3 -> (3x3), 5 -> (5x5) etc)

  • out_channels (int32): [Read-Write] Number of output channels.

  • padding (int32): [Read-Write] Amount of zero‑padding on each side.

  • stride (int32): [Read-Write] Stride of the convolution.

property activation_function: LearningAgentsActivationFunction

[Read-Write] Activation applied after the convolution.

Type:

(LearningAgentsActivationFunction)

property channels: int

[Read-Write] Number of input channels.

Type:

(int32)

property input_height: int

[Read-Write] Height of the 2D input.

Type:

(int32)

property input_width: int

[Read-Write] Width of the 2D input.

Type:

(int32)

property kernel_size: int

[Read-Write] Size of the convolution kernel. (3 -> (3x3), 5 -> (5x5) etc)

Type:

(int32)

property out_channels: int

[Read-Write] Number of output channels.

Type:

(int32)

property padding: int

[Read-Write] Amount of zero‑padding on each side.

Type:

(int32)

property stride: int

[Read-Write] Stride of the convolution.

Type:

(int32)