• Store a dummy generated image from the Neural Network as a png on the disk for quick preview.

    Parameters

    • rawImage: Uint8Array | Float32Array | Int32Array

      Raw image data (not a tensor.)

    • isSample: boolean = false

      Default false. If true, updates .sample.png image (image from dataset).

    Returns Promise<void>

    Note

    This function normalizes from -1, 1 range to 0, 255.

Generated using TypeDoc