tensorflow tf.reshape()

사용 버전: Python 3.7.6, Tensorflow 2.1.0


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





괄호 안에는 tensor, shape, name 따위가 들어갑니다.

tf.reshape()는 배열의 모양을 변경합니다.

tensor에는 변경하고자 하는 배열을 넣습니다.








shape에 -1을 넣으면 자동으로 만들라는 뜻입니다.












끝.


카테고리: Tensorflow_python, Python

댓글

이 블로그의 인기 게시물

Python urllib.parse.quote()

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

음악 총보(Score), 파트보(Part)

KiCad 시작하기 3 (새로운 소자 추가하기)

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

Kivy 시작하기 12 (Pyinstaller로 exe 파일 만들기)

Android Compose automation for getting localized images to use on Play Store app image

딩기 요트 명칭

Android Default background color setting

Kivy 시작하기 14.04 (모바일 앱 만들기 4)