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

Method EEmbInitOp

en_ops/e_emb_init.cc:32–40  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

30{
31public:
32 explicit EEmbInitOp(OpKernelConstruction *context) : OpKernel(context)
33 {
34 OP_REQUIRES_OK(context, context->GetAttr("input_dim", &input_dim_));
35 OP_REQUIRES_OK(context, context->GetAttr("output_dim", &output_dim_));
36 OP_REQUIRES_OK(context, context->GetAttr("eid_low", &eid_low_));
37 OP_REQUIRES_OK(context, context->GetAttr("eid_high", &eid_high_));
38 lib = dlopen("/home/zhangyan/jhrsgx/privacy_test/privacy_tf/sgx_tf_ops/sgx.so", RTLD_LAZY);
39 OP_REQUIRES(context, lib != NULL, errors::Unknown("Unable to load sgx.so!"));
40 }
41 void Compute(OpKernelContext *context) override
42 {
43 Tensor *output = NULL;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected