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

Function sigmoid_grad

sgx_tf_ops/App/App.cpp:228–235  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

226}
227
228void sigmoid_grad(unsigned long int eid,float *input,float *grad,int N,float *output){
229 sgx_status_t ret = ecall_sigmoid_grad(eid, input,grad,N,output);
230 if (ret != SGX_SUCCESS) {
231 print_error_message(ret);
232 throw ret;
233 }
234
235}
236
237void logloss_grad(unsigned long int eid,float *input,float grad,int N,int M,int C,float *label,float *weight,float *grad_x,float *grad_w,float *grad_l){
238 sgx_status_t ret = ecall_logloss_grad(eid,input,grad,N,M,C,label,weight,grad_x,grad_w,grad_l);

Callers

nothing calls this directly

Calls 2

ecall_sigmoid_gradFunction · 0.85
print_error_messageFunction · 0.85

Tested by

no test coverage detected