MCPcopy Create free account
hub / github.com/OAID/Tengine / SetTensorDim

Function SetTensorDim

core/lib/static_graph.cpp:412–415  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

410}
411
412void SetTensorDim(StaticTensor* tensor, const std::vector<int>& dims)
413{
414 tensor->dims = dims;
415}
416
417const std::vector<int>& GetTensorDim(StaticTensor* tensor)
418{

Callers 15

LoadTensorMethod · 0.85
LoadTensorMethod · 0.85
LoadCaffeBlobFunction · 0.85
CreatePresetNodeFunction · 0.85
LoadCaffeInputOpFunction · 0.85
LoadLiteTensorMethod · 0.85
LoadConv2DDepthwiseFunction · 0.85
LoadConstTensorMethod · 0.85
CreateInputNodeMethod · 0.85
LoadMxnetEltScalarFunction · 0.85
CreateInputNodeFunction · 0.85
LoadConstTensorFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected