MCPcopy Create free account
hub / github.com/conflow-dev/ConFlow / clip

Function clip

sgx_tf_ops/App/App.cpp:494–500  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

492}
493
494void 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
502void 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);

Callers

nothing calls this directly

Calls 2

ecall_clipFunction · 0.85
print_error_messageFunction · 0.85

Tested by

no test coverage detected