Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OAID/Tengine
/ SetTensorSize
Function
SetTensorSize
core/lib/static_graph.cpp:432–436 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
430
}
431
432
int SetTensorSize(StaticTensor* tensor, int size)
433
{
434
tensor->mem_size = size;
435
return 0;
436
}
437
438
void SetTensorProducer(StaticTensor* tensor, StaticNode* node, int idx)
439
{
Callers
14
LoadTensor
Method · 0.85
LoadTensor
Method · 0.85
LoadCaffeBlob
Function · 0.85
CreatePresetNode
Function · 0.85
LoadConstTensor
Method · 0.85
LoadMxnetEltScalar
Function · 0.85
LoadConstTensor
Function · 0.85
CreatePresetNode
Function · 0.85
LoadLSTMInitState
Function · 0.85
LoadGRUInitState
Function · 0.85
LoadRNNInitState
Function · 0.85
LoadConstNode
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected