-
ML lab 01 - TensorFlow의 설치및 기본적인 operations (new)인공지능 및 기계학습 개론/ML_LEC 2020. 2. 12. 18:49
TensorFlow
- Data flow graphs를 사용해서 numerical computation을 할수있는
- Python 오픈소스 라이브러리
Data Flow Graph
- Node(Operation)들이 Edge(Data, Tensors)로 연결된 작업 흐름도
- constant : node를 만든다
Computational Graph
TensowFlow Mechanics
- Build graph using tensorflow operation
- feed data and run graph : sess.run(op)
- update variables in the graph(and return value)
Placeholder
- 특별한 노드 not constant
- sess.run(add_node, feed_dict={a:3, b:4})
- 값을 실행할 때 넘겨 줄 수 있다
Everything is Tensor
- array
- rank : 몇차원 array? (scalar, vector, matrix, n-Tensor)
- shape : element가 몇개인가?
- type : 대부분 float32, int32
- https://www.tensorflow.org/install/pip
- https://www.tensorflow.org/api_docs/python/tf/Graph#building_a_tfgraph
'인공지능 및 기계학습 개론 > ML_LEC' 카테고리의 다른 글
ML lec 08-1: 딥러닝의 기본 개념: 시작과 XOR 문제 (0) 2020.02.12 ML lec 07-2: Training/Testing 데이터 셋 (0) 2020.02.12 ML lec 07-1: 학습 rate, Overfitting, 그리고 일반화 (Regularization) (0) 2020.02.11 ML lec 06-1 Softmax Regression: 기본 개념 소개 (0) 2020.02.11 ML lec 06-2 Softmax classifier 의 cost함수 (0) 2020.02.11