MCPcopy Create free account
hub / github.com/OriginQ/QPanda-2 / shape

Method shape

ThirdParty/pybind11/include/pybind11/numpy.h:805–805  ·  view source on GitHub ↗

Dimensions of the array

Source from the content-addressed store, hash-verified

803
804 /// Dimensions of the array
805 const ssize_t *shape() const { return detail::array_proxy(m_ptr)->dimensions; }
806
807 /// Dimension along a given axis
808 ssize_t shape(ssize_t dim) const {

Callers 6

conformableMethod · 0.45
get_shape_for_arrayFunction · 0.45
draw_graphMethod · 0.45
state_to_density_matrixFunction · 0.45
Generator_Angle_CircuitFunction · 0.45
Generator_Weight_CircuitFunction · 0.45

Calls 1

array_proxyFunction · 0.85

Tested by 1

draw_graphMethod · 0.36