Shortcuts

Serializer

class flash.core.data.process.Serializer[source]

A Serializer encapsulates a single serialize method which is used to convert the model output into the desired output format when predicting.

disable()[source]

Disable serialization.

enable()[source]

Enable serialization.

static serialize(sample)[source]

Serialize the given sample into the desired output format.

Parameters

sample (Any) – The output from the Postprocess.

Return type

Any

Returns

The serialized output.

Read the Docs v: latest
Versions
latest
stable
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
Downloads
pdf
html
On Read the Docs
Project Home
Builds

Free document hosting provided by Read the Docs.