Synapseml  0.10.0
Public Member Functions | Static Public Member Functions | List of all members
Synapse.ML.Image.ResizeImageTransformer Class Reference

ResizeImageTransformer implements ResizeImageTransformer More...

Inheritance diagram for Synapse.ML.Image.ResizeImageTransformer:
Inheritance graph
[legend]
Collaboration diagram for Synapse.ML.Image.ResizeImageTransformer:
Collaboration graph
[legend]

Public Member Functions

 ResizeImageTransformer ()
 Creates a ResizeImageTransformer without any parameters. More...
 
 ResizeImageTransformer (string uid)
 Creates a ResizeImageTransformer with a UID that is used to give the ResizeImageTransformer a unique ID. More...
 
ResizeImageTransformer SetHeight (int value)
 Sets value for height More...
 
ResizeImageTransformer SetInputCol (string value)
 Sets value for inputCol More...
 
ResizeImageTransformer SetNChannels (int value)
 Sets value for nChannels More...
 
ResizeImageTransformer SetOutputCol (string value)
 Sets value for outputCol More...
 
ResizeImageTransformer SetWidth (int value)
 Sets value for width More...
 
int GetHeight ()
 Gets height value More...
 
string GetInputCol ()
 Gets inputCol value More...
 
int GetNChannels ()
 Gets nChannels value More...
 
string GetOutputCol ()
 Gets outputCol value More...
 
int GetWidth ()
 Gets width value More...
 
void Save (string path)
 Saves the object so that it can be loaded later using Load. Note that these objects can be shared with Scala by Loading or Saving in Scala. More...
 
JavaMLWriter Write ()
 
Returns
a JavaMLWriter instance for this ML instance.

 
JavaMLReader< ResizeImageTransformerRead ()
 Get the corresponding JavaMLReader instance. More...
 

Static Public Member Functions

static ResizeImageTransformer Load (string path)
 Loads the ResizeImageTransformer that was previously saved using Save(string). More...
 

Detailed Description

ResizeImageTransformer implements ResizeImageTransformer

Constructor & Destructor Documentation

◆ ResizeImageTransformer() [1/2]

Synapse.ML.Image.ResizeImageTransformer.ResizeImageTransformer ( )
inline

Creates a ResizeImageTransformer without any parameters.

◆ ResizeImageTransformer() [2/2]

Synapse.ML.Image.ResizeImageTransformer.ResizeImageTransformer ( string  uid)
inline

Creates a ResizeImageTransformer with a UID that is used to give the ResizeImageTransformer a unique ID.

Parameters
uidAn immutable unique ID for the object and its derivatives.

Member Function Documentation

◆ GetHeight()

int Synapse.ML.Image.ResizeImageTransformer.GetHeight ( )

Gets height value

Returns
height: the width of the image

◆ GetInputCol()

string Synapse.ML.Image.ResizeImageTransformer.GetInputCol ( )

Gets inputCol value

Returns
inputCol: The name of the input column

◆ GetNChannels()

int Synapse.ML.Image.ResizeImageTransformer.GetNChannels ( )

Gets nChannels value

Returns
nChannels: the number of channels of the target image

◆ GetOutputCol()

string Synapse.ML.Image.ResizeImageTransformer.GetOutputCol ( )

Gets outputCol value

Returns
outputCol: The name of the output column

◆ GetWidth()

int Synapse.ML.Image.ResizeImageTransformer.GetWidth ( )

Gets width value

Returns
width: the width of the image

◆ Load()

static ResizeImageTransformer Synapse.ML.Image.ResizeImageTransformer.Load ( string  path)
static

Loads the ResizeImageTransformer that was previously saved using Save(string).

Parameters
pathThe path the previous ResizeImageTransformer was saved to
Returns
New ResizeImageTransformer object, loaded from path.

◆ Read()

JavaMLReader<ResizeImageTransformer> Synapse.ML.Image.ResizeImageTransformer.Read ( )

Get the corresponding JavaMLReader instance.

Returns
an JavaMLReader<ResizeImageTransformer> instance for this ML instance.

◆ Save()

void Synapse.ML.Image.ResizeImageTransformer.Save ( string  path)

Saves the object so that it can be loaded later using Load. Note that these objects can be shared with Scala by Loading or Saving in Scala.

Parameters
pathThe path to save the object to

◆ SetHeight()

ResizeImageTransformer Synapse.ML.Image.ResizeImageTransformer.SetHeight ( int  value)

Sets value for height

Parameters
valuethe width of the image
Returns
New ResizeImageTransformer object

◆ SetInputCol()

ResizeImageTransformer Synapse.ML.Image.ResizeImageTransformer.SetInputCol ( string  value)

Sets value for inputCol

Parameters
valueThe name of the input column
Returns
New ResizeImageTransformer object

◆ SetNChannels()

ResizeImageTransformer Synapse.ML.Image.ResizeImageTransformer.SetNChannels ( int  value)

Sets value for nChannels

Parameters
valuethe number of channels of the target image
Returns
New ResizeImageTransformer object

◆ SetOutputCol()

ResizeImageTransformer Synapse.ML.Image.ResizeImageTransformer.SetOutputCol ( string  value)

Sets value for outputCol

Parameters
valueThe name of the output column
Returns
New ResizeImageTransformer object

◆ SetWidth()

ResizeImageTransformer Synapse.ML.Image.ResizeImageTransformer.SetWidth ( int  value)

Sets value for width

Parameters
valuethe width of the image
Returns
New ResizeImageTransformer object

The documentation for this class was generated from the following file: