def T(layer):
 return tf.get_default_graph().get_tensor_by_name(('%s:0' % layer))

def T ( layer ) : return tf . get_default_graph ( ) . get_tensor_by_name ( ( '%s:0' % layer ) )
helper for getting layer output tensor .