def cat()

in ctorch.py [0:0]


def cat(seq, **kwargs):
    """Concatenates together the terms in the given sequence.
    """
    real = torch.cat([x.real for x in seq], **kwargs)
    imag = torch.cat([x.imag for x in seq], **kwargs)
    return ComplexTensor(real, imag)