| 492 | } |
| 493 | |
| 494 | void clip(unsigned long int eid, float *input, float* down, float* up,int n1,int n2,int N, float *output){ |
| 495 | sgx_status_t ret = ecall_clip(eid,input,down,up,n1,n2,N,output); |
| 496 | if (ret != SGX_SUCCESS) { |
| 497 | print_error_message(ret); |
| 498 | throw ret; |
| 499 | } |
| 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); |
nothing calls this directly
no test coverage detected