| 226 | } |
| 227 | |
| 228 | void sigmoid_grad(unsigned long int eid,float *input,float *grad,int N,float *output){ |
| 229 | sgx_status_t ret = ecall_sigmoid_grad(eid, input,grad,N,output); |
| 230 | if (ret != SGX_SUCCESS) { |
| 231 | print_error_message(ret); |
| 232 | throw ret; |
| 233 | } |
| 234 | |
| 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); |
nothing calls this directly
no test coverage detected