| 638 | } |
| 639 | |
| 640 | void 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 | |
| 648 | void 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); |
nothing calls this directly
no test coverage detected