tf-to-xla-to-wasm:将张量流图编译为WebAssembly(通过XLA)

时间:2024-05-30 14:46:32
【文件属性】:

文件名称:tf-to-xla-to-wasm:将张量流图编译为WebAssembly(通过XLA)

文件大小:4KB

文件格式:ZIP

更新时间:2024-05-30 14:46:32

Tensorflow到WebAssembly 这是一套裸机指令编译Tensorflow模型(作为.pb文件)WebAssembly。 您可以在查看我在浏览器中运行的Tensorflow模型的实时演示。 要使用这些基本说明,您将需要: 已经知道如何使用Tensorflow的tfcompile工具将, 拥有一个将C ++编译为WebAssembly的工具链,例如 。 为了最大程度地利用此资源,首先请确保可以使用tfcompile将Tensorflow图编译为在本地运行的独立二进制文件,然后再尝试将其编译为WebAssembly。 同样,请确保可以使用Emscripten编译并运行“ Hello World!”。 WebAssembly中的程序。 1.编译修改后的tfcompile $ git clone --recursive https://github.com/nuchi/tf


【文件预览】:
tf-to-xla-to-wasm-master
----tensorflow()
----wasm-patch.diff(6KB)
----LICENSE(1KB)
----.gitmodules(92B)
----README.md(4KB)

网友评论