{"action":"created","issue":{"url":"https://api.github.com/repos/tensorflow/tensorflow/issues/2467","repository_url":"https://api.github.com/repos/tensorflow/tensorflow","labels_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/2467/labels{/name}","comments_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/2467/comments","events_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/2467/events","html_url":"https://github.com/tensorflow/tensorflow/issues/2467","id":156177644,"number":2467,"title":"conv3d_backprop_input","user":{"login":"daeyun","id":1250682,"avatar_url":"https://avatars.githubusercontent.com/u/1250682?v=3","gravatar_id":"","url":"https://api.github.com/users/daeyun","html_url":"https://github.com/daeyun","followers_url":"https://api.github.com/users/daeyun/followers","following_url":"https://api.github.com/users/daeyun/following{/other_user}","gists_url":"https://api.github.com/users/daeyun/gists{/gist_id}","starred_url":"https://api.github.com/users/daeyun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daeyun/subscriptions","organizations_url":"https://api.github.com/users/daeyun/orgs","repos_url":"https://api.github.com/users/daeyun/repos","events_url":"https://api.github.com/users/daeyun/events{/privacy}","received_events_url":"https://api.github.com/users/daeyun/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-05-22T22:43:13Z","updated_at":"2016-05-22T23:12:15Z","closed_at":"2016-05-22T23:12:15Z","body":"I'm using `conv3d_backprop_input` to implement a 3d version of `tf.nn.conv2d_transpose`. Unlike `conv2d_backprop_input`, `conv3d_backprop_input` requires an `input` tensor (rather than just `input_shape`), and this seems a little inconsistent. I don't have the input tensor because it is actually the deconvolution output in this case. My current solution is to create a dummy tensor like the following:\r\n\r\n```python\r\ndef conv3d_transpose(value, filter, output_shape, strides, padding='SAME', name=None):\r\n  dummy_tensor = tf.zeros(shape=output_shape, dtype=value.dtype)\r\n\r\n  deconv = tf.nn.conv3d_backprop_input(input=dummy_tensor, filter=filter,\r\n      out_backprop=value, strides=strides, padding=padding, name=name)\r\n\r\n  return deconv\r\n```\r\n\r\nSo my question is, in `conv3d_backprop_input`, do the values of `input` actually matter or is it only used to infer the shape of the output `deconv`?"},"comment":{"url":"https://api.github.com/repos/tensorflow/tensorflow/issues/comments/220862510","html_url":"https://github.com/tensorflow/tensorflow/issues/2467#issuecomment-220862510","issue_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/2467","id":220862510,"user":{"login":"mrry","id":192142,"avatar_url":"https://avatars.githubusercontent.com/u/192142?v=3","gravatar_id":"","url":"https://api.github.com/users/mrry","html_url":"https://github.com/mrry","followers_url":"https://api.github.com/users/mrry/followers","following_url":"https://api.github.com/users/mrry/following{/other_user}","gists_url":"https://api.github.com/users/mrry/gists{/gist_id}","starred_url":"https://api.github.com/users/mrry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrry/subscriptions","organizations_url":"https://api.github.com/users/mrry/orgs","repos_url":"https://api.github.com/users/mrry/repos","events_url":"https://api.github.com/users/mrry/events{/privacy}","received_events_url":"https://api.github.com/users/mrry/received_events","type":"User","site_admin":false},"created_at":"2016-05-22T23:12:15Z","updated_at":"2016-05-22T23:12:15Z","body":"From the [implementation](https://github.com/tensorflow/tensorflow/blob/7b4d733593842361d066d7e33a03a07da5dca465/tensorflow/core/kernels/conv_grad_ops_3d.cc#L356) it looks like the `input` tensor is only used for shape information, so your dummy tensor approach should work fine. "}}
{"actor":{"display_login":"mrry"}}