Home
last modified time | relevance | path

Searched refs:patch_rows (Results 1 – 15 of 15) sorted by relevance

/external/tensorflow/tensorflow/core/kernels/
Deigen_backward_spatial_convolutions_test.cc35 const int patch_rows = 2; in TEST() local
37 const int output_rows = input_rows - patch_rows + 1; in TEST()
41 Tensor<float, 4> kernel(output_depth, input_depth, patch_rows, patch_cols); in TEST()
60 for (int r = 0; r < patch_rows; ++r) { in TEST()
84 const int patch_rows = 2; in TEST() local
86 const int output_rows = input_rows - patch_rows + 1; in TEST()
91 Tensor<float, 4, RowMajor> kernel(patch_cols, patch_rows, input_depth, in TEST()
112 for (int r = 0; r < patch_rows; ++r) { in TEST()
136 const int patch_rows = 2; in TEST() local
139 const int output_rows = input_rows - patch_rows + 1; in TEST()
[all …]
Deigen_pooling_test.cc32 const int patch_rows = 4; in TEST() local
45 result = SpatialMaxPooling(input, patch_rows, patch_cols, stride, stride, in TEST()
58 for (int r = 0; r < patch_rows; ++r) { in TEST()
80 const int patch_rows = 4; in TEST() local
94 result = SpatialMaxPooling(input, patch_rows, patch_cols, stride, stride, in TEST()
107 for (int r = 0; r < patch_rows; ++r) { in TEST()
130 const int patch_rows = 4; in TEST() local
147 result = CuboidMaxPooling(input, patch_planes, patch_rows, patch_cols, stride, in TEST()
163 for (int r = 0; r < patch_rows; ++r) { in TEST()
190 const int patch_rows = 4; in TEST() local
[all …]
Deigen_spatial_convolutions_test.cc34 const int patch_rows = 3; in TEST() local
40 Tensor<float, 4> kernel(output_depth, input_depth, patch_rows, patch_cols); in TEST()
58 for (int r = 0; r < patch_rows; ++r) { in TEST()
79 const int patch_rows = 3; in TEST() local
85 Tensor<float, 4, RowMajor> kernel(patch_cols, patch_rows, input_depth, in TEST()
103 for (int r = 0; r < patch_rows; ++r) { in TEST()
199 const int patch_rows = 4; in TEST() local
201 const int output_rows = input_rows - patch_rows + 1; in TEST()
205 Tensor<float, 4> kernel(output_depth, input_depth, patch_rows, patch_cols); in TEST()
227 for (int r = 0; r < patch_rows; ++r) { in TEST()
[all …]
Dextract_image_patches_op.h29 int patch_rows, int patch_cols, int stride_rows, in operator()
40 .extract_image_patches(patch_cols, patch_rows, stride_cols, in operator()
46 .extract_image_patches(patch_cols, patch_rows, stride_cols, in operator()
Dextract_volume_patches_op.h30 int patch_planes, int patch_rows, int patch_cols, in operator()
40 .extract_volume_patches(patch_cols, patch_rows, patch_planes, in operator()
47 .extract_volume_patches(patch_cols, patch_rows, patch_planes, in operator()
Dconv_ops.cc602 const int64 patch_rows = filter.dim_size(0); in operator ()() local
610 if (patch_rows == 1 && patch_cols == 1 && !is_grouped_convolution && in operator ()()
637 } else if (patch_rows == in_rows && patch_cols == in_cols && in operator ()()
644 const uint64 k = patch_rows * patch_cols * patch_depths; in operator ()()
681 in_rows, patch_rows, row_dilation, row_stride, padding, &out_rows_check, in operator ()()
776 filter_desc.set_input_filter_height(patch_rows) in operator ()()
835 {{patch_rows, // filter_rows in operator ()()
Deigen_volume_patch.h94 op.patch_rows() + (op.patch_rows() - 1) * (m_in_row_strides - 1); in CustomTensorEvaluator()
168 m_dimensions[2] = op.patch_rows(); in CustomTensorEvaluator()
184 m_dimensions[NumDims - 3] = op.patch_rows(); in CustomTensorEvaluator()
Dconv_ops_fused_impl.h586 const int64 patch_rows = filter.dim_size(0);
617 (patch_rows - 1) * dimensions.dilation_rows + 1 - in_rows);
685 filter_desc.set_input_filter_height(patch_rows)
759 {{patch_rows, // filter_rows
Dextract_image_patches_op.cc142 int patch_rows, int patch_cols, int stride_rows, int stride_cols, \
Dextract_volume_patches_op.cc171 int patch_planes, int patch_rows, int patch_cols, \
Deigen_spatial_convolutions-inl.h103 Index patch_rows; in TensorContractionInputMapper() local
107 patch_rows = tensor.impl().dimensions()[1]; in TensorContractionInputMapper()
113 patch_rows = tensor.impl().dimensions()[NumDims - 2]; in TensorContractionInputMapper()
120 m_patch_col_stride = patch_rows * m_patch_row_stride; in TensorContractionInputMapper()
125 m_colStride = patch_rows; in TensorContractionInputMapper()
/external/eigen/unsupported/Eigen/CXX11/src/Tensor/
DTensorImagePatch.h68 …EIGEN_STRONG_INLINE TensorImagePatchOp(const XprType& expr, DenseIndex patch_rows, DenseIndex patc…
73 : m_xpr(expr), m_patch_rows(patch_rows), m_patch_cols(patch_cols),
80 …EIGEN_STRONG_INLINE TensorImagePatchOp(const XprType& expr, DenseIndex patch_rows, DenseIndex patc…
87 : m_xpr(expr), m_patch_rows(patch_rows), m_patch_cols(patch_cols),
96 DenseIndex patch_rows() const { return m_patch_rows; }
217 m_patch_rows_eff = op.patch_rows() + (op.patch_rows() - 1) * (m_in_row_strides - 1);
258 m_dimensions[1] = op.patch_rows();
272 m_dimensions[NumDims-2] = op.patch_rows();
DTensorVolumePatch.h63 …VolumePatchOp(const XprType& expr, DenseIndex patch_planes, DenseIndex patch_rows, DenseIndex patc…
68 … : m_xpr(expr), m_patch_planes(patch_planes), m_patch_rows(patch_rows), m_patch_cols(patch_cols),
75 …VolumePatchOp(const XprType& expr, DenseIndex patch_planes, DenseIndex patch_rows, DenseIndex patc…
83 … : m_xpr(expr), m_patch_planes(patch_planes), m_patch_rows(patch_rows), m_patch_cols(patch_cols),
94 DenseIndex patch_rows() const { return m_patch_rows; }
226 m_patch_rows_eff = op.patch_rows() + (op.patch_rows() - 1) * (m_in_row_strides - 1);
278 m_dimensions[2] = op.patch_rows();
294 m_dimensions[NumDims-3] = op.patch_rows();
DTensorBase.h688 extract_image_patches(const Index patch_rows = 1, const Index patch_cols = 1,
692 …return TensorImagePatchOp<Dynamic, Dynamic, const Derived>(derived(), patch_rows, patch_cols, row_…
698 extract_image_patches(const Index patch_rows, const Index patch_cols, in extract_image_patches() argument
705 …return TensorImagePatchOp<Dynamic, Dynamic, const Derived>(derived(), patch_rows, patch_cols, row_… in extract_image_patches()
712 extract_volume_patches(const Index patch_planes, const Index patch_rows, const Index patch_cols,
715 …hOp<Dynamic, Dynamic, Dynamic, const Derived>(derived(), patch_planes, patch_rows, patch_cols, pla…
721 extract_volume_patches(const Index patch_planes, const Index patch_rows, const Index patch_cols,
727 …hOp<Dynamic, Dynamic, Dynamic, const Derived>(derived(), patch_planes, patch_rows, patch_cols, pla…
DREADME.md1647 ### <Operation> extract_image_patches(const Index patch_rows, const Index patch_cols,