MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / Conv2DOp

Method Conv2DOp

tensorflow/core/kernels/conv_ops.cc:476–482  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

474class Conv2DOp : public BinaryOp<T> {
475 public:
476 explicit Conv2DOp(OpKernelConstruction* context) : BinaryOp<T>(context) {
477 OP_REQUIRES_OK(context, InitConv2DParameters(context, &params_));
478
479 OP_REQUIRES_OK(context, context->GetAttr("use_cudnn_on_gpu", &use_cudnn_));
480 use_cudnn_ &= CanUseCudnn();
481 cudnn_use_autotune_ = CudnnUseAutotune();
482 }
483
484 void Compute(OpKernelContext* context) override {
485 // Input tensor is of the following dimensions:

Callers

nothing calls this directly

Calls 2

InitConv2DParametersFunction · 0.85
GetAttrMethod · 0.45

Tested by

no test coverage detected