커뮤니티
Python/TensorFlow
제목:    Tensorflow 2.0
  729   김윤중

import tensorflow as tf

  • Tensorflow 2.0 변경된 점들
  • eager https://www.tensorflow.org/guide/eager
    •  tf.executing_eagerly()  #True #텐서플로 2.0에서 즉시 실행은 기본으로 활성화되어 있습니다.
    • #일부 모델은 즉시 실행을 활성화한 경우 추가연산비용(overhead)이 증가한 경우도 있습니다.
    • x = [[2.]]
      m = tf.matmul(x, x)
      print("hello, {}".format(m)