{ "cells": [ { "cell_type": "markdown", "metadata": { "colab_type": "text", "slideshow": { "slide_type": "slide" } }, "source": [ "(ch:keras-tf)=\n", "# 케라스와 텐서플로우" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "**감사의 글**\n", "\n", "아래 내용은 프랑소와 숄레의 \n", "[Deep Learning with Python(2판)](https://github.com/fchollet/deep-learning-with-python-notebooks)의 \n", "소스코드 내용을 참고해서 작성되었습니다.\n", "자료를 공개한 저자에게 진심어린 감사를 전합니다." ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "**소스코드**\n", "\n", "여기서 언급되는 코드를\n", "[(구글 코랩) 케라스와 텐서플로우](https://colab.research.google.com/github/codingalzi/dlp2/blob/master/notebooks/NB-keras_and_tf.ipynb)에서 \n", "직접 실행할 수 있다." ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "**슬라이드**\n", "\n", "본문 내용을 요약한 [슬라이드](https://github.com/codingalzi/dlp2/raw/master/slides/slides-keras_and_tf.pdf)를 다운로드할 수 있다." ] }, { "cell_type": "markdown", "metadata": { "slideshow": { "slide_type": "slide" } }, "source": [ "**주요 내용**\n", "\n", "딥러닝 주요 라이브러리와 케라스의 핵심 API를 소개한다." ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "## 딥러닝 주요 라이브러리" ] }, { "cell_type": "markdown", "metadata": { "colab_type": "text", "slideshow": { "slide_type": "slide" } }, "source": [ "### 텐서플로우" ] }, { "cell_type": "markdown", "metadata": { "slideshow": { "slide_type": "slide" } }, "source": [ "텐서플로우는 파이썬에 기반한 머신러닝 플랫폼이며,\n", "머신러닝 모델의 훈련에 특화된 텐서 연산을 지원한다.\n", "\n", "- 그레이디언트 자동 계산\n", "- GPU, TPU 등 고성능 병렬 하드웨어 가속기 활용 가능\n", "- 여러 대의 컴퓨터 또는 클라우드 컴퓨팅 서비스 활용 가능\n", "- C++(게임), 자바스크립트(웹브라우저), TFLite(모바일 장치) 등과 호환 가능" ] }, { "cell_type": "markdown", "metadata": { "colab_type": "text", "slideshow": { "slide_type": "slide" } }, "source": [ "### 케라스" ] }, { "cell_type": "markdown", "metadata": { "slideshow": { "slide_type": "slide" } }, "source": [ "딥러닝 모델 구성 및 훈련에 효율적으로 사용될 수 있는 다양한 API를 제공하며,\n", "텐서플로우의 프론트엔드front end 인터페이스 기능을 수행한다.\n", "원래 텐서플로우와 독립적으로 개발되었지만 텐서플로우 2.0부터 텐서플로우 라이브러리의 최상위 프레임워크framework로 포함됐다." ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "