face-api/types/tinyYolov2/config.d.ts

13 lines
382 B
TypeScript

import { Point } from '../classes/Point';
export declare type TinyYolov2Config = {
withSeparableConvs: boolean;
iouThreshold: number;
anchors: Point[];
classes: string[];
meanRgb?: [number, number, number];
withClassScores?: boolean;
filterSizes?: number[];
isFirstLayerConv2d?: boolean;
};
export declare function validateConfig(config: any): void;