{"id":6305,"date":"2023-10-08T12:39:19","date_gmt":"2023-10-08T04:39:19","guid":{"rendered":"https:\/\/www.yimenyun.cn\/emen\/?p=6305"},"modified":"2023-10-08T12:39:19","modified_gmt":"2023-10-08T04:39:19","slug":"tf%e7%ad%be%e5%90%8d%e9%9c%80%e8%a6%81%e8%8b%b9%e6%9e%9c%e5%85%ac%e5%8f%b8%e5%ae%a1%e6%a0%b8%e5%90%97","status":"publish","type":"post","link":"https:\/\/www.yimenyun.cn\/emen\/6305\/","title":{"rendered":"tf\u7b7e\u540d\u9700\u8981\u82f9\u679c\u516c\u53f8\u5ba1\u6838\u5417?"},"content":{"rendered":"

TF\u7b7e\u540d\u662f\u6307\u5c06TensorFlow\u6a21\u578b\u5bfc\u51fa\u5e76\u8fdb\u884c\u7b7e\u540d\uff0c\u4ee5\u786e\u4fdd\u6a21\u578b\u7684\u5b8c\u6574\u6027\u548c\u5b89\u5168\u6027\u3002\u5728TensorFlow\u4e2d\uff0c\u7b7e\u540d\u662f\u901a\u8fc7\u4f7f\u7528\u8c37\u6b4c\u63d0\u4f9b\u7684\u7b7e\u540d\u5e93\u6765\u5b9e\u73b0\u7684\uff0c\u800c\u4e0d\u9700\u8981\u7ecf\u8fc7\u82f9\u679c\u516c\u53f8\u7684\u5ba1\u6838\u3002<\/p>\n

\u5728iOS\u4e2d\uff0c\u4e3a\u4e86\u786e\u4fdd\u5e94\u7528\u7684\u5b89\u5168\u6027\uff0c\u82f9\u679c\u516c\u53f8\u8981\u6c42\u6240\u6709\u8fd0\u884c\u5728iOS\u8bbe\u5907\u4e0a\u7684\u5e94\u7528\u5fc5\u987b\u7ecf\u8fc7\u7b7e\u540d\u9a8c\u8bc1\uff0c\u4ee5\u786e\u4fdd\u5e94\u7528android\u751f\u6210\u81ea\u6709\u8bc1\u4e66<\/a>\u662f\u7531\u7ecf\u8fc7\u9a8c\u8bc1\u7684\u5f00\u53d1\u8005\u53d1\u5e03\u7684\u3002\u8fd9\u662f\u901a\u8fc7\u5e94\u7528\u7684\u4e8c\u8fdb\u5236\u6587\u4ef6\u7ecf\u8fc7\u6570\u5b57\u7b7e\u540d\u7684\u65b9\u5f0f\u6765\u5b9e\u73b0\u7684\u3002\u53ea\u6709\u901a\u8fc7\u82f9\u679c\u516c\u53f8\u7684\u5f00\u53d1\u8005\u8d26\u6237\u548c\u76f8\u5173\u8bc1\u4e66\u7b7e\u540d\u8fc7\u7684\u5e94\u7528\u624d\u80fd\u5728iOS\u8bbe\u5907\u4e0a\u5b89\u88c5\u548c\u8fd0\u884c\u3002<\/p>\n

\u7136\u800c\uff0c\u5bf9\u4e8e\u4f7f\u7528TensorFlow\u6784\u5efa\u7684\u673a\u5668\u5b66\u4e60\u6a21\u578b\uff0c\u6211\u4eec\u53ef\u4ee5\u901a\u8fc7\u5728\u6a21\u578b\u5bfc\u51fa\u65f6\u8fdb\u884c\u7b7e\u540d\uff0c\u4ee5\u4fbf\u5728iOS\u8bbe\u5907\u4e0a\u8fd0\u884c\u3002\u8fd9\u6837\u505a\u7684\u597d\u5904\u662f\uff0c\u53ef\u4ee5\u786e\u4fdd\u6a21\u578b\u5728\u5bfc\u51fa\u65f6\u7684\u5b8c\u6574\u6027\uff0c\u540c\u65f6\u4e5f\u53ef\u4ee5\u63d0\u4f9b\u5b89\u5168\u6027\u4fdd\u969c\u3002<\/p>\n

\u5177\u4f53\u6765\u8bf4\uff0cTensorFlow\u63d0\u4f9b\u4e86\u4e00\u4e2a\u7b7e\u540d\u5e93\uff0c\u79f0\u4e3a`tensorflow.lite.Interpreter` \u3002\u5728\u6a21\u578b\u5bfc\u51fa\u65f6\uff0c\u6211\u4eec\u53ef\u4ee5\u901a\u8fc7\u4f7f\u7528\u6b64\u5e93\u5c06\u6a21\u578b\u7b7e\u540d\uff0c\u5e76\u5c06\u7b7e\u540d\u7ed3\u679c\u5b58\u50a8\u5728\u7b7e\u540d\u6587\u4ef6\u4e2d\u3002<\/p>\n

\u5728iOS\u5e94\u7528\u4e2d\uff0c\u53ef\u4ee5\u4f7f\u7528\u7b7e\u540d\u6587\u4ef6\u6765\u9a8c\u8bc1\u6a21\u578b\u7684\u5b8c\u6574\u6027\uff0c\u4ee5\u786e\u4fdd\u6a21\u578b\u6ca1\u6709\u88ab\u7be1\u6539\u6216\u635f\u574f\u3002\u8fd9\u6837\uff0c\u5373\u4f7f\u6a21\u578b\u6587\u4ef6\u88ab\u6076\u610f\u8f6f\u4ef6\u6216\u7b2c\u4e09\u65b9\u7be1\u6539\uff0c\u5728\u83b7\u5f97apk\u7b7e\u540d<\/a>\u8fd0\u884c\u6a21\u578b\u4e4b\u524d\uff0c\u6211\u4eec\u4f9d\u7136\u53ef\u4ee5\u901a\u8fc7\u9a8c\u8bc1\u7b7e\u540d\u6587\u4ef6\u7684\u65b9\u5f0f\u6765\u4fdd\u8bc1\u6a21\u578b\u7684\u5b89\u5168\u3002<\/p>\n

\u503c\u5f97\u6ce8\u610f\u7684\u662f\uff0c\u867d\u7136\u7b7e\u540d\u53ef\u4ee5\u63d0\u4f9b\u6a21\u578b\u7684\u5b8c\u6574\u6027\u548c\u5b89\u5168\u6027\u4fdd\u969c\uff0c\u4f46\u5b83\u5e76\u4e0d\u80fd\u9632\u6b62\u6a21\u578b\u672c\u8eab\u88ab\u9006\u5411\u5de5\u7a0b\u6216\u590d\u5236\u3002\u5982\u679c\u9700\u8981\u66f4\u9ad8\u7ea7\u522b\u7684\u5b89\u5168\u6027\u4fdd\u969c\uff0c\u53ef\u4ee5\u8003\u8651\u4f7f\u7528\u5176\u4ed6\u7684\u52a0\u5bc6\u548c\u5b89\u5168\u6027\u63aa\u65bd\u3002<\/p>\n

\u603b\u7ed3\u8d77\u6765\uff0c\u5bf9<\/p>\n

<\/figure>\n<\/p>\n

\u4e8eTensorFlow\u6a21\u578b\u7684\u7b7e\u540d\uff0c\u6211\u4eec\u4e0d\u9700\u8981\u7ecf\u8fc7\u82f9\u679c\u516c\u53f8\u7684\u5ba1\u6838\u3002\u7b7e\u540d\u4ec5\u4ec5\u662f\u4e3a\u4e86\u786e\u4fdd\u6a21\u578b\u7684\u5b8c\u6574\u6027\u548c\u5b89\u5168\u6027\uff0c\u5728\u5bfc\u51fa\u548c\u90e8\u7f72\u8fc7\u7a0b\u4e2d\u8d77\u5230\u4e86\u91cd\u8981\u7684\u4f5c\u7528\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"

TF\u7b7e\u540d\u662f\u6307\u5c06TensorFlow\u6a21\u578b\u5bfc\u51fa\u5e76\u8fdb\u884c\u7b7e\u540d\uff0c\u4ee5\u786e\u4fdd\u6a21\u578b\u7684\u5b8c\u6574\u6027\u548c\u5b89\u5168\u6027\u3002\u5728TensorFlow\u4e2d\uff0c\u7b7e\u540d\u662f\u901a\u8fc7\u4f7f\u7528\u8c37\u6b4c\u63d0\u4f9b\u7684\u7b7e\u540d\u5e93\u6765\u5b9e\u73b0\u7684\uff0c\u800c\u4e0d\u9700\u8981\u7ecf\u8fc7\u82f9\u679c\u516c\u53f8\u7684\u5ba1\u6838\u3002\u5728iOS\u4e2d\uff0c\u4e3a\u4e86\u786e\u4fdd\u5e94<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9],"tags":[11502,477,813,3794,11501],"topic":[],"class_list":["post-6305","post","type-post","status-publish","format-standard","hentry","category-appzs","tag-win10p12","tag-477","tag-813","tag-3794","tag-app"],"_links":{"self":[{"href":"https:\/\/www.yimenyun.cn\/emen\/wp-json\/wp\/v2\/posts\/6305","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.yimenyun.cn\/emen\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.yimenyun.cn\/emen\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.yimenyun.cn\/emen\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.yimenyun.cn\/emen\/wp-json\/wp\/v2\/comments?post=6305"}],"version-history":[{"count":0,"href":"https:\/\/www.yimenyun.cn\/emen\/wp-json\/wp\/v2\/posts\/6305\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.yimenyun.cn\/emen\/wp-json\/wp\/v2\/media?parent=6305"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.yimenyun.cn\/emen\/wp-json\/wp\/v2\/categories?post=6305"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.yimenyun.cn\/emen\/wp-json\/wp\/v2\/tags?post=6305"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.yimenyun.cn\/emen\/wp-json\/wp\/v2\/topic?post=6305"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}