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

Function sample

sgx_tf_ops/App/App.cpp:552–558  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

550
551
552void sample(unsigned long int eid, float* input1, float* input2, int N,int nums, float* output){
553 sgx_status_t ret = ecall_sample(eid,input1,input2,N,nums,output);
554 if (ret != SGX_SUCCESS) {
555 print_error_message(ret);
556 throw ret;
557 }
558}
559
560void logprob(unsigned long int eid, float* input, float* mu, float* sigma, int N, float* output){
561 sgx_status_t ret = ecall_logprob(eid,input,mu,sigma,N,output);

Callers

nothing calls this directly

Calls 2

ecall_sampleFunction · 0.85
print_error_messageFunction · 0.85

Tested by

no test coverage detected