tensorflow tf.Variable

사용 버전: Python 3.7.6, Tensorflow 2.1.0


tensorflow(텐서플로우) tf.Variable에 대해서 알아보겠습니다.


tf.Variable()는 변수를 선언할 때 사용합니다.
괄호 안에는 initial_value, trainable, validate_shape, caching_device, name, variable_def, dtype, import_scopre, constraint, synchronization, aggregation, shape 따위가 들어갑니다.



tf.compat.v1.get_variable 대신 사용할 수 있습니다.

tf.compat.v1.get_variabel(name, dtype, initializer, regularizer, trainable, collections, caching_device, partitioner, validate_shape, use_resource, custom_getter, constraint, synchronization, aggregation)










끝.


카테고리: Tensorflow_python, Python

댓글

이 블로그의 인기 게시물

Python OpenCV 빈 화면 만들기

Python urllib.parse.quote()

Python bytes.fromhex()

Android AVD Ram size change

Forensics .pyc 파일 .py로 복구하기

Android Minimum touch target size

KiCad 시작하기 7 (FreeRoute 사용하기 2)

Android Notification with Full Screen

C++ OpenCV 모폴로지 침식, 팽창

KiCad 시작하기 2 (PCB 만들기)