Box#

class hybrid_aif.Box[source]#

Bases: Module

A continuous control node’s support: dim numbers in [low, high] elementwise.

Every bound is finite and low < high in every dimension. Concrete bounds are checked here and again where control_space() reads the box; traced ones there, by equinox.error_if.

__init__(low, high)[source]#
low: Array#

The lower bounds, a float (dim,) array (a scalar broadcasts to high’s shape).

high: Array#

The upper bounds, a float (dim,) array (a scalar broadcasts to low’s shape).