| 28 | { |
| 29 | public: |
| 30 | explicit EMathOp(OpKernelConstruction *context) : OpKernel(context) |
| 31 | { |
| 32 | OP_REQUIRES_OK(context, context->GetAttr("eid_low", &eid_low_)); |
| 33 | OP_REQUIRES_OK(context, context->GetAttr("eid_high", &eid_high_)); |
| 34 | OP_REQUIRES_OK(context, context->GetAttr("times", ×_)); |
| 35 | OP_REQUIRES_OK(context, context->GetAttr("num", &num_)); |
| 36 | lib = dlopen("/home/zhangyan/jhrsgx/privacy_test/privacy_tf/sgx_tf_ops/sgx.so", RTLD_LAZY); |
| 37 | OP_REQUIRES(context, lib != NULL, errors::Unknown("Unable to load sgx.so!")); |
| 38 | } |
| 39 | void Compute(OpKernelContext *context) override |
| 40 | { |
| 41 | const Tensor &input = context->input(0); |
nothing calls this directly
no outgoing calls
no test coverage detected