Tensorflow variable vs constant variable은 변경 가능한 변수로 ResourceVariable로 할당되며 constant는 불변의 값으로 EagerTensor로 할당 t1 = tf.Variable([1, 2, 3]) t2 = tf.constant([1, 2, 3]) print(type(t1)) print(type(t2)) ===== Result ===== Tensor 생성 tf.zeros, tf.ones를 통해 특정 숫자로 채울 수 있음. 원하는 크기는 shape로 넘겨줄 수 있음 t_data = tf.zeros(shape=(10)) print(t_data) ===== Result ===== tf.Tensor([0. 0. 0. 0. 0. 0. 0. 0. 0. 0.], sha..