dimod.CaseLabelDQM.map_sample

CaseLabelDQM.map_sample(sample)[source]

Transform a sample to reflect case labels.

Parameters

sample (dict) – The sample to transform.

Returns

The transformed sample.