- 전체
- 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
광고 클릭에서 발생하는 수익금은 모두 웹사이트 서버의 유지 및 관리, 그리고 기술 콘텐츠 향상을 위해 쓰여집니다.
댓글 0
| 번호 | 제목 | 글쓴이 | 날짜 | 조회 수 |
|---|---|---|---|---|
| 4 |
[Cython] [Python] 고성능 Python을 위한 Cython 활용하기 3편
| 졸리운_곰 | 2024.06.10 | 405 |
| 3 |
[Cython][Python] 고성능 Python을 위한 Cython 활용하기 2편
| 졸리운_곰 | 2024.06.10 | 361 |
| 2 |
[Cython] [Python] 고성능 Python을 위한 Cython 활용하기 1편
| 졸리운_곰 | 2024.06.10 | 551 |
| 1 | cython 튜토리얼 Cython 시작하기 | 졸리운_곰 | 2022.11.13 | 634 |

