| 252 | } |
| 253 | |
| 254 | void embedding_ss_grad(unsigned long int eid,float* grad,float* output,int M,int C,int num,int dim){ |
| 255 | sgx_status_t ret = emb_ss_grad(eid,grad,output,M,C,num,dim); |
| 256 | if (ret != SGX_SUCCESS) { |
| 257 | print_error_message(ret); |
| 258 | throw ret; |
| 259 | } |
| 260 | } |
| 261 | |
| 262 | void emb_encrypt(unsigned long int eid,uint32_t dim, float* values,float range){ |
| 263 | sgx_status_t ret = emb_en(eid,dim,values,range); |
nothing calls this directly
no test coverage detected