MCPcopy Create free account
hub / github.com/activeloopai/deeplake / array

Method array

cpp/nd/type.hpp:38–41  ·  view source on GitHub ↗

* @brief Construct an array type from dtype and shape. * dimension is computed from shape. * @param scalar_type The data type of the array. * @param shape The shape of the array. */

Source from the content-addressed store, hash-verified

36 * @param shape The shape of the array.
37 */
38 static type array(scalar_type dtype, icm::shape shape)
39 {
40 return type(dtype, std::move(shape));
41 }
42
43 /**
44 * @brief Construct an array type from dimensions.

Callers 13

get_group_dataMethod · 0.45
get_kp_group_dataMethod · 0.45
yolo_pixel_2_coco_pixelFunction · 0.45
coco_frac_2_coco_pixelFunction · 0.45
transformFunction · 0.45
process_polygonsFunction · 0.45
transformFunction · 0.45
download_image_from_url_Function · 0.45
polygon_converterFunction · 0.45
mask_converterFunction · 0.45

Calls 6

shapeClass · 0.85
typeClass · 0.70
arrayClass · 0.70
insertMethod · 0.45
endMethod · 0.45
beginMethod · 0.45

Tested by

no test coverage detected