- 전체
- Python 일반
- Python 수학
- Python 그래픽
- Python 자료구조
- Python 인공지능
- Python 인터넷
- Python SAGE
- wxPython
- TkInter
- iPython
- wxPython
- pyQT
- Jython
- django
- flask
- blender python scripting
- python for minecraft
- Python 데이터 분석
- Python RPA
- cython
- PyCharm
- pySide
- kivy (python)
Python 인공지능 python 텐서플로우 설치 후 테스트 코드
2018.03.04 15:07
python 텐서플로우 설치 후 테스트 코드
|
# -*- coding: utf-8 -*- This is a temporary script file. #!/bin/env python import tensorflow as tf state = tf.Variable(0, name="counter") init_op = tf.global_variables_initializer() input1 = tf.constant(3.0) input1 = tf.placeholder(tf.float32)
|
|
import tensorflow as tf class SquareTest(tf.test.TestCase): def testSquare(self): if __name__ == '__main__': |
|
# 텐서플로우의 기본적인 구성을 익힙니다. # tf.constant: 말 그대로 상수입니다. a = tf.constant(10) # 위에서 변수와 수식들을 정의했지만, 실행이 정의한 시점에서 실행되는 것은 아닙니다. # 세션을 닫습니다.
|
tensorflowTest.py
tensorflowTest1.py
tensorflowTest2.py
python 텐서플로우 설치 후 테스트 코드
|
# -*- coding: utf-8 -*- This is a temporary script file. #!/bin/env python import tensorflow as tf state = tf.Variable(0, name="counter") init_op = tf.global_variables_initializer() input1 = tf.constant(3.0) input1 = tf.placeholder(tf.float32)
|
|
import tensorflow as tf class SquareTest(tf.test.TestCase): def testSquare(self): if __name__ == '__main__': |
|
# 텐서플로우의 기본적인 구성을 익힙니다. # tf.constant: 말 그대로 상수입니다. a = tf.constant(10) # 위에서 변수와 수식들을 정의했지만, 실행이 정의한 시점에서 실행되는 것은 아닙니다. # 세션을 닫습니다.
|
tensorflowTest.py
tensorflowTest1.py
tensorflowTest2.py
광고 클릭에서 발생하는 수익금은 모두 웹사이트 서버의 유지 및 관리, 그리고 기술 콘텐츠 향상을 위해 쓰여집니다.

