1 #include "tvm/runtime/c_runtime_api.h" 2 #include "tvm/runtime/c_backend_api.h" 9 void* arg0 = (((
TVMValue*)args)[0].v_handle);
10 float* placeholder = (
float*)(((
TVMArray*)arg0)[0].data);
12 void* arg1 = (((
TVMValue*)args)[1].v_handle);
13 float* placeholder1 = (
float*)(((
TVMArray*)arg1)[0].data);
15 void* arg2 = (((
TVMValue*)args)[2].v_handle);
16 float* T_multiply = (
float*)(((
TVMArray*)arg2)[0].data);
18 for (int32_t ax1 = 0; ax1 < 8; ++ax1) {
19 T_multiply[ax1] = (placeholder[ax1] * placeholder1[ax1]);
TVM_DLL int32_t fused_multiply(void *args, void *arg_type_ids, int32_t num_args)
Union type of values being passed through API and function calls.
Plain C Tensor object, does not manage memory.