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

Method EAbsOp

en_ops/e_abs.cc:39–46  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

37{
38public:
39 explicit EAbsOp(OpKernelConstruction *context) : OpKernel(context)
40 {
41 OP_REQUIRES_OK(context, context->GetAttr("eid_low", &eid_low_));
42 OP_REQUIRES_OK(context, context->GetAttr("eid_high", &eid_high_));
43 OP_REQUIRES_OK(context, context->GetAttr("times", &times_));
44 lib = dlopen("/home/zhangyan/jhrsgx/privacy_test/privacy_tf/sgx_tf_ops/sgx.so", RTLD_LAZY);
45 OP_REQUIRES(context, lib != NULL, errors::Unknown("Unable to load sgx.so!"));
46 }
47 void Compute(OpKernelContext *context) override
48 {
49 const Tensor &input = context->input(0);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected