config.d.ts 382 B

123456789101112
  1. import { Point } from '../classes/Point';
  2. export declare type TinyYolov2Config = {
  3. withSeparableConvs: boolean;
  4. iouThreshold: number;
  5. anchors: Point[];
  6. classes: string[];
  7. meanRgb?: [number, number, number];
  8. withClassScores?: boolean;
  9. filterSizes?: number[];
  10. isFirstLayerConv2d?: boolean;
  11. };
  12. export declare function validateConfig(config: any): void;