{"action":"created","issue":{"url":"https://api.github.com/repos/tf-coreml/tf-coreml/issues/202","repository_url":"https://api.github.com/repos/tf-coreml/tf-coreml","labels_url":"https://api.github.com/repos/tf-coreml/tf-coreml/issues/202/labels{/name}","comments_url":"https://api.github.com/repos/tf-coreml/tf-coreml/issues/202/comments","events_url":"https://api.github.com/repos/tf-coreml/tf-coreml/issues/202/events","html_url":"https://github.com/tf-coreml/tf-coreml/issues/202","id":331129226,"node_id":"MDU6SXNzdWUzMzExMjkyMjY=","number":202,"title":"Error in _find_unused_ops for operations with output size 0","user":{"login":"classner","id":731387,"node_id":"MDQ6VXNlcjczMTM4Nw==","avatar_url":"https://avatars1.githubusercontent.com/u/731387?v=4","gravatar_id":"","url":"https://api.github.com/users/classner","html_url":"https://github.com/classner","followers_url":"https://api.github.com/users/classner/followers","following_url":"https://api.github.com/users/classner/following{/other_user}","gists_url":"https://api.github.com/users/classner/gists{/gist_id}","starred_url":"https://api.github.com/users/classner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/classner/subscriptions","organizations_url":"https://api.github.com/users/classner/orgs","repos_url":"https://api.github.com/users/classner/repos","events_url":"https://api.github.com/users/classner/events{/privacy}","received_events_url":"https://api.github.com/users/classner/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-06-11T10:20:49Z","updated_at":"2018-06-12T03:56:09Z","closed_at":null,"author_association":"NONE","body":"Hi tfcoreml team,\r\n\r\nI encountered a bug in _find_unused_ops in https://github.com/tf-coreml/tf-coreml/blob/master/tfcoreml/_tf_graph_transform.py#L107 . For operations with zero sized outputs (a corner-case, but relevant), this line fails. Suggested fix is to insert a check before:\r\n\r\n```\r\nif out1.size == 0 and out2.size == 0:\r\n    is_skippable = True\r\n    continue\r\n```"},"comment":{"url":"https://api.github.com/repos/tf-coreml/tf-coreml/issues/comments/396458016","html_url":"https://github.com/tf-coreml/tf-coreml/issues/202#issuecomment-396458016","issue_url":"https://api.github.com/repos/tf-coreml/tf-coreml/issues/202","id":396458016,"node_id":"MDEyOklzc3VlQ29tbWVudDM5NjQ1ODAxNg==","user":{"login":"aseemw","id":7546478,"node_id":"MDQ6VXNlcjc1NDY0Nzg=","avatar_url":"https://avatars1.githubusercontent.com/u/7546478?v=4","gravatar_id":"","url":"https://api.github.com/users/aseemw","html_url":"https://github.com/aseemw","followers_url":"https://api.github.com/users/aseemw/followers","following_url":"https://api.github.com/users/aseemw/following{/other_user}","gists_url":"https://api.github.com/users/aseemw/gists{/gist_id}","starred_url":"https://api.github.com/users/aseemw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aseemw/subscriptions","organizations_url":"https://api.github.com/users/aseemw/orgs","repos_url":"https://api.github.com/users/aseemw/repos","events_url":"https://api.github.com/users/aseemw/events{/privacy}","received_events_url":"https://api.github.com/users/aseemw/received_events","type":"User","site_admin":false},"created_at":"2018-06-12T03:56:09Z","updated_at":"2018-06-12T03:56:09Z","author_association":"COLLABORATOR","body":"Thank you for pointing that out. Do you want to put up a PR with a fix? \r\nOtherwise I'll put up one soon. Thanks!"}}
{"actor":{"display_login":"aseemw"}}