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

Function reducemax_one_grad

sgx_tf_ops/App/App.cpp:518–524  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

516}
517
518void reducemax_one_grad(unsigned long int eid, float *input, float *grad,int N,int M,int C,int L, float *output){
519 sgx_status_t ret = ecall_reducemax_one_grad(eid,input,grad,N,M,C,L,output);
520 if (ret != SGX_SUCCESS) {
521 print_error_message(ret);
522 throw ret;
523 }
524}
525
526void huberloss(unsigned long int eid, float* pred, float* real,float* delta, int N,int C,int B, float* output){
527 sgx_status_t ret = ecall_huberloss(eid,pred,real,delta,N,C,B,output);

Callers

nothing calls this directly

Calls 2

ecall_reducemax_one_gradFunction · 0.85
print_error_messageFunction · 0.85

Tested by

no test coverage detected