This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
import argparse | |
import io | |
import os | |
import tensorflow as tf | |
from tensorflow.python.tools import freeze_graph | |
from tensorflow.python.tools import optimize_for_inference_lib |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script> | |
const QA = (q, d) => Array.prototype.slice.call((d||document).querySelectorAll(q), 0); | |
const QS = (q, d) => (d||document).querySelector(q); | |
const QD = (e, D) => { | |
e.QS = (q, d) => QS(q, d || D); | |
e.QA = (q, d) => QA(q, d || D); | |
} | |
const IU = v => v === undefined; | |
const INU = v => v === null || v === undefined; | |
const IN = v => v === null; |