| 524 | } |
| 525 | |
| 526 | void huberloss(unsigned long int eid, float* pred, float* real,float* delta, int N,int C,int B, float* output){ |
| 527 | sgx_status_t ret = ecall_huberloss(eid,pred,real,delta,N,C,B,output); |
| 528 | if (ret != SGX_SUCCESS) { |
| 529 | print_error_message(ret); |
| 530 | throw ret; |
| 531 | } |
| 532 | } |
| 533 | |
| 534 | void huberloss_grad(unsigned long int eid, float* pred, float* real,float* delta, float* grad, int N,int C,int B, float* output, float* grad_r){ |
| 535 | sgx_status_t ret = ecall_huberloss_grad(eid,pred,real,delta,grad,N,C,B,output,grad_r); |
nothing calls this directly
no test coverage detected