{"push_id":2473043982,"size":2,"distinct_size":2,"ref":"refs/heads/master","head":"049dfd5e070cfa84c82eea71c6c746a70cba4a3f","before":"3e0fd55ccec1f8ac5ca7d11f9999a16871a9198c","commits":[{"sha":"6b0ec4bab215169c8cde893b022288f8bf7c8835","author":{"name":"cclauss","email":"585dd401264c1e46d17ebec1862e5d2a9b6a6c5d@bluewin.ch"},"message":"raw_input() was removed in Python 3 (#16440)","distinct":true,"url":"https://api.github.com/repos/wendazhou/tensorflow/commits/6b0ec4bab215169c8cde893b022288f8bf7c8835"},{"sha":"049dfd5e070cfa84c82eea71c6c746a70cba4a3f","author":{"name":"Yong Tang","email":"765086fe2e0c1f980161f127fec596800f327f62@outlook.com"},"message":"Add python built-in types support for `tf.as_dtype` (#17652)\n\n* Add python built-in types support for `tf.as_dtype`\r\n\r\nThis fix tries to address the issue raised in 17641 where\r\nit was not possible to use `tf.as_dtype(float)` the same\r\nway as numpy `np.dtype(float)`.\r\nThis fix adds the built-in types support for `tf.as_dtype`,\r\nso that it is possible to specify:\r\n```\r\ndtypes.as_dtype(float)   # dtypes.float64\r\ndtypes.as_dtype(int)     # dtypes.int32\r\ndtypes.as_dtype(long)    # dtypes.int64\r\ndtypes.as_dtype(complex) # dtypes.complex128\r\ndtypes.as_dtype(bool)    # dtypes.bool\r\n```\r\n\r\nThis fix fixes 17641.\r\n\r\nSigned-off-by: Yong Tang <yong.tang.github@outlook.com>\r\n\r\n* Add test cases for built-in types support with `tf.as_dtype`\r\n\r\nSigned-off-by: Yong Tang <yong.tang.github@outlook.com>\r\n\r\n* Fix failed test cases with added built-in types support of tf.as_dtype\r\n\r\nSigned-off-by: Yong Tang <yong.tang.github@outlook.com>\r\n\r\n* Fix python 3 build\r\n\r\nSigned-off-by: Yong Tang <yong.tang.github@outlook.com>\r\n\r\n* Restrict the changes to float and bool based on review feedback\r\n\r\nSigned-off-by: Yong Tang <yong.tang.github@outlook.com>","distinct":true,"url":"https://api.github.com/repos/wendazhou/tensorflow/commits/049dfd5e070cfa84c82eea71c6c746a70cba4a3f"}]}
{"actor":{"display_login":"wendazhou"}}