{"provider_name":"Hatena Blog","blog_url":"https://randommemory.hatenablog.com/","blog_title":"\u3089\u3093\u3060\u3080\u306a\u8a18\u61b6","categories":["machine_learning"],"published":"2020-05-01 03:29:23","type":"rich","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Frandommemory.hatenablog.com%2Fentry%2F2020%2F05%2F01%2F032923\" title=\"TF 2.0 tensor.numpy() inside of map() functions - \u3089\u3093\u3060\u3080\u306a\u8a18\u61b6\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","provider_url":"https://hatena.blog","url":"https://randommemory.hatenablog.com/entry/2020/05/01/032923","width":"100%","image_url":null,"version":"1.0","author_name":"derwind","title":"TF 2.0 tensor.numpy() inside of map() functions","height":"190","author_url":"https://blog.hatena.ne.jp/derwind/","description":"TF 2.0 tensor.numpy() inside of map() functions \u00b7 Issue #30035 \u00b7 tensorflow/tensorflow \u00b7 GitHub\u306b\u906d\u9047\u3057\u305f\u3002 print(tf.constant(3).numpy()) \u3092 tf.data.Dataset.map \u306e\u5185\u5916\u3067\u547c\u3093\u3067\u307f\u308b\u3068\u3001\u5185\u90e8\u3067\u306f exception \u304c\u98db\u3076\u3002 \u306a\u3093\u304b\u3001tf.constant() \u306e\u52d5\u304d\u3082\u305d\u3046\u3060\u304c\u3001map \u306e\u5916\u3067\u306f tensorflow.python.framework.ops.EagerTensor \u3068\u3057\u3066\u30c6\u30f3\u30bd\u30eb\u304c\u4f5c\u6210\u3055\u308c\u308b\u3082\u306e\u306e\u3001map \u306e\u4e2d\u3067\u306f tensorflo\u2026"}