tensorflow-lambda:在lambdas(aws,vercel,...)上运行tensorflow

时间:2021-02-05 20:25:02
【文件属性】:
文件名称:tensorflow-lambda:在lambdas(aws,vercel,...)上运行tensorflow
文件大小:43KB
文件格式:ZIP
更新时间:2021-02-05 20:25:02
nodejs aws lambda aws-lambda serverless 张量流-λ 用法 首先,安装软件包: yarn add tensorflow-lambda 然后可以像这样使用它: const loadTf = require ( 'tensorflow-lambda' ) const tf = await loadTf ( ) // you get the same `tf` object that would get if you were doing: // const tf = require('@tensorflow/tfjs') tf . tensor ( [ 1 , 2 , 3 , 4 ] ) . print ( ) 看下面的例子: (
【文件预览】:
tensorflow-lambda-master
----index.js(1KB)
----tfjs-node()
--------index.js(50B)
--------package.json(148B)
--------yarn.lock(17KB)
----package.json(682B)
----readme.md(2KB)
----.github()
--------main.workflow(396B)
----.prettierrc(43B)
----.gitignore(25B)
----logo.png(20KB)
----yarn.lock(33KB)
----scripts()
--------compress.js(274B)
--------build.sh(476B)
----constants.js(183B)

网友评论