#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Sat Feb  9 00:07:08 2019

@author: dz
"""

import tensorflow as tf
a = tf.constant([1.0, 2.0], name = "a")
b= tf.constant([2.0, 3.0], name = "b")
result = a + b
print(a.graph is tf.get_default_graph())
5ef0ae0c967fa8de61742da886dd871faba540a9
<mask token>

<mask token>
print(a.graph is tf.get_default_graph())

<mask token>
a = tf.constant([1.0, 2.0], name='a')
b = tf.constant([2.0, 3.0], name='b')
result = a + b
print(a.graph is tf.get_default_graph())

<mask token>
import tensorflow as tf
a = tf.constant([1.0, 2.0], name='a')
b = tf.constant([2.0, 3.0], name='b')
result = a + b
print(a.graph is tf.get_default_graph())

#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Sat Feb  9 00:07:08 2019

@author: dz
"""

import tensorflow as tf
a = tf.constant([1.0, 2.0], name = "a")
b= tf.constant([2.0, 3.0], name = "b")
result = a + b
print(a.graph is tf.get_default_graph())