Enumeration ReservedEncodingFormats

namespace: Tensor
type: Tensor.uint16
default: Tensor.ReservedEncodingFormats.natural

Description

Reserved encoding formats define standard additional encodings known to all implementations.

Literals

natural : 0

Data is not further encoded, it is in its natural wireline format.
This is the default value if not defined explicitly.

raw : 1

Data is in an unspecified binary format. The interpretation of the data is falls to the producer and consumer of the information. For textual wireline encodings like JSON, the data will be valid within the representation.

xmf : 2

Data is XMF binary format. The binary data is structured using atoms and atom lists. For textual wireline encodings like JSON, this is XMF base64 encoded.

json : 3

Data is formatted as JSON compliant ascii text. For binary encodings like XMF, the content will be JSON instead.