#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Sun Sep  8 11:12:49 2019

@author: zhuyangze
"""

import tensorflow as tf

# 定义一个常量
hello = tf.constant('Hello, TensorFlow!')
print(hello)
# 建立一个session
sess = tf.Session()
# 通过session里面run
print(sess.run(hello))
# 关闭session
sess.close
e4661b9f174d999db18529c25bbd5d6c16f4e30f
<mask token>

<mask token>
print(hello)
<mask token>
print(sess.run(hello))
sess.close

<mask token>
hello = tf.constant('Hello, TensorFlow!')
print(hello)
sess = tf.Session()
print(sess.run(hello))
sess.close

<mask token>
import tensorflow as tf
hello = tf.constant('Hello, TensorFlow!')
print(hello)
sess = tf.Session()
print(sess.run(hello))
sess.close

#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Sun Sep  8 11:12:49 2019

@author: zhuyangze
"""

import tensorflow as tf

# 定义一个常量
hello = tf.constant('Hello, TensorFlow!')
print(hello)
# 建立一个session
sess = tf.Session()
# 通过session里面run
print(sess.run(hello))
# 关闭session
sess.close