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
- 파이썬
- 검색
- 인컨텍스트 러닝
- 대스크
- GPT
- Python
- 도커
- Ai
- dask
- 반복문
- 프롬프트 튜닝
- Docker
- 조건문
- Azure
- 제로샷
- 인자 힌트
- Cognitive Service
- 아기동화
- 컨텍스트 매니져
- UDF
- 모험
- Compute
- AI 동화
- Cognitive Search
- FOR
- 파라미터 힌트
- 동화책
- 토끼
- Redshift
- 퓨샷
Archives
- Today
- Total
목록persist (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