grayscale

fun grayscale(height: Int, width: Int): ShapeBuilder<T, V>(source)

Creates a grayscale image tensor (single channel)

Parameters

height

image height in pixels

width

image width in pixels