Structs§
Constants§
Functions§
- num_
cpus - postprocess
- Convert model output back to an image, merging original luminance with predicted chrominance.
- prepare_
tensor - Resize grayscale image to MODEL_SIZE square and convert to NCHW f32 tensor (values 0-255).
- preprocess_
image - Load the input image, extract original L (luminance) channel, and create 3-channel grayscale.
- run_
inference - Run ONNX inference on the input tensor and return the output tensor.