def METHOD_NAME(device):
    layouts = ['ABC', 'XYZ']
    p = es_properties(layouts, device, batch_size=8, num_threads=4, device_id=0)
    p.build()
    output = p.run()
    for out, lt in zip(output, layouts):
        out = out if device == 'cpu' else out.as_cpu()
        for sample in out:
            assert _uint8_tensor_to_string(sample), lt