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

Method EBatchNormOp

en_ops/e_batch_norm.cc:53–61  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

51{
52public:
53 explicit EBatchNormOp(OpKernelConstruction *context) : OpKernel(context)
54 {
55 context->GetAttr("epsilon", &epsilon_);
56 OP_REQUIRES_OK(context, context->GetAttr("eid_low", &eid_low_));
57 OP_REQUIRES_OK(context, context->GetAttr("eid_high", &eid_high_));
58 OP_REQUIRES_OK(context, context->GetAttr("times", &times_));
59 lib = dlopen("/home/zhangyan/jhrsgx/privacy_test/privacy_tf/sgx_tf_ops/sgx.so", RTLD_LAZY);
60 OP_REQUIRES(context, lib != NULL, errors::Unknown("Unable to load sgx.so!"));
61 }
62 void Compute(OpKernelContext *context) override
63 {
64 const Tensor &input = context->input(0);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected