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

Function leakyrelu

sgx_tf_ops/App/App.cpp:302–308  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

300}
301
302void leakyrelu(unsigned long int eid, float *input,int N, float *output,float alpha){
303 sgx_status_t ret = ecall_leakyrelu(eid,input,N,output,alpha);
304 if (ret != SGX_SUCCESS) {
305 print_error_message(ret);
306 throw ret;
307 }
308}
309
310void leakyrelu_grad(unsigned long int eid, float *input, float *grad,int N, float *output,float alpha){
311 sgx_status_t ret = ecall_leakyrelu_grad(eid,input,grad,N,output,alpha);

Callers

nothing calls this directly

Calls 2

ecall_leakyreluFunction · 0.85
print_error_messageFunction · 0.85

Tested by

no test coverage detected