UNPKG

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

Version:

Data analysis model package without any dependencies

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