LoginSignup
0
1

More than 5 years have passed since last update.

tensorflow.jsでsandbox

Last updated at Posted at 2018-04-17

概要

tensorflow.jsのsandbox作った。

成果物

サンプルコード

var out = document.getElementById("out");
var src = document.getElementById("src"); 
out.innerHTML = '';
function run() {
    try
    {
        eval(src.value);
        alert("結果は、コンソール見てね。");
    }
    catch(e)
    {
        var b = document.createElement('b');
        b.appendChild(document.createTextNode(e));
        b.style.color = '#F00';
        out.appendChild(b);
    }
}


以上。

0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1