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

Function reducesum_grad

sgx_tf_ops/App/App.cpp:422–428  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

420}
421
422void reducesum_grad(unsigned long int eid, float *input,float grad,int N, float *output){
423 sgx_status_t ret = ecall_reducesum_grad(eid,input,grad,N,output);
424 if (ret != SGX_SUCCESS) {
425 print_error_message(ret);
426 throw ret;
427 }
428}
429
430void reducemean(unsigned long int eid, float *input,int N, float *output){
431 sgx_status_t ret = ecall_reducemean(eid,input,N,output);

Callers

nothing calls this directly

Calls 2

ecall_reducesum_gradFunction · 0.85
print_error_messageFunction · 0.85

Tested by

no test coverage detected