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

Method EExpGradOp

en_ops/e_exp.cc:77–84  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

75{
76public:
77 explicit EExpGradOp(OpKernelConstruction *context) : OpKernel(context)
78 {
79 OP_REQUIRES_OK(context, context->GetAttr("eid_low", &eid_low_));
80 OP_REQUIRES_OK(context, context->GetAttr("eid_high", &eid_high_));
81 OP_REQUIRES_OK(context, context->GetAttr("times", &times_));
82 lib = dlopen("/home/zhangyan/jhrsgx/privacy_test/privacy_tf/sgx_tf_ops/sgx.so", RTLD_LAZY);
83 OP_REQUIRES(context, lib != NULL, errors::Unknown("Unable to load sgx.so!"));
84 }
85 void Compute(OpKernelContext *context) override
86 {
87

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected