def print_tensor(x, message=''):
 p_op = Print(message)
 return p_op(x)

def print_tensor ( x , message = '' ) : p_op = Print ( message ) return p_op ( x )
print the message and the tensor when evaluated and return the same tensor .