tensorflow tf.nn.relu()

사용 버전: Python 3.7.6, Tensorflow 2.1.0


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





괄호 안에는 features와 name 따위가 들어갑니다.

tf.nn.relu()는 해당 배열 값에 relu 함수를 대입합니다.


relu 함수는 음수에서는 0으로 만들고, x가 양수일 때는 그대로 대입합니다.


features에는 relu 함수를 적용할 배열이 들어갑니다.












끝.



카테고리: Tensorflow_python, Python

댓글

이 블로그의 인기 게시물

Python urllib.parse.quote()

KiCad 시작하기 4 (기존 회로도 수정 및 추가)

Android Notification with Full Screen

딩기 요트 명칭

Android App architecture: State holders and UI state

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

tensorflow tf.expand_dims()

외동 휴게소(부산 방향) 추천 메뉴

Android Room database FTS

서브넷 마스크 계산하기