ArtifactUploader Class

Uploads explanation data to run history.

Initialize the upload mixin by setting up the storage policy.

Inheritance
azureml._logging.chained_identity.ChainedIdentity
ArtifactUploader

Constructor

ArtifactUploader(run, max_num_blocks=None, block_size=None, **kwargs)

Parameters

Name Description
run
Required
max_num_blocks
Default value: None
block_size
Default value: None

Methods

upload_sharded_artifact_list

Upload data to sharded run history artifacts from a list.

upload_single_artifact_list

Upload data to individual run history artifacts from a list.

upload_sharded_artifact_list

Upload data to sharded run history artifacts from a list.

upload_sharded_artifact_list(summary_object, artifact_tuple_list, explanation_id)

Parameters

Name Description
summary_object
Required

The object which aggregates metadata about the uploaded artifacts.

artifact_tuple_list
Required
(str, list)

A list with names and values for each data type.

explanation_id
Required
str

The explanation ID the artifacts should be uploaded under.

upload_single_artifact_list

Upload data to individual run history artifacts from a list.

upload_single_artifact_list(summary_object, artifact_tuple_list, explanation_id)

Parameters

Name Description
summary_object
Required

The object which aggregates metadata about the uploaded artifacts.

artifact_tuple_list
Required
(str, list, dict or None, str)

A list with names, values, optional metadata and serialization format for each data type. The serialization format can be JSON or pickle.

explanation_id
Required
str

The explanation ID the artifacts should be uploaded under