{"action":"created","issue":{"url":"https://api.github.com/repos/dmlc/mxnet/issues/2478","repository_url":"https://api.github.com/repos/dmlc/mxnet","labels_url":"https://api.github.com/repos/dmlc/mxnet/issues/2478/labels{/name}","comments_url":"https://api.github.com/repos/dmlc/mxnet/issues/2478/comments","events_url":"https://api.github.com/repos/dmlc/mxnet/issues/2478/events","html_url":"https://github.com/dmlc/mxnet/issues/2478","id":161156524,"number":2478,"title":"mshadow_op square_root for half_t","user":{"login":"Godricly","id":17567935,"avatar_url":"https://avatars.githubusercontent.com/u/17567935?v=3","gravatar_id":"","url":"https://api.github.com/users/Godricly","html_url":"https://github.com/Godricly","followers_url":"https://api.github.com/users/Godricly/followers","following_url":"https://api.github.com/users/Godricly/following{/other_user}","gists_url":"https://api.github.com/users/Godricly/gists{/gist_id}","starred_url":"https://api.github.com/users/Godricly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Godricly/subscriptions","organizations_url":"https://api.github.com/users/Godricly/orgs","repos_url":"https://api.github.com/users/Godricly/repos","events_url":"https://api.github.com/users/Godricly/events{/privacy}","received_events_url":"https://api.github.com/users/Godricly/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2016-06-20T09:46:27Z","updated_at":"2016-06-21T14:28:33Z","closed_at":null,"body":"The function within square_root is the sqrtf. Is this one compatible with half_t type?\r\nI got compiling problem when trying to get batch-norm for half type.\r\non [line 103](https://github.com/dmlc/mxnet/blob/master/src/operator/batch_norm-inl.h#L103). It has some problem to derive a half_t type output, even if I casted the eps into DType."},"comment":{"url":"https://api.github.com/repos/dmlc/mxnet/issues/comments/227457260","html_url":"https://github.com/dmlc/mxnet/issues/2478#issuecomment-227457260","issue_url":"https://api.github.com/repos/dmlc/mxnet/issues/2478","id":227457260,"user":{"login":"vchuravy","id":145258,"avatar_url":"https://avatars.githubusercontent.com/u/145258?v=3","gravatar_id":"","url":"https://api.github.com/users/vchuravy","html_url":"https://github.com/vchuravy","followers_url":"https://api.github.com/users/vchuravy/followers","following_url":"https://api.github.com/users/vchuravy/following{/other_user}","gists_url":"https://api.github.com/users/vchuravy/gists{/gist_id}","starred_url":"https://api.github.com/users/vchuravy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vchuravy/subscriptions","organizations_url":"https://api.github.com/users/vchuravy/orgs","repos_url":"https://api.github.com/users/vchuravy/repos","events_url":"https://api.github.com/users/vchuravy/events{/privacy}","received_events_url":"https://api.github.com/users/vchuravy/received_events","type":"User","site_admin":false},"created_at":"2016-06-21T14:28:33Z","updated_at":"2016-06-21T14:28:33Z","body":"@Godricly you nearly had everything, the primary thing that was missing is that all constant need to be `tcast<DType>(scalar(...))` in expressions."}}
{"actor":{"display_login":"vchuravy"}}