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

Method Create

python/mod_cvcuda/nvcv/Array.cpp:54–58  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

52}
53
54std::shared_ptr<Array> Array::Create(int64_t length, nvcv::DataType dtype)
55{
56 nvcv::Array::Requirements reqs = nvcv::Array::CalcRequirements(length, dtype);
57 return CreateFromReqs(reqs);
58}
59
60std::shared_ptr<Array> Array::Create(const Shape &shape, nvcv::DataType dtype)
61{

Callers

nothing calls this directly

Calls 1

LengthIf1DFunction · 0.85

Tested by

no test coverage detected