source/neuropod/conversions/eigen.hh [33:43]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    const auto &dims = tensor.get_dims();

    if (dims.size() > 2)
    {
        NEUROPOD_ERROR_HH("Only tensors with rank of 1 or 2 are supported by this function. "
                          "Tensor has rank of {}.",
                          dims.size());
    }

    const auto rows = dims[0];
    const auto cols = dims.size() == 2 ? dims[1] : 1;
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



source/neuropod/conversions/eigen.hh [54:64]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    const auto &dims = tensor.get_dims();

    if (dims.size() > 2)
    {
        NEUROPOD_ERROR_HH("Only tensors with rank of 1 or 2 are supported by this function. "
                          "Tensor has rank of {}.",
                          dims.size());
    }

    const auto rows = dims[0];
    const auto cols = dims.size() == 2 ? dims[1] : 1;
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



