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

Function daliTensorListCreate

dali/c_api_2/data_objects.cc:267–273  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

265//////////////////////////////////////////////////////////////////////////////
266
267daliResult_t daliTensorListCreate(daliTensorList_h *out, daliBufferPlacement_t placement) {
268 DALI_PROLOG();
269 CHECK_OUTPUT(out);
270 auto tl = dali::c_api::ITensorList::Create(placement);
271 *out = tl.release(); // no throwing allowed after this line!
272 DALI_EPILOG();
273}
274
275daliResult_t daliTensorListIncRef(daliTensorList_h tl, int *new_ref) {
276 DALI_PROLOG();

Callers 3

TESTFunction · 0.85
CreateTensorListFunction · 0.85
FeedInputsMethod · 0.85

Calls 2

CreateFunction · 0.85
releaseMethod · 0.45

Tested by 2

TESTFunction · 0.68
CreateTensorListFunction · 0.68