Add utility metafunction to select the core shape type of an input array.
Let the arg_from_core_shape data converter know about the core shape type.