gigl.env.pipelines_config#
Attributes#
Functions#
|
Function call to return a resource config wrapper object |
Checks if the resource config has been loaded. |
Module Contents#
- gigl.env.pipelines_config.get_resource_config(resource_config_uri=None)[source]#
Function call to return a resource config wrapper object Usage:
resource_config = get_resource_config() print(resource_config.trainer_config)
- Parameters:
resource_config_uri (Optional[gigl.common.Uri]) – Optional[Uri] = None The URI of the resource config file. If None, the function will try to load the resource config from the command-line argument –resource_config_uri or the environment variable RESOURCE_CONFIG_PATH. If these are not set, the function will try to load the resource config from the pipeline options.
- Returns:
- GiglResourceConfigWrapper
The resource config wrapper object
- Return type:
resource_config