| 516 | } |
| 517 | |
| 518 | void reducemax_one_grad(unsigned long int eid, float *input, float *grad,int N,int M,int C,int L, float *output){ |
| 519 | sgx_status_t ret = ecall_reducemax_one_grad(eid,input,grad,N,M,C,L,output); |
| 520 | if (ret != SGX_SUCCESS) { |
| 521 | print_error_message(ret); |
| 522 | throw ret; |
| 523 | } |
| 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); |
nothing calls this directly
no test coverage detected