caffemodel: age_net.caffemodel
caffemodel_url: https://github.com/GilLevi/AgeGenderDeepLearning/raw/master/models/age_net.caffemodel
/* | |
Automatically generate dispatch functions as: | |
public function onDoubleArguments(one:String, two:Int) { | |
for (listener in listeners) | |
listener.onDoubleArguments(one, two); | |
} | |
*/ | |
class Example extends Dispatcher<Dynamic> | |
{ |
caffemodel: age_net.caffemodel
caffemodel_url: https://github.com/GilLevi/AgeGenderDeepLearning/raw/master/models/age_net.caffemodel
Array.prototype.poop = function() { | |
this.pop(); | |
// return nothing, it's poop | |
} | |
Array.prototype.shit = function() { | |
this.shift(); | |
// return nothing, it's poop | |
} |
function product() { | |
var args = Array.prototype.slice.call(arguments); // makes array from arguments | |
return args.reduce(function tl (accumulator, value) { | |
var tmp = []; | |
accumulator.forEach(function (a0) { | |
value.forEach(function (a1) { | |
tmp.push(a0.concat(a1)); | |
}); | |
}); | |
return tmp; |