ArtifactUploader Class
Uploads explanation data to run history.
Initialize the upload mixin by setting up the storage policy.
- Inheritance
-
azureml._logging.chained_identity.ChainedIdentityArtifactUploader
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
|
A list with names and values for each data type. |
explanation_id
Required
|
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
|
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
|
The explanation ID the artifacts should be uploaded under |