InferenceSession.run( { "input": xinput } ) .then(res => { // 模型的输出结果为float32[batch_size,1,height,width] // TODO 在小程序中如何导出图片 }) .catch(err => { console.error(err) })