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

Method EmbConvertGradOp

en_ops/emb_convert.cc:105–114  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

103{
104public:
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", &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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected