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

Function softplus_grad

sgx_tf_ops/App/App.cpp:294–300  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

292}
293
294void softplus_grad(unsigned long int eid,float *input, float *grad,int N, float *output){
295 sgx_status_t ret = ecall_softplus_grad(eid,input,grad,N,output);
296 if (ret != SGX_SUCCESS) {
297 print_error_message(ret);
298 throw ret;
299 }
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);

Callers

nothing calls this directly

Calls 2

ecall_softplus_gradFunction · 0.85
print_error_messageFunction · 0.85

Tested by

no test coverage detected