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

Method ELogprobGradOp

en_ops/e_logprob.cc:87–94  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

85{
86public:
87 explicit ELogprobGradOp(OpKernelConstruction *context) : OpKernel(context)
88 {
89 OP_REQUIRES_OK(context, context->GetAttr("eid_low", &eid_low_));
90 OP_REQUIRES_OK(context, context->GetAttr("eid_high", &eid_high_));
91 OP_REQUIRES_OK(context, context->GetAttr("times", &times_));
92 lib = dlopen("/home/zhangyan/jhrsgx/privacy_test/privacy_tf/sgx_tf_ops/sgx.so", RTLD_LAZY);
93 OP_REQUIRES(context, lib != NULL, errors::Unknown("Unable to load sgx.so!"));
94 }
95 void Compute(OpKernelContext *context) override
96 {
97

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected