Home
last modified time | relevance | path

Searched refs:PoolingMode (Results 1 – 11 of 11) sorted by relevance

/external/tensorflow/tensorflow/core/kernels/
Dcudnn_pooling_gpu.h41 se::dnn::PoolingMode pooling_mode,
55 se::dnn::PoolingMode pooling_mode,
Dpooling_ops_common_gpu.h43 se::dnn::PoolingMode pooling_mode,
59 se::dnn::PoolingMode pooling_mode,
Dcudnn_pooling_gpu.cc35 se::dnn::PoolingMode pooling_mode, in Compute()
134 OpKernelContext* context, se::dnn::PoolingMode pooling_mode, in Compute()
140 CHECK((pooling_mode != se::dnn::PoolingMode::kMaximum) || in Compute()
Davgpooling_op.cc186 DnnPoolingOp<T>::Compute(context, se::dnn::PoolingMode::kAverage, ksize_, in Compute()
192 DnnPoolingOp<T>::Compute(context, se::dnn::PoolingMode::kAverage, ksize_, in Compute()
465 context, se::dnn::PoolingMode::kAverage, ksize_, stride_, padding_, in Compute()
550 DnnPoolingGradOp<T>::Compute(context, se::dnn::PoolingMode::kAverage, in Compute()
607 DnnPoolingGradOp<T>::Compute(context, se::dnn::PoolingMode::kAverage, in Compute()
Dpooling_ops_common.cc214 se::dnn::PoolingMode pooling_mode, in Compute()
442 OpKernelContext* context, se::dnn::PoolingMode pooling_mode, in Compute()
448 CHECK((pooling_mode != se::dnn::PoolingMode::kMaximum) || in Compute()
Dpooling_ops_3d.cc747 DnnPooling3dOp<T>::Compute(context, se::dnn::PoolingMode::kAverage, window, in launch()
760 DnnPooling3dOp<T>::Compute(context, se::dnn::PoolingMode::kMaximum, window, in launch()
775 DnnPooling3dGradOp<T>::Compute(context, se::dnn::PoolingMode::kMaximum, in launch()
793 context, se::dnn::PoolingMode::kAverage, window, stride, padding, out, in launch()
Dmaxpooling_op.cc429 DnnPoolingGradOp<T>::Compute(context, se::dnn::PoolingMode::kMaximum, ksize, in Compute()
1211 DnnPoolingOp<T>::Compute(context, se::dnn::PoolingMode::kMaximum, ksize_, in Compute()
1218 DnnPoolingOp<T>::Compute(context, se::dnn::PoolingMode::kMaximum, ksize_, in Compute()
1332 DnnPoolingOp<T>::Compute(context, se::dnn::PoolingMode::kMaximum, ksize, in Compute()
/external/tensorflow/tensorflow/stream_executor/
Ddnn.cc181 std::string ShortPoolingModeString(PoolingMode mode) { in ShortPoolingModeString()
183 case PoolingMode::kMaximum: in ShortPoolingModeString()
185 case PoolingMode::kAverage: in ShortPoolingModeString()
533 : mode_(dnn::PoolingMode::kMaximum), in PoolingDescriptor()
553 mode_ == dnn::PoolingMode::kMaximum ? "kMaximum" : "kAverage"; in ToString()
576 return absl::StrCat(mode_ == dnn::PoolingMode::kMaximum ? "max" : "avg", in ToShortString()
Ddnn.h625 enum class PoolingMode : int64 { enum
638 std::string ShortPoolingModeString(PoolingMode mode);
658 PoolingDescriptor& set_pooling_mode(PoolingMode value) { in set_pooling_mode()
713 PoolingMode mode() const { return mode_; } in mode()
730 PoolingMode mode_;
/external/tensorflow/tensorflow/stream_executor/cuda/
Dcuda_dnn.cc802 (pooling_descriptor.mode() == dnn::PoolingMode::kMaximum in CudnnPoolingDescriptor()
/external/tensorflow/tensorflow/stream_executor/rocm/
Drocm_dnn.cc848 (pooling_descriptor.mode() == dnn::PoolingMode::kMaximum in ScopedPoolingDescriptor()