| 103 | { |
| 104 | public: |
| 105 | explicit EmbConvertGradOp(OpKernelConstruction *context) : OpKernel(context) |
| 106 | { |
| 107 | OP_REQUIRES_OK(context, context->GetAttr("eid_low", &eid_low_)); |
| 108 | OP_REQUIRES_OK(context, context->GetAttr("eid_high", &eid_high_)); |
| 109 | OP_REQUIRES_OK(context, context->GetAttr("num", &num_)); |
| 110 | OP_REQUIRES_OK(context, context->GetAttr("dim", &dim_)); |
| 111 | OP_REQUIRES_OK(context, context->GetAttr("times", ×_)); |
| 112 | lib = dlopen("/home/zhangyan/jhrsgx/privacy_test/privacy_tf/sgx_tf_ops/sgx.so", RTLD_LAZY); |
| 113 | OP_REQUIRES(context, lib != NULL, errors::Unknown("Unable to load sgx.so!")); |
| 114 | } |
| 115 | void Compute(OpKernelContext *context) override |
| 116 | { |
| 117 |
nothing calls this directly
no outgoing calls
no test coverage detected