StepRunOutput 클래스
파이프라인에서 StepRun에 의해 만들어진 출력을 나타냅니다.
StepRunOutput을 사용하여 단계에서 생성된 PortDataReference에 액세스할 수 있습니다.
StepRunOutput을 초기화합니다.
- 상속
-
builtins.objectStepRunOutput
생성자
StepRunOutput(context, pipeline_run_id, step_run, name, step_output)
매개 변수
- context
- <xref:azureml.pipeline.core._GraphContext>
필수
그래프 컨텍스트 개체입니다.
- step_output
- <xref:azureml.pipeline.core._restclients.aeva.models.NodeOutput>
필수
단계 출력입니다.
- context
- <xref:azureml.pipeline.core._GraphContext>
필수
그래프 컨텍스트 개체입니다.
- step_output
- <xref:azureml.pipeline.core._restclients.aeva.models.NodeOutput>
필수
단계 출력입니다.
설명
단계 실행 출력은 get_output을 호출하여 인스턴스화됩니다. get_port_data_reference를 사용하여 데이터를 다운로드하는 데 사용할 수 있고 향후 파이프라인에서 단계 입력으로 사용할 수 있는 PortDataReference를 검색합니다.
StepRun에서 StepRunOutput을 가져와서 출력 데이터를 다운로드하는 예는 다음과 같습니다.
from azureml.pipeline.core import PipelineRun, StepRun, PortDataReference
pipeline_run = PipelineRun(experiment, "<pipeline_run_id>")
step_run = pipeline_run.find_step_run("<step_name>")[0]
step_run_output = step_run.get_output("<output_name>")
port_data_reference = step_run_output.get_port_data_reference()
port_data_reference.download(local_path="path")
메서드
get_port_data_reference |
단계에서 생성된 포트 데이터 참조를 가져옵니다. |
get_port_data_reference
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기