{"action":"opened","issue":{"url":"https://api.github.com/repos/rstudio/tensorflow/issues/253","repository_url":"https://api.github.com/repos/rstudio/tensorflow","labels_url":"https://api.github.com/repos/rstudio/tensorflow/issues/253/labels{/name}","comments_url":"https://api.github.com/repos/rstudio/tensorflow/issues/253/comments","events_url":"https://api.github.com/repos/rstudio/tensorflow/issues/253/events","html_url":"https://github.com/rstudio/tensorflow/issues/253","id":336673848,"node_id":"MDU6SXNzdWUzMzY2NzM4NDg=","number":253,"title":"bug in `[`","user":{"login":"t-kalinowski","id":8462255,"node_id":"MDQ6VXNlcjg0NjIyNTU=","avatar_url":"https://avatars1.githubusercontent.com/u/8462255?v=4","gravatar_id":"","url":"https://api.github.com/users/t-kalinowski","html_url":"https://github.com/t-kalinowski","followers_url":"https://api.github.com/users/t-kalinowski/followers","following_url":"https://api.github.com/users/t-kalinowski/following{/other_user}","gists_url":"https://api.github.com/users/t-kalinowski/gists{/gist_id}","starred_url":"https://api.github.com/users/t-kalinowski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/t-kalinowski/subscriptions","organizations_url":"https://api.github.com/users/t-kalinowski/orgs","repos_url":"https://api.github.com/users/t-kalinowski/repos","events_url":"https://api.github.com/users/t-kalinowski/events{/privacy}","received_events_url":"https://api.github.com/users/t-kalinowski/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-06-28T15:35:47Z","updated_at":"2018-06-28T15:35:47Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"Since I wrote this I'll try to fix it, but it'll be a few days before I can dig into it.\r\n \r\n``` r\r\nlibrary(tensorflow)\r\n\r\nx <- tf$constant(1:10)\r\n\r\n# trying to drop 1 element at the tail\r\nx[`:-2`, style = \"R\"] # should have shape = (9,)\r\n#> Tensor(\"strided_slice:0\", shape=(7,), dtype=int32)\r\n```\r\n\r\nCreated on 2018-06-28 by the [reprex package](http://reprex.tidyverse.org) (v0.2.0)."}}
{"actor":{"display_login":"t-kalinowski"}}