server-json/node_modules/tfjs-image-recognition-base/build/es6/ops/index.js
2024-11-01 08:00:42 +00:00

13 lines
No EOL
362 B
JavaScript

export * from './iou';
export * from './minBbox';
export * from './nonMaxSuppression';
export * from './normalize';
export * from './padToSquare';
export * from './shuffleArray';
export function sigmoid(x) {
return 1 / (1 + Math.exp(-x));
}
export function inverseSigmoid(x) {
return Math.log(x / (1 - x));
}
//# sourceMappingURL=index.js.map