MCPcopy Create free account
hub / github.com/NVIDIA/DALI / py_shape

Function py_shape

dali/python/backend_impl.cc:141–143  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

139
140template <typename Backend>
141py::list py_shape(const Tensor<Backend> &t) {
142 return as_py_list(t.shape());
143}
144
145template <typename Backend>
146std::vector<py::tuple> py_shape_list(const TensorList<Backend> &tl) {

Callers

nothing calls this directly

Calls 2

as_py_listFunction · 0.85
shapeMethod · 0.45

Tested by

no test coverage detected