About Data/Tensorflow with Python
[Python][Tensorflow][Jupyter] 실습 1 : constant, variable, init
Best Junior
2019. 7. 9. 22:18
1. anaconda prompt 시작
2. Tensorflow 설치
pip install tensorflow
정상 설치 완료 확인
만약 에러가 발생하면서 설치가 되지 않는다면
https://growingsaja.tistory.com/120
를 참조하자.
3. anaconda prompt에서 jupyter notebook을 열어줍니다.
jupyter notebook
해당 명령어 입력 후 기다리면 주피터 노트북 웹페이지가 열립니다.
4. New -> Python3
클릭을 통해 새로운 탭을 열어줍니다.
5. tensorflow 예시 1
Constant
상수 선언
6. tensorflow 예시 2
Variable
변수 선언
variable (변수)를 생성하여 이용하는 경우에는 초기화를 해주는 과정이 필요합니다.