UNPKG

@ai-on-browser/data-analysis-models

Version:

Data analysis model package without any dependencies

24 lines (23 loc) 678 B
declare namespace _default { /** * Export to onnx object. * @param {onnx.ModelProto} model Model object * @param {import("../../graph").LayerObject & {type: 'input'}} obj Node object * @returns {{type: onnx.TensorProto.DataType; size: number[]}} Output information of this layer */ function _export(model: onnx.ModelProto, obj: { type: "input"; name?: string; size?: number[]; } & { input?: string | string[]; name?: string; } & { type: "input"; }): { type: onnx.TensorProto.DataType; size: number[]; }; export { _export as export }; } export default _default;