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

Function softmax_grad

sgx_tf_ops/App/App.cpp:486–492  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

484}
485
486void softmax_grad(unsigned long int eid, float *input, float *grad,int N,int M,int C, float *output){
487 sgx_status_t ret = ecall_softmax_grad(eid,input,grad,N,M,C,output);
488 if (ret != SGX_SUCCESS) {
489 print_error_message(ret);
490 throw ret;
491 }
492}
493
494void clip(unsigned long int eid, float *input, float* down, float* up,int n1,int n2,int N, float *output){
495 sgx_status_t ret = ecall_clip(eid,input,down,up,n1,n2,N,output);

Callers

nothing calls this directly

Calls 2

ecall_softmax_gradFunction · 0.85
print_error_messageFunction · 0.85

Tested by

no test coverage detected