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

Method EMathOp

en_ops/e_math.cc:30–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28{
29public:
30 explicit EMathOp(OpKernelConstruction *context) : OpKernel(context)
31 {
32 OP_REQUIRES_OK(context, context->GetAttr("eid_low", &eid_low_));
33 OP_REQUIRES_OK(context, context->GetAttr("eid_high", &eid_high_));
34 OP_REQUIRES_OK(context, context->GetAttr("times", &times_));
35 OP_REQUIRES_OK(context, context->GetAttr("num", &num_));
36 lib = dlopen("/home/zhangyan/jhrsgx/privacy_test/privacy_tf/sgx_tf_ops/sgx.so", RTLD_LAZY);
37 OP_REQUIRES(context, lib != NULL, errors::Unknown("Unable to load sgx.so!"));
38 }
39 void Compute(OpKernelContext *context) override
40 {
41 const Tensor &input = context->input(0);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected