"src/diffusers/pipelines/chroma/pipeline_chroma_img2img.py" did not exist on "edb8c1bce67e81f0de90a7e4c16b2f6537d39f2d"
  • Fan Yang's avatar
    Add a normalize_image_impl function without tf.image.convert_image_dtype as it... · eefad314
    Fan Yang authored
    Add a normalize_image_impl function without tf.image.convert_image_dtype as it is not supported in TFLite. By using normalize_image_impl, normalization can be included in the TFLite graph. The original normalize_image calls normalize_image_impl so there is no affect on existing code.
    
    PiperOrigin-RevId: 467278332
    eefad314
preprocess_ops.py 37 KB