set_attrs function

Set the experimental context as metadata