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

Method EnCryptGradOp

en_ops/encrypt.cc:140–147  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

138{
139public:
140 explicit EnCryptGradOp(OpKernelConstruction *context) : OpKernel(context)
141 {
142 OP_REQUIRES_OK(context, context->GetAttr("eid_low", &eid_low_));
143 OP_REQUIRES_OK(context, context->GetAttr("eid_high", &eid_high_));
144 OP_REQUIRES_OK(context, context->GetAttr("times", &times_));
145 lib = dlopen("/home/zhangyan/jhrsgx/privacy_test/privacy_tf/sgx_tf_ops/sgx.so", RTLD_LAZY);
146 OP_REQUIRES(context, lib != NULL, errors::Unknown("Unable to load sgx.so!"));
147 }
148 void Compute(OpKernelContext *context) override
149 {
150

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected