Processing

The processing components process and transform the data:

Reshape

Reshapes the data.

Parameters:

  • Reshape: sets the new shape of the data by allowing you to specify the order of axis in three dimensions, and the length/size of each.

  • Transpose: provides a visual representation of the new shape that will be applied.

Grayscale

Provides TensorFlow code to convert RGB (888) image data to grayscale.

OneHot

Provides TensorFlow code to perform one hot encoding.

Parameters:

  • Number of classes: specifies the number of classes (categories) in the data.

Rescale

Rescales image data to the desired width and height in pixels.

Rescaling is performed using interpolation which allows for new sizes not based off of the original size. This component can be connected to any component which outputs an image (e.g., commonly a Reshape or Data component; in some cases a Convolutional component).

Parameters:

  • Width * Height: the width and height to rescale the image to.