| 235 | } |
| 236 | |
| 237 | void logloss_grad(unsigned long int eid,float *input,float grad,int N,int M,int C,float *label,float *weight,float *grad_x,float *grad_w,float *grad_l){ |
| 238 | sgx_status_t ret = ecall_logloss_grad(eid,input,grad,N,M,C,label,weight,grad_x,grad_w,grad_l); |
| 239 | if (ret != SGX_SUCCESS) { |
| 240 | print_error_message(ret); |
| 241 | throw ret; |
| 242 | } |
| 243 | |
| 244 | } |
| 245 | |
| 246 | void embedding_ss(unsigned long int eid,float* input,float* output,int M,int C,int num,int dim){ |
| 247 | sgx_status_t ret = emb_ss(eid,input,output,M,C,num,dim); |
nothing calls this directly
no test coverage detected