deno run -A --unstable rename.ts save-renames
deno run -A --unstable rename.ts rename- Remove
.WEBPfiles because they are trash.
| import * as tf from "@tensorflow/tfjs" | |
| import "@tensorflow/tfjs-node" | |
| import iris from "./iris.json" | |
| import irisTesting from "./iris-testing.json" | |
| // convert/setup our data | |
| const trainingData = tf.tensor2d(iris.map(item => [ | |
| item.sepal_length, item.sepal_width, item.petal_length, item.petal_width, | |
| ])) | |
| const outputData = tf.tensor2d(iris.map(item => [ |
Here are steps to decode Electron crashReporter dump on macOS:
const app = require('express')();
const path = require('path');
const fs = require('fs');
const multer = require('multer');| data = {} | |
| data["extend"] = function (data, t) | |
| for n, recipe in ipairs(t) do | |
| for i, component in ipairs(recipe["ingredients"]) do | |
| cname = component[1] or component["name"] | |
| camt = component[2] or component["amount"] | |
| print('"' .. recipe["name"] .. '","' .. cname .. '",' .. camt) | |
| end | |
| end | |
| end |