gpu#

eclypse.graph.assets.defaults.gpu(lower_bound=0.0, upper_bound=1000000000.0, init_fn_or_value=None)[source]#

Create a new additive asset for GPU.

Parameters:
  • lower_bound (float) – The lower bound of the asset.

  • upper_bound (float) – The upper bound of the asset.

  • init_fn_or_value (PrimitiveType | AssetSpace | Callable[[], Any] | None) – The function/scalar to initialize the gpu value.

Returns:

The GPU asset.

Return type:

Additive