본문 바로가기
A.I./구현

TensorFlow Lite 개요

by 채소장사 2020. 5. 10.

참고) https://www.tensorflow.org/lite/guide

 

TensorFlow Lite guide

TensorFlow Lite is a set of tools to help developers run TensorFlow models on mobile, embedded, and IoT devices. It enables on-device machine learning inference with low latency and a small binary size. TensorFlow Lite consists of two main components: The

www.tensorflow.org

텐서플로 라이트(TensorFlow Lite)

모바일, 임베디드 디바이스, IoT에서 동작하는 온-디바이스 머신러닝 추론(on-device ML inference) 도구

특징 : 낮은 지연시간(low latency), 작은 실행파일 크기(small binary size)

 

구성요소(component)

  • 텐서플로 라이트 인터프리터
    다양한 하드웨어에서 최적화된 모델을 실행시킨다.
  • 텐서플로 라이트 컨버터
    텐서플로 모델을 인터프리터가 사용하는 형태로 바꾼다.
    실행파일 크기를 줄이고, 성능을 향상시키는 최적화를 한다.

※ 텐서플로 라이트를 써서 직접 모델을 생성하거나 훈련할 수는 없다.

텐서플로에서 제공하는 사전훈련 모델(pre-trained model)을 사용하거나,

전이학습(transfer learning)으로 모델을 재훈련시킨 후, 

텐서플로 라이트 컨버터로 변환시켜 사용할 수 있다.

 

※ 다양한 플랫폼 지원 : 안드로이드, iOS, 임베디드 리눅스

※ 여러 개발언어 사용 가능 : Java, Swift, Objective-C, C++, Python

 

댓글