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

Function softmax

sgx_tf_ops/App/App.cpp:478–484  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

476}
477
478void softmax(unsigned long int eid, float *input,int N,int M,int C, float *output){
479 sgx_status_t ret = ecall_softmax(eid,input,N,M,C,output);
480 if (ret != SGX_SUCCESS) {
481 print_error_message(ret);
482 throw ret;
483 }
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);

Callers

nothing calls this directly

Calls 2

ecall_softmaxFunction · 0.85
print_error_messageFunction · 0.85

Tested by

no test coverage detected