Skip to content

Instantly share code, notes, and snippets.

View loyvon's full-sized avatar

Loyvon Wang loyvon

View GitHub Profile
"""Illustration for various types of namespace scopes in TensorFlow.
> python tf_scopes.py
foo_name_scoped :
v.name= v:0
v2.name= foo_name_scoped/v2:0
a.name= Variable:0
b.name= Variable_1:0
result_op.name= foo_name_scoped/Add:0
foo_op_scoped :