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

Method GetSourceInfo

dali/c_api_2/data_objects.h:376–381  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

374 }
375
376 const char *GetSourceInfo() const & override {
377 const char *info = t_->GetMeta().GetSourceInfo().c_str();
378 if (info && !*info)
379 return nullptr;
380 return info;
381 }
382
383 void SetSourceInfo(const char *source_info) override {
384 t_->SetSourceInfo(source_info ? source_info : "");

Callers 3

daliTensorGetSourceInfoFunction · 0.45
GetSourceInfoMethod · 0.45

Calls 1

c_strMethod · 0.45

Tested by

no test coverage detected