| 474 | class Conv2DOp : public BinaryOp<T> { |
| 475 | public: |
| 476 | explicit Conv2DOp(OpKernelConstruction* context) : BinaryOp<T>(context) { |
| 477 | OP_REQUIRES_OK(context, InitConv2DParameters(context, ¶ms_)); |
| 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: |
nothing calls this directly
no test coverage detected