Shortcuts

Output

class flash.core.data.io.output.Output(running_stage=None, data_pipeline_state=None, state=None)[source]

An Output encapsulates a single transform() method which is used to convert the model output into the desired output format when predicting.

static transform(sample)[source]

Convert the given sample into the desired output format.

Parameters

sample (Any) – The output from the OutputTransform.

Return type

Any

Returns

The converted output.

Read the Docs v: latest
Versions
latest
stable
0.6.0
0.5.2
0.5.1
0.5.0
0.4.0
0.3.2
0.3.1
0.3.0
0.2.3
0.2.2
0.2.1
0.2.0
0.1.0post1
docs-fix_typing
Downloads
html
On Read the Docs
Project Home
Builds

Free document hosting provided by Read the Docs.