cpu#
- eclypse.graph.assets.defaults.cpu(lower_bound=0.0, upper_bound=1000000000.0, init_fn_or_value=None)[source]#
Create a new additive asset for CPU.
- 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 cpu value.
- Returns:
The CPU asset.
- Return type: