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

Method tensor_data

include/dali/core/tensor_view.h:308–310  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

306 }
307
308 DataType *tensor_data(int sample) const {
309 return data[sample];
310 }
311
312 DataType *&tensor_data(int sample) {
313 return data[sample];

Callers 15

CollectShapeFunction · 0.80
RunImplMethod · 0.80
ParseOutputShapeMethod · 0.80
ShapeFromInputMethod · 0.80
sample_as_spanMethod · 0.80
SetupImplMethod · 0.80
RunImplTypedMethod · 0.80
TEST_PFunction · 0.80
TESTFunction · 0.80
RunFunction · 0.80
RunMethod · 0.80
PrepareExpectedOutputMethod · 0.80

Calls

no outgoing calls

Tested by 9

TEST_PFunction · 0.64
TESTFunction · 0.64
PrepareExpectedOutputMethod · 0.64
PrepareExpectedOutputMethod · 0.64
TEST_PFunction · 0.64
TEST_PFunction · 0.64
TEST_PFunction · 0.64
CalcReferenceMethod · 0.64
FeedExternalInputMethod · 0.64