t = tf.constant([[1., 2., 3.], [4., 5., 6.]])
print(t.shape)
print(t.dtype)
<aside> 💡 전체 범위 : ...
</aside>
# 텐서플로우 넘파이처럼 슬라이싱 하기
t2 = tf.constant([[1., 2., 3.], [4., 5., 6.]])
print(t2)
print(t2[:, 1:])
# 텐서플로우 배열 연산
t = tf.constant([[1., 2., 3.], [4., 5., 6.]])
print(t + 10)
# 텐서플로우 제곱 연산
t = tf.constant([[1., 2., 3.], [4., 5., 6.]])
print(tf.square(t))