반응형
https://www.tensorflow.org/api_docs/python/tf/compat
Module: tf.compat
Module tf.compat
Functions for Python 2 vs. 3 compatibility.
Conversion routines
In addition to the functions below, as_str converts an object to a str.
Types
The compatibility module also provides the following types:
bytes_or_text_typescomplex_typesintegral_typesreal_types
Members
as_bytes(...): 바이트 또는 유니 코드를 bytesutf-8 인코딩을 사용하여 텍스트 로 변환합니다 .
as_str(...): 바이트 또는 유니 코드를 bytesutf-8 인코딩을 사용하여 텍스트 로 변환합니다 .
as_str_any(...): str와 같이 변환 str(value)하지만 as_strfor를 사용 합니다 bytes.
as_text(...): 주어진 인수를 유니 코드 문자열로 반환합니다.
Constant bytes_or_text_types
Constant complex_types
Constant integral_types
Constant real_types
Defined in tensorflow/python/util/compat.py.
반응형
'프로그래밍 > AI_DeepLearning' 카테고리의 다른 글
| 한국 자율주행차 테스트, 이제 ‘K-CITY’에서 (0) | 2017.04.07 |
|---|---|
| [M/L] TensorFlow-Tutorials (0) | 2017.03.31 |
| [M/L] scikit-learn: machine learning in Python http://scikit-learn.org (0) | 2017.03.30 |
| NLP란 무엇인가요? http://konlpy.org/ko/v0.4.4/start/ (0) | 2017.03.30 |
| python, pip, conda, KNL, word2vec example, Pycharm (0) | 2017.03.28 |
