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

Function logloss_grad

sgx_tf_ops/App/App.cpp:237–244  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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);
239 if (ret != SGX_SUCCESS) {
240 print_error_message(ret);
241 throw ret;
242 }
243
244}
245
246void embedding_ss(unsigned long int eid,float* input,float* output,int M,int C,int num,int dim){
247 sgx_status_t ret = emb_ss(eid,input,output,M,C,num,dim);

Callers

nothing calls this directly

Calls 2

ecall_logloss_gradFunction · 0.85
print_error_messageFunction · 0.85

Tested by

no test coverage detected