gigl.src.validation_check.libs.frozen_config_path_checks#

Attributes#

Functions#

assert_asset_exists(resource_name, uri[, file_name_suffix])

assert_preprocessed_metadata_exists(gbml_config_pb)

Check if preprocessed metadata file exists.

assert_split_generator_output_exists(gbml_config_pb)

Check if split generator output files exist.

assert_subgraph_sampler_output_exists(gbml_config_pb)

Check if subgraph sampler output files exist.

assert_trained_model_exists(gbml_config_pb)

Check if trained model file exists.

Module Contents#

gigl.src.validation_check.libs.frozen_config_path_checks.assert_asset_exists(resource_name, uri, file_name_suffix=None)[source]#
Parameters:
  • resource_name (str)

  • uri (gigl.common.Uri)

  • file_name_suffix (Optional[str])

Return type:

None

gigl.src.validation_check.libs.frozen_config_path_checks.assert_preprocessed_metadata_exists(gbml_config_pb)[source]#

Check if preprocessed metadata file exists.

Parameters:

gbml_config_pb (snapchat.research.gbml.gbml_config_pb2.GbmlConfig)

Return type:

None

gigl.src.validation_check.libs.frozen_config_path_checks.assert_split_generator_output_exists(gbml_config_pb)[source]#

Check if split generator output files exist.

Parameters:

gbml_config_pb (snapchat.research.gbml.gbml_config_pb2.GbmlConfig)

Return type:

None

gigl.src.validation_check.libs.frozen_config_path_checks.assert_subgraph_sampler_output_exists(gbml_config_pb)[source]#

Check if subgraph sampler output files exist.

Parameters:

gbml_config_pb (snapchat.research.gbml.gbml_config_pb2.GbmlConfig)

Return type:

None

gigl.src.validation_check.libs.frozen_config_path_checks.assert_trained_model_exists(gbml_config_pb)[source]#

Check if trained model file exists.

Parameters:

gbml_config_pb (snapchat.research.gbml.gbml_config_pb2.GbmlConfig)

Return type:

None

gigl.src.validation_check.libs.frozen_config_path_checks.file_loader[source]#
gigl.src.validation_check.libs.frozen_config_path_checks.logger[source]#