face-api/build/tinyYolov2/index.js

16 lines
759 B
JavaScript
Raw Normal View History

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.createTinyYolov2 = exports.TinyYolov2 = void 0;
const tslib_1 = require("tslib");
const TinyYolov2_1 = require("./TinyYolov2");
Object.defineProperty(exports, "TinyYolov2", { enumerable: true, get: function () { return TinyYolov2_1.TinyYolov2; } });
tslib_1.__exportStar(require("./TinyYolov2Options"), exports);
tslib_1.__exportStar(require("./config"), exports);
tslib_1.__exportStar(require("./types"), exports);
function createTinyYolov2(weights, withSeparableConvs = true) {
const net = new TinyYolov2_1.TinyYolov2(withSeparableConvs);
2020-08-18 14:04:33 +02:00
net.extractWeights(weights);
return net;
}
exports.createTinyYolov2 = createTinyYolov2;
2020-08-18 14:04:33 +02:00
//# sourceMappingURL=index.js.map