Skip to content

Class ObservableFunction

The class ObservableFunction manages the observable functions of the system.

API Documentation

dim property

The dimension of the output.

Returns:

Type Description
int

The dimension of the output.

__call__(x)

Apply the observable functions to the input.

Parameters:

Name Type Description Default
x Tensor

The input state of the size \((N, N_x)\)

required

Returns:

Type Description
Tensor

The output of the observable functions.

__init__(func, dim_output)

Observable functions of the dynamical system.

Parameters:

Name Type Description Default
func torch.Tensor -> torch.Tensor

Observable functions \((N, N_x) \rightarrow (N, N_g)\)

required
dim_output int

The dimension of the output \(N_g\).

required