tf.contrib.framework.is_tensor(x) Check for tensor types. Check whether an object is a tensor
Page 5 of 5