index.js 633 B

123456789101112131415
  1. "use strict";
  2. Object.defineProperty(exports, "__esModule", { value: true });
  3. var tslib_1 = require("tslib");
  4. var TinyYolov2_1 = require("./TinyYolov2");
  5. exports.TinyYolov2 = TinyYolov2_1.TinyYolov2;
  6. tslib_1.__exportStar(require("./TinyYolov2Options"), exports);
  7. tslib_1.__exportStar(require("./config"), exports);
  8. function createTinyYolov2(weights, withSeparableConvs) {
  9. if (withSeparableConvs === void 0) { withSeparableConvs = true; }
  10. var net = new TinyYolov2_1.TinyYolov2(withSeparableConvs);
  11. net.extractWeights(weights);
  12. return net;
  13. }
  14. exports.createTinyYolov2 = createTinyYolov2;
  15. //# sourceMappingURL=index.js.map