Utility function for generating the full (dense) tensor from the compressed tensor and axes_map returned by contract_einsum and contract_tree.