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

Function huberloss

sgx_tf_ops/App/App.cpp:526–532  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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);
528 if (ret != SGX_SUCCESS) {
529 print_error_message(ret);
530 throw ret;
531 }
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);

Callers

nothing calls this directly

Calls 2

ecall_huberlossFunction · 0.85
print_error_messageFunction · 0.85

Tested by

no test coverage detected