python.platform import tf_logging as logging @@ -441,16 +440,11 @@ def _fetch_jvp(tensor): if hasattr(tensor, "handle"): unwrapped_tensor = ops.convert_to_tensor(tensor.handle) else: if isinstance(tensor, np_arrays.ndarray): unwrapped_tensor = tensor.data else: unwrapped_tensor = ...
tokens, max_length, stride, truncation_strategy, pad_to_max_length, return_tensors, return_token_type_ids, return_attention_mask, return_overflowing_tokens, return_special_tokens_mask, return_offsets_mapping, **kwargs) 1926 stack = tf.stack(stack, axis=0) 1927 elif return_tensors == "...
<tf.Tensor 'decode_image/cond_jpeg/Merge:0' shape= dtype=uint8> TensorShape(None) (250, 250, 1) ValueError Traceback (most recent call last) in () ---> 1 img_resize = tf.image.resize_images(image, [28,28]) /home/tianwei/anaconda2/lib/python2.7/site-packages/tensorflow/python/op...