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

Method Run

executor/operator/ref/ref_argmin.cpp:119–131  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

117}
118
119bool RefArgMinOps::Run(Node* node)
120{
121 Tensor* input_tensor = node->GetInputTensor(0);
122 void* input_data = ( void* )get_tensor_mem(input_tensor);
123 Tensor* output_tensor = node->GetOutputTensor(0);
124 void* out_data = ( void* )get_tensor_mem(output_tensor);
125 node->DumpNode();
126 int ret = kernel_run(input_data, out_data, &op_param);
127 if(ret < 0)
128 return false;
129
130 return true;
131}
132
133bool RefArgMinOps::Postrun(Node* node)
134{

Callers

nothing calls this directly

Calls 5

get_tensor_memFunction · 0.85
kernel_runFunction · 0.85
DumpNodeMethod · 0.80
GetInputTensorMethod · 0.45
GetOutputTensorMethod · 0.45

Tested by

no test coverage detected