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

Function GetConstTensorBuffer

core/lib/static_graph.cpp:479–483  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

477}
478
479void* GetConstTensorBuffer(StaticTensor* tensor)
480{
481 StaticConstTensor* const_tensor = dynamic_cast<StaticConstTensor*>(tensor);
482 return const_tensor->mem_addr;
483}
484
485void SetConstTensorBuffer(StaticTensor* tensor, void* addr)
486{

Callers 6

LoadMxnetBatchNormFunction · 0.85
LoadConv2DFunction · 0.85
LoadGemmFunction · 0.85
LoadOnnxGemmFunction · 0.85
LoadOnnxInterpFunction · 0.85
LoadOnnxReshapeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected