def reference(ref_data):
    t1 = torch.tensor(d1, dtype=torch.bool)
    t2 = torch.tensor(d2, dtype=torch.bool)
    out = (t1 & t2)
    return [out]
def reference(ref_data):
    t1 = torch.tensor(d1, dtype=torch.bool)
    t2 = torch.tensor(d2, dtype=torch.bool)
    out = (t1 & t2)
    return [out]