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

Method EReduceMaxOneGradOp

en_ops/e_reduce_max_one.cc:91–98  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected