| 35 | { |
| 36 | public: |
| 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", ×_)); |
| 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); |
nothing calls this directly
no outgoing calls
no test coverage detected