| 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); |
| 536 | if (ret != SGX_SUCCESS) { |
| 537 | print_error_message(ret); |
| 538 | throw ret; |
| 539 | } |
| 540 | } |
| 541 | |
| 542 | |
| 543 | void onehot(unsigned long int eid, float* input, int N, int M,int C,int L, float* output,int alpha){ |
nothing calls this directly
no test coverage detected