{"id":626,"date":"2020-11-19T22:22:01","date_gmt":"2020-11-19T14:22:01","guid":{"rendered":"https:\/\/xg1990.com\/blog\/?p=626"},"modified":"2020-11-20T06:58:52","modified_gmt":"2020-11-19T22:58:52","slug":"%e5%9c%a8macos-11-big-sur%e9%87%8c%e4%bd%bf%e7%94%a8-ml-compute-%e6%a1%86%e6%9e%b6%e5%8a%a0%e9%80%9ftensorflow","status":"publish","type":"post","link":"https:\/\/xg1990.com\/blog\/en\/archives\/626","title":{"rendered":"\u5728MacOS 11 Big Sur\u91cc\u4f7f\u7528 ML Compute \u6846\u67b6\u52a0\u901fTensorflow"},"content":{"rendered":"\n<p><a href=\"https:\/\/developer.apple.com\/documentation\/mlcompute\">ML Compute<\/a> \u662f MacOS 11 Big Sur \u91cc\u65b0\u52a0\u5165\u7684\u673a\u5668\u5b66\u4e60\u52a0\u901f\u5f15\u64ce\uff0c\u53ef\u4ee5\u63d0\u5347\u795e\u7ecf\u7f51\u7edc\u7684\u8bad\u7ec3\u548c\u9884\u6d4b\u901f\u5ea6\u3002<\/p>\n\n\n\n<p>\u540c\u65f6\u82f9\u679c\u5b98\u65b9\u4e5f\u63d0\u4f9b\u4e86\u652f\u6301ML Compute\u7684\u4f18\u5316\u7248\u672cTensorflow\u6765\u5229\u7528\u8fd9\u4e00\u7279\u6027\u3002\u6e90\u7801\u5df2\u7ecf\u5728<a href=\"https:\/\/github.com\/apple\/tensorflow_macos\">github\u4e0a<\/a>\u5f00\u6e90\u63d0\u4f9b\u3002<\/p>\n\n\n\n<h2>\u63d0\u524d\u51c6\u5907<\/h2>\n\n\n\n<p>\u4f7f\u7528\u8be5\u7279\u6027\u524d\uff0c\u9700\u8981\u5148\u786e\u4fddMacBook\u5df2\u7ecf\u5347\u7ea7\u5230\u6700\u65b0\u7248\u672c\uff08MacOS 11.0+\uff09\uff0c\u540c\u65f6\u786e\u4fddpython\u5347\u7ea7\u5230<strong>3.8\u7248\u672c<\/strong>\u3002<\/p>\n\n\n\n<p>python\u5347\u7ea7\u52303.8\u7248\u672c\u540e\uff0c\u9700\u8981\u4e3atensorflow_mac\u521b\u5efa\u4e00\u4e2a\u865a\u62df\u73af\u5883\uff08venv\uff09\uff0c\u6267\u884c\u547d\u4ee4<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">python3.8 -m venv tensorflow_macos<\/pre>\n\n\n\n<p>\u5373\u53ef\uff0c\u8be5\u547d\u4ee4\u4f1a\u521b\u5efa\u4e00\u4e2a\u540d\u4e3atensorflow_macos\u7684python3.8 \u865a\u62df\u73af\u5883\uff0c\u540c\u65f6\u4e5f\u4f1a\u521b\u5efa\u4e00\u4e2a\u540d\u4e3atensorflow_macos\u7684\u76ee\u5f55\uff0c\u540e\u9762tensorflow_macos\u4f1a\u5b89\u88c5\u5728\u8fd9\u4e2a\u76ee\u5f55\u5185\u7684\u865a\u62df\u73af\u5883\u4e2d\u3002\u4f7f\u7528<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">cd tensorflow_macos<\/pre>\n\n\n\n<p>\u547d\u4ee4\u8fdb\u5165\u8be5\u76ee\u5f55\uff0c\u540c\u65f6\u6267\u884c<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">pwd<\/pre>\n\n\n\n<p>\u5c55\u793a\u8be5\u76ee\u5f55\u7684\u5b8c\u6574\u8def\u5f84\uff0c\u4e0b\u9762\u5b89\u88c5\u65f6\u4f1a\u7528\u5230\u3002<\/p>\n\n\n\n<h2>\u5b89\u88c5<\/h2>\n\n\n\n<p>\u63a5\u4e0b\u6765\u5c31\u53ef\u4ee5\u5f00\u59cb\u5b89\u88c5  tensorflow_macos \u4e86\uff0c\u5b89\u88c5\u65b9\u5f0f\u4e3a\u76f4\u63a5\u5728\u7cfb\u7edf\u91cc\u6267\u884c\u4ee5\u4e0b\u8fdc\u7a0b\u5b89\u88c5\u811a\u672c\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\/bin\/bash -c \"$(curl -fsSL https:\/\/raw.githubusercontent.com\/apple\/tensorflow_macos\/master\/scripts\/download_and_install.sh)\"<\/code><\/pre>\n\n\n\n<p>\u5b89\u88c5\u6587\u4ef6\u7ea6316M\uff0c\u9700\u8981\u7b49\u5f85\u4e00\u6bb5\u65f6\u95f4\u4e0b\u8f7d\u3002<\/p>\n\n\n\n<p>\u4e2d\u95f4\u811a\u672c\u4f1a\u8be2\u95ee\u5b89\u88c5\u5230\u54ea\u4e2a\u865a\u62df\u73af\u5883\uff08Path to new or existing virtual environment [default: \/Users\/***\/tensorflow_macos_venv\/]:\uff09\uff0c\u6b64\u65f6\u63d0\u4f9b\u521a\u521a\u521b\u5efa\u597d\u7684\u865a\u62df\u73af\u5883\u7684\u5b8c\u6574\u8def\u5f84\u5373\u53ef\u3002<\/p>\n\n\n\n<p>\u63a5\u4e0b\u6765\u5b89\u88c5\u811a\u672c\u4f1a\u5728\u865a\u62df\u73af\u5883\u4e2d\u5b89\u88c5 tensorflow_macos \u4ee5\u53ca\u4f9d\u8d56\u7684\u5305\u3002\u6700\u540e\u4f1a\u63d0\u793a\u4f60\u4f7f\u7528<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">.  \/path\/to\/tensorflow_macos\/bin\/activate<\/pre>\n\n\n\n<p>\u6765\u6fc0\u6d3btensorflow_macos\u7684\u865a\u62df\u73af\u5883\uff08\u6ce8\u610f\uff1a\u4ee5\u4e0a\u547d\u4ee4\u4ec5\u4e3a\u5b9e\u4f8b\uff0c\u9700\u8981\u6839\u636e\u5b9e\u9645\u7684\u865a\u62df\u73af\u5883\u76ee\u5f55\u6765\u8c03\u6574\uff09<\/p>\n\n\n\n<h2>\u6d4b\u8bd5<\/h2>\n\n\n\n<p>pip install tensorflow_datasets<\/p>\n\n\n\n<p>\u4f7f\u7528tensorflow<a href=\"https:\/\/www.tensorflow.org\/datasets\/keras_example\">\u5b98\u65b9\u63d0\u4f9b\u7684\u8bad\u7ec3\u811a\u672c<\/a><\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">#Import mlcompute module to use the optional set_mlc_device API for device selection with ML Compute.\nfrom tensorflow.python.compiler.mlcompute import mlcompute\n#Select CPU device.\nmlcompute.set_mlc_device(device_name='cpu') # Available options are 'cpu', 'gpu', and \u2018any'.\n\nimport tensorflow.compat.v2 as tf\nimport tensorflow_datasets as tfds\n\ntf.enable_v2_behavior()\n\n(ds_train, ds_test), ds_info = tfds.load(\n'mnist',\nsplit=['train', 'test'],\nshuffle_files=True,\nas_supervised=True,\nwith_info=True,\n)\n\ndef normalize_img(image, label):\n    \"\"\"Normalizes images: <code>uint8<\/code> -> <code>float32<\/code>.\"\"\"\n    return tf.cast(image, tf.float32) \/ 255., label\n\nds_train = ds_train.map(\nnormalize_img, num_parallel_calls=tf.data.experimental.AUTOTUNE)\nds_train = ds_train.cache()\nds_train = ds_train.shuffle(ds_info.splits['train'].num_examples)\nds_train = ds_train.batch(128)\nds_train = ds_train.prefetch(tf.data.experimental.AUTOTUNE)\ns_test = ds_test.map(\nnormalize_img, num_parallel_calls=tf.data.experimental.AUTOTUNE)\nds_test = ds_test.batch(128)\nds_test = ds_test.cache()\nds_test = ds_test.prefetch(tf.data.experimental.AUTOTUNE)\nmodel = tf.keras.models.Sequential([\ntf.keras.layers.Flatten(input_shape=(28, 28, 1)),\ntf.keras.layers.Dense(128,activation='relu'),\ntf.keras.layers.Dense(10, activation='softmax')\n])\nmodel.compile(\nloss='sparse_categorical_crossentropy',\noptimizer=tf.keras.optimizers.Adam(0.001),\nmetrics=['accuracy'],\n)\nmodel.fit(\nds_train,\nepochs=50,\nvalidation_data=ds_test,\n)<\/pre>\n\n\n\n<p>\u5728\u4f7f\u7528\u666e\u901atensorflow\u65f6\uff0c\u8bad\u7ec3\u901f\u5ea6\u5927\u6982\u662f 2ms\/step<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" src=\"https:\/\/xg1990.com\/blog\/wp-content\/uploads\/2020\/11\/image.png\" alt=\"\" class=\"wp-image-630\" width=\"410\" height=\"240\" srcset=\"https:\/\/xg1990.com\/blog\/wp-content\/uploads\/2020\/11\/image.png 896w, https:\/\/xg1990.com\/blog\/wp-content\/uploads\/2020\/11\/image-300x176.png 300w, https:\/\/xg1990.com\/blog\/wp-content\/uploads\/2020\/11\/image-768x451.png 768w\" sizes=\"(max-width: 410px) 100vw, 410px\" \/><\/figure>\n\n\n\n<p>\u4f7f\u7528\u4f18\u5316\u540e\u7684tensorflow\uff0c\u8bad\u7ec3\u901f\u5ea6\u5927\u6982\u662f 3ms\/step<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" src=\"https:\/\/xg1990.com\/blog\/wp-content\/uploads\/2020\/11\/image-1.png\" alt=\"\" class=\"wp-image-631\" width=\"442\" height=\"236\" srcset=\"https:\/\/xg1990.com\/blog\/wp-content\/uploads\/2020\/11\/image-1.png 892w, https:\/\/xg1990.com\/blog\/wp-content\/uploads\/2020\/11\/image-1-300x160.png 300w, https:\/\/xg1990.com\/blog\/wp-content\/uploads\/2020\/11\/image-1-768x410.png 768w\" sizes=\"(max-width: 442px) 100vw, 442px\" \/><\/figure>\n\n\n\n<p>\u542f\u7528GPU\u540e\uff08Intel Iris Graphics 540 1536 MB\uff09\uff0c\u8bad\u7ec3\u901f\u5ea6\u662f 32ms\/step<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" src=\"https:\/\/xg1990.com\/blog\/wp-content\/uploads\/2020\/11\/image-2.png\" alt=\"\" class=\"wp-image-632\" width=\"476\" height=\"220\" srcset=\"https:\/\/xg1990.com\/blog\/wp-content\/uploads\/2020\/11\/image-2.png 936w, https:\/\/xg1990.com\/blog\/wp-content\/uploads\/2020\/11\/image-2-300x139.png 300w, https:\/\/xg1990.com\/blog\/wp-content\/uploads\/2020\/11\/image-2-768x356.png 768w\" sizes=\"(max-width: 476px) 100vw, 476px\" \/><\/figure>\n\n\n\n<p>\u770b\u6765\u5bf9\u4e8e\u666e\u901a\u7684MacBook\uff0ctensorflow_macos\u5e76\u4e0d\u80fd\u5e26\u6765\u901f\u5ea6\u4e0a\u7684\u63d0\u5347\uff0c\u53cd\u800c\u662f\u66f4\u52a0\u62d6\u540e\u817f<\/p>\n\n\n\n<p>\u81f3\u4e8eM1\u82af\u7247\u7684\u6548\u7387\uff0c\u7a0d\u540e\u6d4b\u8bd5<\/p>\n","protected":false},"excerpt":{"rendered":"<p>ML Compute \u662f MacOS 11 Big Sur \u91cc\u65b0\u52a0\u5165\u7684\u673a\u5668\u5b66\u4e60\u52a0\u901f\u5f15\u64ce\uff0c\u53ef\u4ee5\u63d0\u5347\u795e\u7ecf\u7f51\u7edc\u7684\u8bad\u7ec3\u548c\u9884\u6d4b\u901f\u5ea6\u3002 \u540c\u65f6\u82f9\u679c\u5b98\u65b9\u4e5f\u63d0\u4f9b\u4e86\u652f\u6301ML Compute\u7684\u4f18\u5316\u7248\u672cTensorflow\u6765\u5229\u7528\u8fd9\u4e00\u7279\u6027\u3002\u6e90\u7801\u5df2\u7ecf\u5728github\u4e0a\u5f00\u6e90\u63d0\u4f9b\u3002 \u63d0\u524d\u51c6\u5907 \u4f7f\u7528\u8be5\u7279\u6027\u524d\uff0c\u9700\u8981\u5148\u786e\u4fddMacBook\u5df2\u7ecf\u5347\u7ea7\u5230\u6700\u65b0\u7248\u672c\uff08MacOS 11.0+\uff09\uff0c\u540c\u65f6\u786e\u4fddpython\u5347\u7ea7\u52303.8\u7248\u672c\u3002 python\u5347\u7ea7\u52303.8\u7248\u672c\u540e\uff0c\u9700\u8981\u4e3atensorflow_mac\u521b\u5efa\u4e00\u4e2a\u865a\u62df\u73af\u5883\uff08venv\uff09\uff0c\u6267\u884c\u547d\u4ee4 python3.8 -m venv tensorflow_macos \u5373\u53ef\uff0c\u8be5\u547d\u4ee4\u4f1a\u521b\u5efa\u4e00\u4e2a\u540d\u4e3atensorflow_macos\u7684python3.8 \u865a\u62df\u73af\u5883\uff0c\u540c\u65f6\u4e5f\u4f1a\u521b\u5efa\u4e00\u4e2a\u540d\u4e3atensorflow_macos\u7684\u76ee\u5f55\uff0c\u540e\u9762tensorflow_macos\u4f1a\u5b89\u88c5\u5728\u8fd9\u4e2a\u76ee\u5f55\u5185\u7684\u865a\u62df\u73af\u5883\u4e2d\u3002\u4f7f\u7528 cd tensorflow_macos \u547d\u4ee4\u8fdb\u5165\u8be5\u76ee\u5f55\uff0c\u540c\u65f6\u6267\u884c pwd \u5c55\u793a\u8be5\u76ee\u5f55\u7684\u5b8c\u6574\u8def\u5f84\uff0c\u4e0b\u9762\u5b89\u88c5\u65f6\u4f1a\u7528\u5230\u3002 \u5b89\u88c5 \u63a5\u4e0b\u6765\u5c31\u53ef\u4ee5\u5f00\u59cb\u5b89\u88c5 tensorflow_macos \u4e86\uff0c\u5b89\u88c5\u65b9\u5f0f\u4e3a\u76f4\u63a5\u5728\u7cfb\u7edf\u91cc\u6267\u884c\u4ee5\u4e0b\u8fdc\u7a0b\u5b89\u88c5\u811a\u672c\uff1a \u5b89\u88c5\u6587\u4ef6\u7ea6316M\uff0c\u9700\u8981\u7b49\u5f85\u4e00\u6bb5\u65f6\u95f4\u4e0b\u8f7d\u3002 \u4e2d\u95f4\u811a\u672c\u4f1a\u8be2\u95ee\u5b89\u88c5\u5230\u54ea\u4e2a\u865a\u62df\u73af\u5883\uff08Path to new or existing virtual environment [default: \/Users\/***\/tensorflow_macos_venv\/]:\uff09\uff0c\u6b64\u65f6\u63d0\u4f9b\u521a\u521a\u521b\u5efa\u597d\u7684\u865a\u62df\u73af\u5883\u7684\u5b8c\u6574\u8def\u5f84\u5373\u53ef\u3002 \u63a5\u4e0b\u6765\u5b89\u88c5\u811a\u672c\u4f1a\u5728\u865a\u62df\u73af\u5883\u4e2d\u5b89\u88c5 tensorflow_macos \u4ee5\u53ca\u4f9d\u8d56\u7684\u5305\u3002\u6700\u540e\u4f1a\u63d0\u793a\u4f60\u4f7f\u7528 . \/path\/to\/tensorflow_macos\/bin\/activate \u6765\u6fc0\u6d3btensorflow_macos\u7684\u865a\u62df\u73af\u5883\uff08\u6ce8\u610f\uff1a\u4ee5\u4e0a\u547d\u4ee4\u4ec5\u4e3a\u5b9e\u4f8b\uff0c\u9700\u8981\u6839\u636e\u5b9e\u9645\u7684\u865a\u62df\u73af\u5883\u76ee\u5f55\u6765\u8c03\u6574\uff09 \u6d4b\u8bd5 pip install tensorflow_datasets \u4f7f\u7528tensorflow\u5b98\u65b9\u63d0\u4f9b\u7684\u8bad\u7ec3\u811a\u672c #Import mlcompute module to use&hellip;&nbsp;<a href=\"https:\/\/xg1990.com\/blog\/en\/archives\/626\" class=\"\" rel=\"bookmark\">Read More &raquo;<span class=\"screen-reader-text\">\u5728MacOS 11 Big Sur\u91cc\u4f7f\u7528 ML Compute \u6846\u67b6\u52a0\u901fTensorflow<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"neve_meta_sidebar":"","neve_meta_container":"","neve_meta_enable_content_width":"","neve_meta_content_width":0,"neve_meta_title_alignment":"","neve_meta_author_avatar":"","neve_post_elements_order":"","neve_meta_disable_header":"","neve_meta_disable_footer":"","neve_meta_disable_title":""},"categories":[1],"tags":[],"translation":{"provider":"WPGlobus","version":"3.0.1","language":"en","enabled_languages":["zh","en"],"languages":{"zh":{"title":true,"content":true,"excerpt":false},"en":{"title":false,"content":false,"excerpt":false}}},"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v18.4.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u5728MacOS 11 Big Sur\u91cc\u4f7f\u7528 ML Compute \u6846\u67b6\u52a0\u901fTensorflow - xg1990<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/xg1990.com\/blog\/archives\/626\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u5728MacOS 11 Big Sur\u91cc\u4f7f\u7528 ML Compute \u6846\u67b6\u52a0\u901fTensorflow - xg1990\" \/>\n<meta property=\"og:url\" content=\"https:\/\/xg1990.com\/blog\/archives\/626\" \/>\n<meta property=\"og:site_name\" content=\"xg1990\" \/>\n<meta property=\"article:published_time\" content=\"2020-11-19T14:22:01+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2020-11-19T22:58:52+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/xg1990.com\/blog\/wp-content\/uploads\/2020\/11\/image.png\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"xg1990\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebSite\",\"@id\":\"https:\/\/xg1990.com\/blog\/#website\",\"url\":\"https:\/\/xg1990.com\/blog\/\",\"name\":\"xg1990\",\"description\":\"\u5730\u7406\u5708\u7684\u7801\u519c\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/xg1990.com\/blog\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/xg1990.com\/blog\/archives\/626#primaryimage\",\"inLanguage\":\"en-US\",\"url\":\"https:\/\/xg1990.com\/blog\/wp-content\/uploads\/2020\/11\/image.png\",\"contentUrl\":\"https:\/\/xg1990.com\/blog\/wp-content\/uploads\/2020\/11\/image.png\",\"width\":896,\"height\":526},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/xg1990.com\/blog\/archives\/626#webpage\",\"url\":\"https:\/\/xg1990.com\/blog\/archives\/626\",\"name\":\"\u5728MacOS 11 Big Sur\u91cc\u4f7f\u7528 ML Compute \u6846\u67b6\u52a0\u901fTensorflow - xg1990\",\"isPartOf\":{\"@id\":\"https:\/\/xg1990.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/xg1990.com\/blog\/archives\/626#primaryimage\"},\"datePublished\":\"2020-11-19T14:22:01+00:00\",\"dateModified\":\"2020-11-19T22:58:52+00:00\",\"author\":{\"@id\":\"https:\/\/xg1990.com\/blog\/#\/schema\/person\/774c05a86b0a61bb8ff633749c59fa8f\"},\"breadcrumb\":{\"@id\":\"https:\/\/xg1990.com\/blog\/archives\/626#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/xg1990.com\/blog\/archives\/626\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/xg1990.com\/blog\/archives\/626#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/xg1990.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u5728MacOS 11 Big Sur\u91cc\u4f7f\u7528 ML Compute \u6846\u67b6\u52a0\u901fTensorflow\"}]},{\"@type\":\"Person\",\"@id\":\"https:\/\/xg1990.com\/blog\/#\/schema\/person\/774c05a86b0a61bb8ff633749c59fa8f\",\"name\":\"xg1990\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/xg1990.com\/blog\/#personlogo\",\"inLanguage\":\"en-US\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/2d326d725f277a38a498575f23200141?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/2d326d725f277a38a498575f23200141?s=96&d=mm&r=g\",\"caption\":\"xg1990\"},\"url\":\"https:\/\/xg1990.com\/blog\/en\/archives\/author\/xg1990\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u5728MacOS 11 Big Sur\u91cc\u4f7f\u7528 ML Compute \u6846\u67b6\u52a0\u901fTensorflow - xg1990","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/xg1990.com\/blog\/archives\/626","og_locale":"en_US","og_type":"article","og_title":"\u5728MacOS 11 Big Sur\u91cc\u4f7f\u7528 ML Compute \u6846\u67b6\u52a0\u901fTensorflow - xg1990","og_url":"https:\/\/xg1990.com\/blog\/archives\/626","og_site_name":"xg1990","article_published_time":"2020-11-19T14:22:01+00:00","article_modified_time":"2020-11-19T22:58:52+00:00","og_image":[{"url":"https:\/\/xg1990.com\/blog\/wp-content\/uploads\/2020\/11\/image.png"}],"twitter_misc":{"Written by":"xg1990","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebSite","@id":"https:\/\/xg1990.com\/blog\/#website","url":"https:\/\/xg1990.com\/blog\/","name":"xg1990","description":"\u5730\u7406\u5708\u7684\u7801\u519c","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/xg1990.com\/blog\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"ImageObject","@id":"https:\/\/xg1990.com\/blog\/archives\/626#primaryimage","inLanguage":"en-US","url":"https:\/\/xg1990.com\/blog\/wp-content\/uploads\/2020\/11\/image.png","contentUrl":"https:\/\/xg1990.com\/blog\/wp-content\/uploads\/2020\/11\/image.png","width":896,"height":526},{"@type":"WebPage","@id":"https:\/\/xg1990.com\/blog\/archives\/626#webpage","url":"https:\/\/xg1990.com\/blog\/archives\/626","name":"\u5728MacOS 11 Big Sur\u91cc\u4f7f\u7528 ML Compute \u6846\u67b6\u52a0\u901fTensorflow - xg1990","isPartOf":{"@id":"https:\/\/xg1990.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/xg1990.com\/blog\/archives\/626#primaryimage"},"datePublished":"2020-11-19T14:22:01+00:00","dateModified":"2020-11-19T22:58:52+00:00","author":{"@id":"https:\/\/xg1990.com\/blog\/#\/schema\/person\/774c05a86b0a61bb8ff633749c59fa8f"},"breadcrumb":{"@id":"https:\/\/xg1990.com\/blog\/archives\/626#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/xg1990.com\/blog\/archives\/626"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/xg1990.com\/blog\/archives\/626#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/xg1990.com\/blog\/"},{"@type":"ListItem","position":2,"name":"\u5728MacOS 11 Big Sur\u91cc\u4f7f\u7528 ML Compute \u6846\u67b6\u52a0\u901fTensorflow"}]},{"@type":"Person","@id":"https:\/\/xg1990.com\/blog\/#\/schema\/person\/774c05a86b0a61bb8ff633749c59fa8f","name":"xg1990","image":{"@type":"ImageObject","@id":"https:\/\/xg1990.com\/blog\/#personlogo","inLanguage":"en-US","url":"https:\/\/secure.gravatar.com\/avatar\/2d326d725f277a38a498575f23200141?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/2d326d725f277a38a498575f23200141?s=96&d=mm&r=g","caption":"xg1990"},"url":"https:\/\/xg1990.com\/blog\/en\/archives\/author\/xg1990"}]}},"_links":{"self":[{"href":"https:\/\/xg1990.com\/blog\/en\/wp-json\/wp\/v2\/posts\/626"}],"collection":[{"href":"https:\/\/xg1990.com\/blog\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/xg1990.com\/blog\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/xg1990.com\/blog\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/xg1990.com\/blog\/en\/wp-json\/wp\/v2\/comments?post=626"}],"version-history":[{"count":3,"href":"https:\/\/xg1990.com\/blog\/en\/wp-json\/wp\/v2\/posts\/626\/revisions"}],"predecessor-version":[{"id":633,"href":"https:\/\/xg1990.com\/blog\/en\/wp-json\/wp\/v2\/posts\/626\/revisions\/633"}],"wp:attachment":[{"href":"https:\/\/xg1990.com\/blog\/en\/wp-json\/wp\/v2\/media?parent=626"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/xg1990.com\/blog\/en\/wp-json\/wp\/v2\/categories?post=626"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/xg1990.com\/blog\/en\/wp-json\/wp\/v2\/tags?post=626"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}