MCPcopy Create free account
hub / github.com/conflow-dev/ConFlow / dot

Function dot

sgx_tf_ops/App/App.cpp:640–646  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

638}
639
640void dot(unsigned long int eid, float* input1,float* input2, int N1, int N2,int* shape1, int* shape2,int ndims ,float* output){
641 sgx_status_t ret = ecall_dot(eid,input1,input2,N1,N2,shape1,shape2,ndims,output);
642 if (ret != SGX_SUCCESS) {
643 print_error_message(ret);
644 throw ret;
645 }
646}
647
648void dot_grad(unsigned long int eid, float* input1,float* input2, float* grad,int N1,int N2,int* shape1, int* shape2,int ndims ,float* output1,float* output2){
649 sgx_status_t ret = ecall_dot_grad(eid,input1,input2,grad,N1,N2,shape1,shape2,ndims,output1,output2);

Callers

nothing calls this directly

Calls 2

ecall_dotFunction · 0.85
print_error_messageFunction · 0.85

Tested by

no test coverage detected