A Tensor.
The number of dimensions.
The shape of the tensor.
It should be freed with g_free when no longer needed.