{"action":"created","issue":{"url":"https://api.github.com/repos/tensorflow/tfjs/issues/549","repository_url":"https://api.github.com/repos/tensorflow/tfjs","labels_url":"https://api.github.com/repos/tensorflow/tfjs/issues/549/labels{/name}","comments_url":"https://api.github.com/repos/tensorflow/tfjs/issues/549/comments","events_url":"https://api.github.com/repos/tensorflow/tfjs/issues/549/events","html_url":"https://github.com/tensorflow/tfjs/issues/549","id":344669194,"node_id":"MDU6SXNzdWUzNDQ2NjkxOTQ=","number":549,"title":"Issues with tf.cast(x, 'int32') and tf.squaredDifference()","user":{"login":"KimYoungBo","id":6142498,"node_id":"MDQ6VXNlcjYxNDI0OTg=","avatar_url":"https://avatars1.githubusercontent.com/u/6142498?v=4","gravatar_id":"","url":"https://api.github.com/users/KimYoungBo","html_url":"https://github.com/KimYoungBo","followers_url":"https://api.github.com/users/KimYoungBo/followers","following_url":"https://api.github.com/users/KimYoungBo/following{/other_user}","gists_url":"https://api.github.com/users/KimYoungBo/gists{/gist_id}","starred_url":"https://api.github.com/users/KimYoungBo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KimYoungBo/subscriptions","organizations_url":"https://api.github.com/users/KimYoungBo/orgs","repos_url":"https://api.github.com/users/KimYoungBo/repos","events_url":"https://api.github.com/users/KimYoungBo/events{/privacy}","received_events_url":"https://api.github.com/users/KimYoungBo/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-07-26T02:12:40Z","updated_at":"2018-09-24T07:57:17Z","closed_at":"2018-09-24T07:53:02Z","author_association":"NONE","body":"To get help from the community, check out our [Google group](https://groups.google.com/a/tensorflow.org/forum/#!forum/tfjs).\r\n\r\n#### TensorFlow.js version\r\n0.12.7\r\n#### Browser version\r\nchrome 67\r\n#### Describe the problem or feature request\r\n\r\n#### Code to reproduce the bug / link to feature request\r\nconst x = tf.tensor1d([1.5, 2.5, 3]);\r\ntf.cast(x, 'int32').print();\r\n// result ==> [1, 2, 3]\r\n\r\nconsole.log(x.dataSync());\r\nx.data();   // same\r\n// result ==> 1.5,  2.5, 3\r\n"},"comment":{"url":"https://api.github.com/repos/tensorflow/tfjs/issues/comments/423899526","html_url":"https://github.com/tensorflow/tfjs/issues/549#issuecomment-423899526","issue_url":"https://api.github.com/repos/tensorflow/tfjs/issues/549","id":423899526,"node_id":"MDEyOklzc3VlQ29tbWVudDQyMzg5OTUyNg==","user":{"login":"KimYoungBo","id":6142498,"node_id":"MDQ6VXNlcjYxNDI0OTg=","avatar_url":"https://avatars1.githubusercontent.com/u/6142498?v=4","gravatar_id":"","url":"https://api.github.com/users/KimYoungBo","html_url":"https://github.com/KimYoungBo","followers_url":"https://api.github.com/users/KimYoungBo/followers","following_url":"https://api.github.com/users/KimYoungBo/following{/other_user}","gists_url":"https://api.github.com/users/KimYoungBo/gists{/gist_id}","starred_url":"https://api.github.com/users/KimYoungBo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KimYoungBo/subscriptions","organizations_url":"https://api.github.com/users/KimYoungBo/orgs","repos_url":"https://api.github.com/users/KimYoungBo/repos","events_url":"https://api.github.com/users/KimYoungBo/events{/privacy}","received_events_url":"https://api.github.com/users/KimYoungBo/received_events","type":"User","site_admin":false},"created_at":"2018-09-24T07:57:17Z","updated_at":"2018-09-24T07:57:17Z","author_association":"NONE","body":"> To get help from the community, check out our [Google group](https://groups.google.com/a/tensorflow.org/forum/#!forum/tfjs).\r\n> \r\n> #### TensorFlow.js version\r\n> 0.12.7\r\n> \r\n> #### Browser version\r\n> chrome 67\r\n> \r\n> #### Describe the problem or feature request\r\n> #### Code to reproduce the bug / link to feature request\r\n> const x = tf.tensor1d([1.5, 2.5, 3]);\r\n> tf.cast(x, 'int32').print();\r\n> // result ==> [1, 2, 3]\r\n> \r\n> console.log(x.dataSync());\r\n> x.data(); // same\r\n> // result ==> 1.5, 2.5, 3\r\n\r\n"}}
{"actor":{"display_login":"KimYoungBo"}}