View a.ts
// tslint:disable:typedef
// tslint:disable:comment-format
import * as tf from "@tensorflow/tfjs";
const DIM = 64; // Model dimensionality.
const BATCH_SIZE = 50;
const CRITIC_ITERS = 5; // How many critic iterations per generator iteration
const LAMBDA = 10; // Gradient penalty lambda hyperparameter
const ITERS = 200000; // How many generator iterations to train for
View matmul_bench.ts
import { ones } from "./index";
const t1 = ones([100, 100]);
const t2 = ones([100, 100]);
let count = 10;
let total = 0;
const begin = Date.now() / 1000;
let end = begin;
View idea.ts
let implementMe: any, math: any;
const compute = Symbol("compute");
const source = Symbol("source");
interface Computable {
[compute](): Promise<TensorBuffer>;
}
class TensorBuffer implements Computable {
View win.txt
C:\Users\BertBelder\d\x>npm install propel
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN x@1.0.0 No description
npm WARN x@1.0.0 No repository field.
+ propel@3.2.0
added 1 package in 0.422s
C:\Users\BertBelder\d\x>node -e "require('propel')"
Using DL backend.
View rb.c
#include <assert.h>
#include <malloc.h>
#include <stdbool.h>
#include <stdint.h>
#include <stdlib.h>
#include <string.h>
typedef intptr_t ssize_t;
typedef struct tree_node tree_node_t;
View dump.js
var heapdump = require('heapdump');
var lastHeapUsed;
setTimeout(function() {
dump(process.memoryUsage().heapUsed);
setInterval(function() {
var heapUsed = process.memoryUsage().heapUsed;
if (heapUsed > 2*lastHeapUsed)
dump(heapUsed);
View keybase.md

Keybase proof

I hereby claim:

  • I am piscisaureus on github.
  • I am piscisaureus (https://keybase.io/piscisaureus) on keybase.
  • I have a public key whose fingerprint is 4427 2BEE EFA2 6F95 BF7E 4C96 7A77 887B 2E2E D461

To claim this, I am signing this object:

View gist:3287ced95217eb2c5199
D:\iojs>git config --system -l
core.symlinks=false
core.autocrlf=input
color.diff=auto
color.status=auto
color.branch=auto
color.interactive=true
pack.packsizelimit=2g
help.format=html
http.sslcainfo=/bin/curl-ca-bundle.crt
View gist:f678b71b5df2195a607f
d:\a\node_modules\strong-agent\src\compat.h(71): error C2061: syntax error : id
entifier 'FunctionCallback' [D:\a\node_modules\strong-agent\build\strong-agent.
vcxproj]
d:\a\node_modules\strong-agent\src\compat.h(139): error C4430: missing type spe
cifier - int assumed. Note: C++ does not support default-int [D:\a\node_modules
\strong-agent\build\strong-agent.vcxproj]
d:\a\node_modules\strong-agent\src\compat.h(139): error C2143: syntax error : m
issing ',' before '&' [D:\a\node_modules\strong-agent\build\strong-agent.vcxpro
j]
d:\a\node_modules\strong-agent\src\compat.h(140): error C2146: syntax error : m
View nni.cpp
#include <functional>
#include <iostream>
class JSAny {
void* substance;
};
class JSBool : public JSAny {
public: