{"published":"2022-06-22 00:23:12","provider_name":"Hatena Blog","title":"TensorFlow\u3092CPU\u3068GPU\u3067\u6bd4\u8f03\u3059\u308b","author_url":"https://blog.hatena.ne.jp/atsuhiro-me/","url":"https://pc.atsuhiro-me.net/entry/2022/06/22/002312","height":"190","author_name":"atsuhiro-me","blog_title":"\u307f\u30fc\u306e\u307a\u30fc\u3058","provider_url":"https://hatena.blog","description":"TensorFlow\u3092\u5b89\u4fa1\u3067\u306a\u308b\u3079\u304f\u901f\u304f\u5b9f\u884c\u3059\u308b\u306b\u306f\u3069\u306e\u3088\u3046\u306a\u74b0\u5883\u304c\u3088\u3044\u306e\u304b\u3092\u81ea\u5206\u306a\u308a\u306b\u691c\u8a0e\u3057\u3066\u307f\u307e\u3057\u305f\uff0e \u6e2c\u5b9a\u65b9\u6cd5 \u4ee5\u4e0b\u306e\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u5b9f\u884c\u3057\u3066\uff0c\u901f\u5ea6\u3092\u6bd4\u8f03\u3057\u307e\u3059\uff0e\u74b0\u5883\u5909\u6570CUDA_VISIBLE_DEVICES\u3067GPU\u306e\u5229\u7528\u3059\u308b\u304b\u3092\u6307\u5b9a\u3057\u307e\u3059\uff0e\u74b0\u5883\u5909\u6570TF_ENABLE_ONEDNN_OPTS\u3067oneDNN\u3092\u4f7f\u7528\u3059\u308b\u304b\u3092\u6307\u5b9a\u3057\u307e\u3059\uff0e requirements.txt numpy==1.22.4 tensorflow==2.9.1 protobuf==3.19.4 mnist.py keras.datasets.mnist\u3092\u4f7f\u7528\u3057\u305f\u7c21\u5358\u306a\u6a5f\u68b0\u5b66\u7fd2\u306e\u30b9\u30af\u30ea\u30d7\u30c8\u3067\u3059\uff0e import os os.e\u2026","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fpc.atsuhiro-me.net%2Fentry%2F2022%2F06%2F22%2F002312\" title=\"TensorFlow\u3092CPU\u3068GPU\u3067\u6bd4\u8f03\u3059\u308b - \u307f\u30fc\u306e\u307a\u30fc\u3058\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","type":"rich","version":"1.0","blog_url":"https://pc.atsuhiro-me.net/","image_url":null,"width":"100%","categories":["GPU","\u6a5f\u68b0\u5b66\u7fd2"]}