MCPcopy Create free account
hub / github.com/CVCUDA/CV-CUDA / Key

Method Key

python/mod_cvcuda/nvcv/Tensor.cpp:300–303  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

298}
299
300Tensor::Key::Key(const nvcv::Tensor::Requirements &reqs)
301 : Key(nvcv::TensorShape(reqs.shape, reqs.rank, reqs.layout), static_cast<nvcv::DataType>(reqs.dtype))
302{
303}
304
305Tensor::Key::Key(const nvcv::TensorShape &shape, nvcv::DataType dtype)
306 : m_shape(std::move(shape))

Callers

nothing calls this directly

Calls 1

TensorShapeFunction · 0.50

Tested by

no test coverage detected