| 53 | { |
| 54 | public: |
| 55 | explicit EDotOp(OpKernelConstruction *context) : OpKernel(context) |
| 56 | { |
| 57 | OP_REQUIRES_OK(context, context->GetAttr("eid_low", &eid_low_)); |
| 58 | OP_REQUIRES_OK(context, context->GetAttr("eid_high", &eid_high_)); |
| 59 | OP_REQUIRES_OK(context, context->GetAttr("times", ×_)); |
| 60 | lib = dlopen("/home/zhangyan/jhrsgx/privacy_test/privacy_tf/sgx_tf_ops/sgx.so", RTLD_LAZY); |
| 61 | OP_REQUIRES(context, lib != NULL, errors::Unknown("Unable to load sgx.so!")); |
| 62 | } |
| 63 | void Compute(OpKernelContext *context) override |
| 64 | { |
| 65 | const Tensor &input1 = context->input(0); |
nothing calls this directly
no outgoing calls
no test coverage detected