{"action":"closed","issue":{"url":"https://api.github.com/repos/tensorflow/tensorflow/issues/1993","repository_url":"https://api.github.com/repos/tensorflow/tensorflow","labels_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/1993/labels{/name}","comments_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/1993/comments","events_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/1993/events","html_url":"https://github.com/tensorflow/tensorflow/issues/1993","id":148910389,"number":1993,"title":"Cannot reshape variable with `validate_shape=False`","user":{"login":"dementrock","id":784063,"avatar_url":"https://avatars.githubusercontent.com/u/784063?v=3","gravatar_id":"","url":"https://api.github.com/users/dementrock","html_url":"https://github.com/dementrock","followers_url":"https://api.github.com/users/dementrock/followers","following_url":"https://api.github.com/users/dementrock/following{/other_user}","gists_url":"https://api.github.com/users/dementrock/gists{/gist_id}","starred_url":"https://api.github.com/users/dementrock/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dementrock/subscriptions","organizations_url":"https://api.github.com/users/dementrock/orgs","repos_url":"https://api.github.com/users/dementrock/repos","events_url":"https://api.github.com/users/dementrock/events{/privacy}","received_events_url":"https://api.github.com/users/dementrock/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-04-17T02:07:29Z","updated_at":"2016-04-19T06:15:11Z","closed_at":"2016-04-19T06:15:11Z","body":"Given the following code:\r\n\r\n```python\r\nimport tensorflow as tf\r\n\r\nx = tf.Variable(tf.zeros((3, 4)), validate_shape=False)\r\ntransposed = tf.reshape(x, [tf.shape(x)[1], -1])\r\n\r\ninit = tf.initialize_all_variables()\r\nsess = tf.Session()\r\nsess.run(init)\r\n\r\nprint(sess.run(transposed))\r\n```\r\n\r\nI got the following error:\r\n\r\n```\r\nTypeError: Expected int32, got list containing Tensors of type '_Message' instead.\r\n```\r\n"}}