Skip to content

Instantly share code, notes, and snippets.

@astojilj
Last active November 30, 2018 08:03
Show Gist options
  • Select an option

  • Save astojilj/1f06c4567cee0e050ab0e28bae7dfbae to your computer and use it in GitHub Desktop.

Select an option

Save astojilj/1f06c4567cee0e050ab0e28bae7dfbae to your computer and use it in GitHub Desktop.
diff --git a/integration_tests/benchmarks/benchmark.html b/integration_tests/benchmarks/benchmark.html
index 31ecd4e..04fce0a 100644
--- a/integration_tests/benchmarks/benchmark.html
+++ b/integration_tests/benchmarks/benchmark.html
@@ -112,11 +112,19 @@
<tbody></tbody>
</table>
</div>
+ <script src="../../../tfjs-core/dist/tf-core.js"> </script>
+ <script src="../../../tfjs-converter/dist/tf-converter.js"> </script>
+ <script src="../../../tfjs-layers/dist/tf-layers.js"> </script>
+<!--
<script src="https://unpkg.com/@tensorflow/tfjs-core/dist/tf-core.js"></script>
<script src="https://unpkg.com/@tensorflow/tfjs-layers/dist/tf-layers.js"></script>
<script src="https://unpkg.com/@tensorflow/tfjs-converter/dist/tf-converter.js"></script>
+-->
<script>
'use strict';
+ // tf.ENV.set('WEBGL_PACK_BATCHNORMALIZATION', true);
+ tf.ENV.set('WEBGL_LAZILY_UNPACK', true);
+
async function load() {
//////////////////////////////////
// Place model loading code here.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment