server-json/node_modules/face-api.js/build/commonjs/tinyYolov2/index.js
2024-11-01 08:00:42 +00:00

12 lines
No EOL
497 B
JavaScript

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var TinyYolov2_1 = require("./TinyYolov2");
exports.TinyYolov2 = TinyYolov2_1.TinyYolov2;
function createTinyYolov2(weights, withSeparableConvs) {
if (withSeparableConvs === void 0) { withSeparableConvs = true; }
var net = new TinyYolov2_1.TinyYolov2(withSeparableConvs);
net.extractWeights(weights);
return net;
}
exports.createTinyYolov2 = createTinyYolov2;
//# sourceMappingURL=index.js.map