1. What is a Data Flow Graph?

- Nodes in the graph represent mathmatical operations
- Edges represent the multimensional data arrays(tensors) communicated between them
Nodes는 +, * 등 연산이고 선인 Edges가 data arrays이다. data arrays를 다른 말로 tensors인데 이 것이 돌아다닌다고 해서 tensorflow이다.
2. TensorFlow Hello World!
import os
os.environ['TF_CPP_MIN_LOG_LEVEL'] = '1'
import tensorflow as tf
hello = tf.constant("Hello, TensorFlow!")
print(hello.numpy()) # b'Hello, TensorFlow!'
'''
위 코드를 실행하면 앞에 b가 붙는다.
b는 byte string 임을 나타낸다.
'''
3. TensorFlow Mechanics

이제 placeholder 사용 안해서 잘 모르겠음,,,
4. Tensor Ranks, Shapes, and Types

1, 2, ... n 차원 array라고 하는데 이를 tensorflow에서 Rank라고 한다.

Shape은 tensor를 설계할 때 중요하다.

'Python > ML' 카테고리의 다른 글
| [ML] 2025/07/22, Linear Regression의 cost 최소화의 TensorFlow 구현 (0) | 2025.07.22 |
|---|---|
| [ML] 2025/07/22, Linear Regression의 cost 최소화 알고리즘의 원리 설명 (0) | 2025.07.22 |
| [ML] 2025/07/21, TensorFlow로 간단한 linear regression을 구현 (0) | 2025.07.21 |
| [ML] 2025/07/21, Linear Regression의 Hypothesis 와 cost 설명 (0) | 2025.07.21 |
| [ML] 2025/07/20, 모두를 위한 딥러닝 강좌 시즌 1 (0) | 2025.07.21 |
