| 500 | } |
| 501 | |
| 502 | void clip_grad(unsigned long int eid, float *input, float *grad, float* down, float* up,int n1,int n2,int N, float *output){ |
| 503 | sgx_status_t ret = ecall_clip_grad(eid,input,grad,down,up,n1,n2,N,output); |
| 504 | if (ret != SGX_SUCCESS) { |
| 505 | print_error_message(ret); |
| 506 | throw ret; |
| 507 | } |
| 508 | } |
| 509 | |
| 510 | void reducemax_one(unsigned long int eid, float *input,int N,int M,int C,int L, float *output){ |
| 511 | sgx_status_t ret = ecall_reducemax_one(eid,input,N,M,C,L,output); |
nothing calls this directly
no test coverage detected