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

Function huberloss_grad

sgx_tf_ops/App/App.cpp:534–540  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

532}
533
534void huberloss_grad(unsigned long int eid, float* pred, float* real,float* delta, float* grad, int N,int C,int B, float* output, float* grad_r){
535 sgx_status_t ret = ecall_huberloss_grad(eid,pred,real,delta,grad,N,C,B,output,grad_r);
536 if (ret != SGX_SUCCESS) {
537 print_error_message(ret);
538 throw ret;
539 }
540}
541
542
543void onehot(unsigned long int eid, float* input, int N, int M,int C,int L, float* output,int alpha){

Callers

nothing calls this directly

Calls 2

ecall_huberloss_gradFunction · 0.85
print_error_messageFunction · 0.85

Tested by

no test coverage detected