Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 | 31 |
Tags
- 아기동화
- Cognitive Search
- dask
- 반복문
- UDF
- AI 동화
- 파이썬
- Azure
- Docker
- 제로샷
- 컨텍스트 매니져
- Cognitive Service
- 검색
- 대스크
- 모험
- FOR
- 토끼
- 인컨텍스트 러닝
- GPT
- Redshift
- Python
- Ai
- 도커
- 인자 힌트
- 동화책
- 조건문
- 퓨샷
- 파라미터 힌트
- Compute
- 프롬프트 튜닝
Archives
- Today
- Total
목록Dag (1)
호랭이 분석가

1. 복잡한 DAG 생성 실무에서 사용하는 복잡한 로직과 비교할 수 없지만 compute()와 persist()를 비교하기 위해서 복잡한 DAG를 생성합니다. import dask.delayed as delayed from dask.diagnostics import ProgressBar def add_two(x) : return x + 2 def sum_two_numbers(x, y) : return x + y def multiply_four(x) : return x * 4 data = [1, 5, 8, 10] step1 = [delayed(add_two)(i) for i in data] step2 = [delayed(multiply_four)(j) for j in step1] total = delaye..
Python/Dask
2022. 5. 9. 12:06