Deep Learning and TensorFlow
Tensor텐서는 다차원 배열로, 일관된 데이터 타입을 가진 요소들로 구성되어 있다. TensorFlow텐서플로우는 데이터(tensor)와 흐름(flow)을 합친 프레임워크이다.텐서플로우는 연산을 그래프 형태로 구성한다. 그래프의 노드는 연산, 변수, 상수 등을 나타낸다. Automatic Differentiation#텐서플로우를 이용한 자동미분 최적화#a = (3*2), b = (1*2) tensor를 생성w = tf.Variable(tf.ones(3,2)), dtype=tf.float32)b = tf.Variable(tf.zeros((1,2)), dtype=tf.float32)#x는 입력 데이터, y는 목표(실제) 데이터x = tf.constant([[1., 2., 3.]])y = tf.constan..