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

Method ESoftplusOp

en_ops/e_softplus.cc:37–44  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected