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 |
Tags
- 인자 힌트
- dask
- 파라미터 힌트
- AI 동화
- Cognitive Search
- Azure
- Cognitive Service
- 제로샷
- 퓨샷
- UDF
- Docker
- 아기동화
- Redshift
- 토끼
- GPT
- 모험
- 조건문
- 파이썬
- FOR
- 검색
- 대스크
- 동화책
- 반복문
- 프롬프트 튜닝
- Compute
- Python
- 인컨텍스트 러닝
- 도커
- 컨텍스트 매니져
- Ai
Archives
- Today
- Total
목록delayed (1)
호랭이 분석가
1. Delayed Delayed 함수를 비교하기 위하여 파이썬 함수와 비교하면서 보겠습니다. # 기본 함수 from time import sleep def inc(x) : sleep(5) return x + 1 def add(x, y) : sleep(5) return x + y %%time x = inc(1) y = inc(2) z = add(x, y) 파이썬에서는 x > y > z 순으로 순차적으로 실행하기 때문에 15초가 걸립니다. import dask.delayed as delayed @delayed def inc(x) : sleep(5) return x + 1 @delayed def add(x, y) : sleep(5) return x + y Dask의 delayed 함수를 사용하기 위하여 데코..
Python/Dask
2022. 4. 10. 17:22