TensorVolumePatch.h
Go to the documentation of this file.
1 // This file is part of Eigen, a lightweight C++ template library
2 // for linear algebra.
3 
4 #ifndef EIGEN_CXX11_TENSOR_TENSOR_VOLUME_PATCH_H
5 #define EIGEN_CXX11_TENSOR_TENSOR_VOLUME_PATCH_H
6 
7 namespace Eigen {
8 
24 namespace internal {
25 
26 template<DenseIndex Planes, DenseIndex Rows, DenseIndex Cols, typename XprType>
27 struct traits<TensorVolumePatchOp<Planes, Rows, Cols, XprType> > : public traits<XprType>
28 {
31  typedef typename XprTraits::StorageKind StorageKind;
32  typedef typename XprTraits::Index Index;
33  typedef typename XprType::Nested Nested;
35  static const int NumDimensions = XprTraits::NumDimensions + 1;
36  static const int Layout = XprTraits::Layout;
37  typedef typename XprTraits::PointerType PointerType;
38 
39 };
40 
41 template<DenseIndex Planes, DenseIndex Rows, DenseIndex Cols, typename XprType>
42 struct eval<TensorVolumePatchOp<Planes, Rows, Cols, XprType>, Eigen::Dense>
43 {
45 };
46 
47 template<DenseIndex Planes, DenseIndex Rows, DenseIndex Cols, typename XprType>
48 struct nested<TensorVolumePatchOp<Planes, Rows, Cols, XprType>, 1, typename eval<TensorVolumePatchOp<Planes, Rows, Cols, XprType> >::type>
49 {
51 };
52 
53 } // end namespace internal
54 
55 template<DenseIndex Planes, DenseIndex Rows, DenseIndex Cols, typename XprType>
56 class TensorVolumePatchOp : public TensorBase<TensorVolumePatchOp<Planes, Rows, Cols, XprType>, ReadOnlyAccessors>
57 {
58  public:
61  typedef typename XprType::CoeffReturnType CoeffReturnType;
65 
77 
93 
97  DenseIndex patch_rows() const { return m_patch_rows; }
99  DenseIndex patch_cols() const { return m_patch_cols; }
119  bool padding_explicit() const { return m_padding_explicit; }
136 
139  expression() const { return m_xpr; }
140 
141  protected:
142  typename XprType::Nested m_xpr;
155  const bool m_padding_explicit;
164 };
165 
166 
167 // Eval as rvalue
168 template<DenseIndex Planes, DenseIndex Rows, DenseIndex Cols, typename ArgType, typename Device>
169 struct TensorEvaluator<const TensorVolumePatchOp<Planes, Rows, Cols, ArgType>, Device>
170 {
172  typedef typename XprType::Index Index;
174  static const int NumDims = NumInputDims + 1;
182 
183  enum {
184  IsAligned = false,
186  BlockAccess = false,
189  CoordAccess = false,
190  RawAccess = false
191  };
192 
193  //===- Tensor block evaluation strategy (see TensorBlock.h) -------------===//
195  //===--------------------------------------------------------------------===//
196 
197  EIGEN_STRONG_INLINE TensorEvaluator(const XprType& op, const Device& device) :
198  m_impl(op.expression(), device)
199  {
200  EIGEN_STATIC_ASSERT((NumDims >= 5), YOU_MADE_A_PROGRAMMING_MISTAKE);
201 
202  m_paddingValue = op.padding_value();
203 
204  const typename TensorEvaluator<ArgType, Device>::Dimensions& input_dims = m_impl.dimensions();
205 
206  // Cache a few variables.
207  if (static_cast<int>(Layout) == static_cast<int>(ColMajor)) {
208  m_inputDepth = input_dims[0];
209  m_inputPlanes = input_dims[1];
210  m_inputRows = input_dims[2];
211  m_inputCols = input_dims[3];
212  } else {
213  m_inputDepth = input_dims[NumInputDims-1];
214  m_inputPlanes = input_dims[NumInputDims-2];
215  m_inputRows = input_dims[NumInputDims-3];
216  m_inputCols = input_dims[NumInputDims-4];
217  }
218 
219  m_plane_strides = op.plane_strides();
220  m_row_strides = op.row_strides();
221  m_col_strides = op.col_strides();
222 
223  // Input strides and effective input/patch size
224  m_in_plane_strides = op.in_plane_strides();
225  m_in_row_strides = op.in_row_strides();
226  m_in_col_strides = op.in_col_strides();
227  m_plane_inflate_strides = op.plane_inflate_strides();
228  m_row_inflate_strides = op.row_inflate_strides();
229  m_col_inflate_strides = op.col_inflate_strides();
230 
231  // The "effective" spatial size after inflating data with zeros.
232  m_input_planes_eff = (m_inputPlanes - 1) * m_plane_inflate_strides + 1;
233  m_input_rows_eff = (m_inputRows - 1) * m_row_inflate_strides + 1;
234  m_input_cols_eff = (m_inputCols - 1) * m_col_inflate_strides + 1;
235  m_patch_planes_eff = op.patch_planes() + (op.patch_planes() - 1) * (m_in_plane_strides - 1);
236  m_patch_rows_eff = op.patch_rows() + (op.patch_rows() - 1) * (m_in_row_strides - 1);
237  m_patch_cols_eff = op.patch_cols() + (op.patch_cols() - 1) * (m_in_col_strides - 1);
238 
239  if (op.padding_explicit()) {
240  m_outputPlanes = numext::ceil((m_input_planes_eff + op.padding_top_z() + op.padding_bottom_z() - m_patch_planes_eff + 1.f) / static_cast<float>(m_plane_strides));
241  m_outputRows = numext::ceil((m_input_rows_eff + op.padding_top() + op.padding_bottom() - m_patch_rows_eff + 1.f) / static_cast<float>(m_row_strides));
242  m_outputCols = numext::ceil((m_input_cols_eff + op.padding_left() + op.padding_right() - m_patch_cols_eff + 1.f) / static_cast<float>(m_col_strides));
243  m_planePaddingTop = op.padding_top_z();
244  m_rowPaddingTop = op.padding_top();
245  m_colPaddingLeft = op.padding_left();
246  } else {
247  // Computing padding from the type
248  switch (op.padding_type()) {
249  case PADDING_VALID:
250  m_outputPlanes = numext::ceil((m_input_planes_eff - m_patch_planes_eff + 1.f) / static_cast<float>(m_plane_strides));
251  m_outputRows = numext::ceil((m_input_rows_eff - m_patch_rows_eff + 1.f) / static_cast<float>(m_row_strides));
252  m_outputCols = numext::ceil((m_input_cols_eff - m_patch_cols_eff + 1.f) / static_cast<float>(m_col_strides));
253  m_planePaddingTop = 0;
254  m_rowPaddingTop = 0;
255  m_colPaddingLeft = 0;
256  break;
257  case PADDING_SAME: {
258  m_outputPlanes = numext::ceil(m_input_planes_eff / static_cast<float>(m_plane_strides));
259  m_outputRows = numext::ceil(m_input_rows_eff / static_cast<float>(m_row_strides));
260  m_outputCols = numext::ceil(m_input_cols_eff / static_cast<float>(m_col_strides));
261  const Index dz = (m_outputPlanes - 1) * m_plane_strides + m_patch_planes_eff - m_input_planes_eff;
262  const Index dy = (m_outputRows - 1) * m_row_strides + m_patch_rows_eff - m_input_rows_eff;
263  const Index dx = (m_outputCols - 1) * m_col_strides + m_patch_cols_eff - m_input_cols_eff;
264  m_planePaddingTop = dz / 2;
265  m_rowPaddingTop = dy / 2;
266  m_colPaddingLeft = dx / 2;
267  break;
268  }
269  default:
270  eigen_assert(false && "unexpected padding");
271  }
272  }
273  eigen_assert(m_outputRows > 0);
274  eigen_assert(m_outputCols > 0);
275  eigen_assert(m_outputPlanes > 0);
276 
277  // Dimensions for result of extraction.
278  if (static_cast<int>(Layout) == static_cast<int>(ColMajor)) {
279  // ColMajor
280  // 0: depth
281  // 1: patch_planes
282  // 2: patch_rows
283  // 3: patch_cols
284  // 4: number of patches
285  // 5 and beyond: anything else (such as batch).
286  m_dimensions[0] = input_dims[0];
287  m_dimensions[1] = op.patch_planes();
288  m_dimensions[2] = op.patch_rows();
289  m_dimensions[3] = op.patch_cols();
290  m_dimensions[4] = m_outputPlanes * m_outputRows * m_outputCols;
291  for (int i = 5; i < NumDims; ++i) {
292  m_dimensions[i] = input_dims[i-1];
293  }
294  } else {
295  // RowMajor
296  // NumDims-1: depth
297  // NumDims-2: patch_planes
298  // NumDims-3: patch_rows
299  // NumDims-4: patch_cols
300  // NumDims-5: number of patches
301  // NumDims-6 and beyond: anything else (such as batch).
302  m_dimensions[NumDims-1] = input_dims[NumInputDims-1];
303  m_dimensions[NumDims-2] = op.patch_planes();
304  m_dimensions[NumDims-3] = op.patch_rows();
305  m_dimensions[NumDims-4] = op.patch_cols();
306  m_dimensions[NumDims-5] = m_outputPlanes * m_outputRows * m_outputCols;
307  for (int i = NumDims-6; i >= 0; --i) {
308  m_dimensions[i] = input_dims[i];
309  }
310  }
311 
312  // Strides for the output tensor.
313  if (static_cast<int>(Layout) == static_cast<int>(ColMajor)) {
314  m_rowStride = m_dimensions[1];
315  m_colStride = m_dimensions[2] * m_rowStride;
316  m_patchStride = m_colStride * m_dimensions[3] * m_dimensions[0];
317  m_otherStride = m_patchStride * m_dimensions[4];
318  } else {
319  m_rowStride = m_dimensions[NumDims-2];
320  m_colStride = m_dimensions[NumDims-3] * m_rowStride;
321  m_patchStride = m_colStride * m_dimensions[NumDims-4] * m_dimensions[NumDims-1];
322  m_otherStride = m_patchStride * m_dimensions[NumDims-5];
323  }
324 
325  // Strides for navigating through the input tensor.
326  m_planeInputStride = m_inputDepth;
327  m_rowInputStride = m_inputDepth * m_inputPlanes;
328  m_colInputStride = m_inputDepth * m_inputRows * m_inputPlanes;
329  m_otherInputStride = m_inputDepth * m_inputRows * m_inputCols * m_inputPlanes;
330 
331  m_outputPlanesRows = m_outputPlanes * m_outputRows;
332 
333  // Fast representations of different variables.
334  m_fastOtherStride = internal::TensorIntDivisor<Index>(m_otherStride);
335 
336  m_fastPatchStride = internal::TensorIntDivisor<Index>(m_patchStride);
337  m_fastColStride = internal::TensorIntDivisor<Index>(m_colStride);
338  m_fastRowStride = internal::TensorIntDivisor<Index>(m_rowStride);
339  m_fastInputRowStride = internal::TensorIntDivisor<Index>(m_row_inflate_strides);
340  m_fastInputColStride = internal::TensorIntDivisor<Index>(m_col_inflate_strides);
341  m_fastInputPlaneStride = internal::TensorIntDivisor<Index>(m_plane_inflate_strides);
342  m_fastInputColsEff = internal::TensorIntDivisor<Index>(m_input_cols_eff);
343  m_fastOutputPlanes = internal::TensorIntDivisor<Index>(m_outputPlanes);
344  m_fastOutputPlanesRows = internal::TensorIntDivisor<Index>(m_outputPlanesRows);
345 
346  if (static_cast<int>(Layout) == static_cast<int>(ColMajor)) {
347  m_fastOutputDepth = internal::TensorIntDivisor<Index>(m_dimensions[0]);
348  } else {
349  m_fastOutputDepth = internal::TensorIntDivisor<Index>(m_dimensions[NumDims-1]);
350  }
351  }
352 
353  EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const Dimensions& dimensions() const { return m_dimensions; }
354 
356  m_impl.evalSubExprsIfNeeded(NULL);
357  return true;
358  }
359 
361  m_impl.cleanup();
362  }
363 
365  {
366  // Patch index corresponding to the passed in index.
367  const Index patchIndex = index / m_fastPatchStride;
368 
369  // Spatial offset within the patch. This has to be translated into 3D
370  // coordinates within the patch.
371  const Index patchOffset = (index - patchIndex * m_patchStride) / m_fastOutputDepth;
372 
373  // Batch, etc.
374  const Index otherIndex = (NumDims == 5) ? 0 : index / m_fastOtherStride;
375  const Index patch3DIndex = (NumDims == 5) ? patchIndex : (index - otherIndex * m_otherStride) / m_fastPatchStride;
376 
377  // Calculate column index in the input original tensor.
378  const Index colIndex = patch3DIndex / m_fastOutputPlanesRows;
379  const Index colOffset = patchOffset / m_fastColStride;
380  const Index inputCol = colIndex * m_col_strides + colOffset * m_in_col_strides - m_colPaddingLeft;
381  const Index origInputCol = (m_col_inflate_strides == 1) ? inputCol : ((inputCol >= 0) ? (inputCol / m_fastInputColStride) : 0);
382  if (inputCol < 0 || inputCol >= m_input_cols_eff ||
383  ((m_col_inflate_strides != 1) && (inputCol != origInputCol * m_col_inflate_strides))) {
384  return Scalar(m_paddingValue);
385  }
386 
387  // Calculate row index in the original input tensor.
388  const Index rowIndex = (patch3DIndex - colIndex * m_outputPlanesRows) / m_fastOutputPlanes;
389  const Index rowOffset = (patchOffset - colOffset * m_colStride) / m_fastRowStride;
390  const Index inputRow = rowIndex * m_row_strides + rowOffset * m_in_row_strides - m_rowPaddingTop;
391  const Index origInputRow = (m_row_inflate_strides == 1) ? inputRow : ((inputRow >= 0) ? (inputRow / m_fastInputRowStride) : 0);
392  if (inputRow < 0 || inputRow >= m_input_rows_eff ||
393  ((m_row_inflate_strides != 1) && (inputRow != origInputRow * m_row_inflate_strides))) {
394  return Scalar(m_paddingValue);
395  }
396 
397  // Calculate plane index in the original input tensor.
398  const Index planeIndex = (patch3DIndex - m_outputPlanes * (colIndex * m_outputRows + rowIndex));
399  const Index planeOffset = patchOffset - colOffset * m_colStride - rowOffset * m_rowStride;
400  const Index inputPlane = planeIndex * m_plane_strides + planeOffset * m_in_plane_strides - m_planePaddingTop;
401  const Index origInputPlane = (m_plane_inflate_strides == 1) ? inputPlane : ((inputPlane >= 0) ? (inputPlane / m_fastInputPlaneStride) : 0);
402  if (inputPlane < 0 || inputPlane >= m_input_planes_eff ||
403  ((m_plane_inflate_strides != 1) && (inputPlane != origInputPlane * m_plane_inflate_strides))) {
404  return Scalar(m_paddingValue);
405  }
406 
407  const int depth_index = static_cast<int>(Layout) == static_cast<int>(ColMajor) ? 0 : NumDims - 1;
408  const Index depth = index - (index / m_fastOutputDepth) * m_dimensions[depth_index];
409 
410  const Index inputIndex = depth +
411  origInputRow * m_rowInputStride +
412  origInputCol * m_colInputStride +
413  origInputPlane * m_planeInputStride +
414  otherIndex * m_otherInputStride;
415 
416  return m_impl.coeff(inputIndex);
417  }
418 
419  template<int LoadMode>
421  {
422  EIGEN_STATIC_ASSERT((PacketSize > 1), YOU_MADE_A_PROGRAMMING_MISTAKE)
423  eigen_assert(index+PacketSize-1 < dimensions().TotalSize());
424 
425  if (m_in_row_strides != 1 || m_in_col_strides != 1 || m_row_inflate_strides != 1 || m_col_inflate_strides != 1 ||
426  m_in_plane_strides != 1 || m_plane_inflate_strides != 1) {
427  return packetWithPossibleZero(index);
428  }
429 
430  const Index indices[2] = {index, index + PacketSize - 1};
431  const Index patchIndex = indices[0] / m_fastPatchStride;
432  if (patchIndex != indices[1] / m_fastPatchStride) {
433  return packetWithPossibleZero(index);
434  }
435  const Index otherIndex = (NumDims == 5) ? 0 : indices[0] / m_fastOtherStride;
436  eigen_assert(otherIndex == indices[1] / m_fastOtherStride);
437 
438  // Find the offset of the element wrt the location of the first element.
439  const Index patchOffsets[2] = {(indices[0] - patchIndex * m_patchStride) / m_fastOutputDepth,
440  (indices[1] - patchIndex * m_patchStride) / m_fastOutputDepth};
441 
442  const Index patch3DIndex = (NumDims == 5) ? patchIndex : (indices[0] - otherIndex * m_otherStride) / m_fastPatchStride;
443  eigen_assert(patch3DIndex == (indices[1] - otherIndex * m_otherStride) / m_fastPatchStride);
444 
445  const Index colIndex = patch3DIndex / m_fastOutputPlanesRows;
446  const Index colOffsets[2] = {
447  patchOffsets[0] / m_fastColStride,
448  patchOffsets[1] / m_fastColStride};
449 
450  // Calculate col indices in the original input tensor.
451  const Index inputCols[2] = {
452  colIndex * m_col_strides + colOffsets[0] - m_colPaddingLeft,
453  colIndex * m_col_strides + colOffsets[1] - m_colPaddingLeft};
454  if (inputCols[1] < 0 || inputCols[0] >= m_inputCols) {
455  return internal::pset1<PacketReturnType>(Scalar(m_paddingValue));
456  }
457 
458  if (inputCols[0] != inputCols[1]) {
459  return packetWithPossibleZero(index);
460  }
461 
462  const Index rowIndex = (patch3DIndex - colIndex * m_outputPlanesRows) / m_fastOutputPlanes;
463  const Index rowOffsets[2] = {
464  (patchOffsets[0] - colOffsets[0] * m_colStride) / m_fastRowStride,
465  (patchOffsets[1] - colOffsets[1] * m_colStride) / m_fastRowStride};
466  eigen_assert(rowOffsets[0] <= rowOffsets[1]);
467  // Calculate col indices in the original input tensor.
468  const Index inputRows[2] = {
469  rowIndex * m_row_strides + rowOffsets[0] - m_rowPaddingTop,
470  rowIndex * m_row_strides + rowOffsets[1] - m_rowPaddingTop};
471 
472  if (inputRows[1] < 0 || inputRows[0] >= m_inputRows) {
473  return internal::pset1<PacketReturnType>(Scalar(m_paddingValue));
474  }
475 
476  if (inputRows[0] != inputRows[1]) {
477  return packetWithPossibleZero(index);
478  }
479 
480  const Index planeIndex = (patch3DIndex - m_outputPlanes * (colIndex * m_outputRows + rowIndex));
481  const Index planeOffsets[2] = {
482  patchOffsets[0] - colOffsets[0] * m_colStride - rowOffsets[0] * m_rowStride,
483  patchOffsets[1] - colOffsets[1] * m_colStride - rowOffsets[1] * m_rowStride};
484  eigen_assert(planeOffsets[0] <= planeOffsets[1]);
485  const Index inputPlanes[2] = {
486  planeIndex * m_plane_strides + planeOffsets[0] - m_planePaddingTop,
487  planeIndex * m_plane_strides + planeOffsets[1] - m_planePaddingTop};
488 
489  if (inputPlanes[1] < 0 || inputPlanes[0] >= m_inputPlanes) {
490  return internal::pset1<PacketReturnType>(Scalar(m_paddingValue));
491  }
492 
493  if (inputPlanes[0] >= 0 && inputPlanes[1] < m_inputPlanes) {
494  // no padding
495  const int depth_index = static_cast<int>(Layout) == static_cast<int>(ColMajor) ? 0 : NumDims - 1;
496  const Index depth = index - (index / m_fastOutputDepth) * m_dimensions[depth_index];
497  const Index inputIndex = depth +
498  inputRows[0] * m_rowInputStride +
499  inputCols[0] * m_colInputStride +
500  m_planeInputStride * inputPlanes[0] +
501  otherIndex * m_otherInputStride;
502  return m_impl.template packet<Unaligned>(inputIndex);
503  }
504 
505  return packetWithPossibleZero(index);
506  }
507 
509  costPerCoeff(bool vectorized) const {
510  const double compute_cost =
511  10 * TensorOpCost::DivCost<Index>() + 21 * TensorOpCost::MulCost<Index>() +
512  8 * TensorOpCost::AddCost<Index>();
513  return TensorOpCost(0, 0, compute_cost, vectorized, PacketSize);
514  }
515 
517 
518  const TensorEvaluator<ArgType, Device>& impl() const { return m_impl; }
519 
520 
521  EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Index planePaddingTop() const { return m_planePaddingTop; }
522  EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Index rowPaddingTop() const { return m_rowPaddingTop; }
523  EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Index colPaddingLeft() const { return m_colPaddingLeft; }
524  EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Index outputPlanes() const { return m_outputPlanes; }
525  EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Index outputRows() const { return m_outputRows; }
526  EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Index outputCols() const { return m_outputCols; }
527  EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Index userPlaneStride() const { return m_plane_strides; }
528  EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Index userRowStride() const { return m_row_strides; }
529  EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Index userColStride() const { return m_col_strides; }
530  EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Index userInPlaneStride() const { return m_in_plane_strides; }
531  EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Index userInRowStride() const { return m_in_row_strides; }
532  EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Index userInColStride() const { return m_in_col_strides; }
533  EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Index planeInflateStride() const { return m_plane_inflate_strides; }
534  EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Index rowInflateStride() const { return m_row_inflate_strides; }
535  EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Index colInflateStride() const { return m_col_inflate_strides; }
536 
537 #ifdef EIGEN_USE_SYCL
538  // binding placeholder accessors to a command group handler for SYCL
539  EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE void bind(cl::sycl::handler &cgh) const {
540  m_impl.bind(cgh);
541  }
542 #endif
543  protected:
545  {
548  for (int i = 0; i < PacketSize; ++i) {
549  values[i] = coeff(index+i);
550  }
551  PacketReturnType rslt = internal::pload<PacketReturnType>(values);
552  return rslt;
553  }
554 
556 
557  // Parameters passed to the constructor.
561 
565 
569 
573 
577 
578  // Cached input size.
583 
584  // Other cached variables.
586 
587  // Effective input/patch post-inflation size.
594 
595  // Strides for the output tensor.
600 
601  // Strides for the input tensor.
606 
618 
620 
622 
623 
624 };
625 
626 
627 } // end namespace Eigen
628 
629 #endif // EIGEN_CXX11_TENSOR_TENSOR_VOLUME_PATCH_H
Eigen::TensorEvaluator< const TensorVolumePatchOp< Planes, Rows, Cols, ArgType >, Device >::m_inputRows
Index m_inputRows
Definition: TensorVolumePatch.h:581
Eigen::TensorEvaluator::dimensions
EIGEN_DEVICE_FUNC const EIGEN_STRONG_INLINE Dimensions & dimensions() const
Definition: TensorEvaluator.h:73
Eigen::TensorEvaluator< const TensorVolumePatchOp< Planes, Rows, Cols, ArgType >, Device >::m_patchStride
Index m_patchStride
Definition: TensorVolumePatch.h:597
Eigen::TensorEvaluator< const TensorVolumePatchOp< Planes, Rows, Cols, ArgType >, Device >::m_outputCols
Index m_outputCols
Definition: TensorVolumePatch.h:564
Eigen::TensorVolumePatchOp::m_padding_bottom
const DenseIndex m_padding_bottom
Definition: TensorVolumePatch.h:159
Eigen::TensorVolumePatchOp::padding_bottom
EIGEN_DEVICE_FUNC DenseIndex padding_bottom() const
Definition: TensorVolumePatch.h:127
Eigen::TensorVolumePatchOp::m_padding_right
const DenseIndex m_padding_right
Definition: TensorVolumePatch.h:161
Eigen::TensorEvaluator< const TensorVolumePatchOp< Planes, Rows, Cols, ArgType >, Device >::m_in_row_strides
Index m_in_row_strides
Definition: TensorVolumePatch.h:571
Eigen::TensorVolumePatchOp::m_col_strides
const DenseIndex m_col_strides
Definition: TensorVolumePatch.h:148
Eigen::TensorEvaluator< const TensorVolumePatchOp< Planes, Rows, Cols, ArgType >, Device >::userRowStride
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Index userRowStride() const
Definition: TensorVolumePatch.h:528
Eigen::TensorEvaluator< const TensorVolumePatchOp< Planes, Rows, Cols, ArgType >, Device >::TensorEvaluator
EIGEN_STRONG_INLINE TensorEvaluator(const XprType &op, const Device &device)
Definition: TensorVolumePatch.h:197
Eigen::TensorVolumePatchOp::in_col_strides
EIGEN_DEVICE_FUNC DenseIndex in_col_strides() const
Definition: TensorVolumePatch.h:111
EIGEN_DEVICE_FUNC
#define EIGEN_DEVICE_FUNC
Definition: Macros.h:976
Eigen::TensorVolumePatchOp::m_patch_planes
const DenseIndex m_patch_planes
Definition: TensorVolumePatch.h:143
Eigen::TensorEvaluator< const TensorVolumePatchOp< Planes, Rows, Cols, ArgType >, Device >::m_input_cols_eff
Index m_input_cols_eff
Definition: TensorVolumePatch.h:590
Eigen
Namespace containing all symbols from the Eigen library.
Definition: jet.h:637
Eigen::PaddingType
PaddingType
Definition: TensorTraits.h:257
Eigen::TensorEvaluator< const TensorVolumePatchOp< Planes, Rows, Cols, ArgType >, Device >::userInColStride
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Index userInColStride() const
Definition: TensorVolumePatch.h:532
Eigen::TensorVolumePatchOp::padding_right
EIGEN_DEVICE_FUNC DenseIndex padding_right() const
Definition: TensorVolumePatch.h:131
Eigen::internal::TensorBlockNotImplemented
Definition: TensorBlock.h:617
Eigen::TensorVolumePatchOp::padding_bottom_z
EIGEN_DEVICE_FUNC DenseIndex padding_bottom_z() const
Definition: TensorVolumePatch.h:123
Eigen::TensorEvaluator< const TensorVolumePatchOp< Planes, Rows, Cols, ArgType >, Device >::m_in_col_strides
Index m_in_col_strides
Definition: TensorVolumePatch.h:572
Eigen::TensorVolumePatchOp::m_padding_left
const DenseIndex m_padding_left
Definition: TensorVolumePatch.h:160
Eigen::TensorVolumePatchOp::m_row_inflate_strides
const DenseIndex m_row_inflate_strides
Definition: TensorVolumePatch.h:153
Eigen::TensorEvaluator< const TensorVolumePatchOp< Planes, Rows, Cols, ArgType >, Device >::m_fastOtherStride
internal::TensorIntDivisor< Index > m_fastOtherStride
Definition: TensorVolumePatch.h:607
Eigen::TensorVolumePatchOp::padding_type
EIGEN_DEVICE_FUNC PaddingType padding_type() const
Definition: TensorVolumePatch.h:133
Eigen::CwiseBinaryOp
Generic expression where a coefficient-wise binary operator is applied to two expressions.
Definition: CwiseBinaryOp.h:77
Eigen::TensorVolumePatchOp::row_inflate_strides
EIGEN_DEVICE_FUNC DenseIndex row_inflate_strides() const
Definition: TensorVolumePatch.h:115
Eigen::TensorEvaluator< const TensorVolumePatchOp< Planes, Rows, Cols, ArgType >, Device >::m_patch_planes_eff
Index m_patch_planes_eff
Definition: TensorVolumePatch.h:591
Eigen::TensorVolumePatchOp::RealScalar
Eigen::NumTraits< Scalar >::Real RealScalar
Definition: TensorVolumePatch.h:60
Eigen::TensorVolumePatchOp::patch_rows
EIGEN_DEVICE_FUNC DenseIndex patch_rows() const
Definition: TensorVolumePatch.h:97
Eigen::internal::nested
Definition: TensorTraits.h:174
Eigen::TensorVolumePatchOp::patch_planes
EIGEN_DEVICE_FUNC DenseIndex patch_planes() const
Definition: TensorVolumePatch.h:95
Eigen::internal::traits< TensorVolumePatchOp< Planes, Rows, Cols, XprType > >::Index
XprTraits::Index Index
Definition: TensorVolumePatch.h:32
eigen_assert
#define eigen_assert(x)
Definition: Macros.h:1037
Eigen::TensorEvaluator< const TensorVolumePatchOp< Planes, Rows, Cols, ArgType >, Device >::PacketReturnType
PacketType< CoeffReturnType, Device >::type PacketReturnType
Definition: TensorVolumePatch.h:178
Eigen::TensorVolumePatchOp::m_patch_cols
const DenseIndex m_patch_cols
Definition: TensorVolumePatch.h:145
Eigen::TensorVolumePatchOp::m_padding_type
const PaddingType m_padding_type
Definition: TensorVolumePatch.h:162
Eigen::numext::ceil
EIGEN_DEVICE_FUNC T() ceil(const T &x)
Definition: Eigen/src/Core/MathFunctions.h:1422
Eigen::TensorEvaluator< const TensorVolumePatchOp< Planes, Rows, Cols, ArgType >, Device >::outputCols
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Index outputCols() const
Definition: TensorVolumePatch.h:526
Eigen::TensorVolumePatchOp::m_padding_explicit
const bool m_padding_explicit
Definition: TensorVolumePatch.h:155
Eigen::TensorVolumePatchOp::m_in_row_strides
const DenseIndex m_in_row_strides
Definition: TensorVolumePatch.h:150
Eigen::TensorVolumePatchOp::m_patch_rows
const DenseIndex m_patch_rows
Definition: TensorVolumePatch.h:144
Eigen::TensorEvaluator< const TensorVolumePatchOp< Planes, Rows, Cols, ArgType >, Device >::userInRowStride
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Index userInRowStride() const
Definition: TensorVolumePatch.h:531
Eigen::TensorEvaluator< const TensorVolumePatchOp< Planes, Rows, Cols, ArgType >, Device >::coeff
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE CoeffReturnType coeff(Index index) const
Definition: TensorVolumePatch.h:364
Eigen::internal::traits< TensorVolumePatchOp< Planes, Rows, Cols, XprType > >::StorageKind
XprTraits::StorageKind StorageKind
Definition: TensorVolumePatch.h:31
Eigen::TensorEvaluator< const TensorVolumePatchOp< Planes, Rows, Cols, ArgType >, Device >::m_patch_rows_eff
Index m_patch_rows_eff
Definition: TensorVolumePatch.h:592
Eigen::TensorVolumePatchOp::in_plane_strides
EIGEN_DEVICE_FUNC DenseIndex in_plane_strides() const
Definition: TensorVolumePatch.h:107
Eigen::TensorVolumePatchOp::expression
const EIGEN_DEVICE_FUNC internal::remove_all< typename XprType::Nested >::type & expression() const
Definition: TensorVolumePatch.h:139
Eigen::TensorEvaluator< const TensorVolumePatchOp< Planes, Rows, Cols, ArgType >, Device >::m_colStride
Index m_colStride
Definition: TensorVolumePatch.h:599
Eigen::TensorEvaluator::Layout
@ Layout
Definition: TensorEvaluator.h:50
different_sigmas::values
HybridValues values
Definition: testHybridBayesNet.cpp:245
Eigen::TensorEvaluator< const TensorVolumePatchOp< Planes, Rows, Cols, ArgType >, Device >::packet
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE PacketReturnType packet(Index index) const
Definition: TensorVolumePatch.h:420
Eigen::TensorEvaluator< const TensorVolumePatchOp< Planes, Rows, Cols, ArgType >, Device >::m_planeInputStride
Index m_planeInputStride
Definition: TensorVolumePatch.h:602
Eigen::TensorEvaluator< const TensorVolumePatchOp< Planes, Rows, Cols, ArgType >, Device >::data
EIGEN_DEVICE_FUNC EvaluatorPointerType data() const
Definition: TensorVolumePatch.h:516
Eigen::TensorEvaluator< const TensorVolumePatchOp< Planes, Rows, Cols, ArgType >, Device >::m_fastInputRowStride
internal::TensorIntDivisor< Index > m_fastInputRowStride
Definition: TensorVolumePatch.h:612
Eigen::internal::traits< TensorVolumePatchOp< Planes, Rows, Cols, XprType > >::XprTraits
traits< XprType > XprTraits
Definition: TensorVolumePatch.h:30
Eigen::TensorVolumePatchOp::col_inflate_strides
EIGEN_DEVICE_FUNC DenseIndex col_inflate_strides() const
Definition: TensorVolumePatch.h:117
Eigen::TensorVolumePatchOp::m_plane_inflate_strides
const DenseIndex m_plane_inflate_strides
Definition: TensorVolumePatch.h:152
Eigen::PADDING_SAME
@ PADDING_SAME
Definition: TensorTraits.h:259
Eigen::TensorVolumePatchOp::padding_top_z
EIGEN_DEVICE_FUNC DenseIndex padding_top_z() const
Definition: TensorVolumePatch.h:121
Eigen::TensorEvaluator::PacketSize
static const int PacketSize
Definition: TensorEvaluator.h:36
Eigen::TensorEvaluator< const TensorVolumePatchOp< Planes, Rows, Cols, ArgType >, Device >::Dimensions
DSizes< Index, NumDims > Dimensions
Definition: TensorVolumePatch.h:175
Eigen::TensorEvaluator< const TensorVolumePatchOp< Planes, Rows, Cols, ArgType >, Device >::cleanup
EIGEN_STRONG_INLINE void cleanup()
Definition: TensorVolumePatch.h:360
Eigen::TensorEvaluator< const TensorVolumePatchOp< Planes, Rows, Cols, ArgType >, Device >::m_impl
TensorEvaluator< ArgType, Device > m_impl
Definition: TensorVolumePatch.h:621
Eigen::TensorVolumePatchOp::m_in_col_strides
const DenseIndex m_in_col_strides
Definition: TensorVolumePatch.h:151
Eigen::internal::TensorIntDivisor< Index >
Eigen::TensorEvaluator< const TensorVolumePatchOp< Planes, Rows, Cols, ArgType >, Device >::m_dimensions
Dimensions m_dimensions
Definition: TensorVolumePatch.h:555
Eigen::DSizes< Index, NumDims >
Eigen::TensorEvaluator< const TensorVolumePatchOp< Planes, Rows, Cols, ArgType >, Device >::impl
const TensorEvaluator< ArgType, Device > & impl() const
Definition: TensorVolumePatch.h:518
test_eigen_tensor.indices
indices
Definition: test_eigen_tensor.py:33
Eigen::TensorEvaluator< const TensorVolumePatchOp< Planes, Rows, Cols, ArgType >, Device >::m_col_strides
Index m_col_strides
Definition: TensorVolumePatch.h:560
Eigen::TensorEvaluator< const TensorVolumePatchOp< Planes, Rows, Cols, ArgType >, Device >::XprType
TensorVolumePatchOp< Planes, Rows, Cols, ArgType > XprType
Definition: TensorVolumePatch.h:171
EIGEN_ALIGN_MAX
#define EIGEN_ALIGN_MAX
Definition: ConfigureVectorization.h:157
Eigen::PacketType
Definition: TensorMeta.h:50
Eigen::TensorEvaluator< const TensorVolumePatchOp< Planes, Rows, Cols, ArgType >, Device >::userInPlaneStride
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Index userInPlaneStride() const
Definition: TensorVolumePatch.h:530
Eigen::internal::true_type
Definition: Meta.h:96
Eigen::TensorEvaluator< const TensorVolumePatchOp< Planes, Rows, Cols, ArgType >, Device >::m_row_inflate_strides
Index m_row_inflate_strides
Definition: TensorVolumePatch.h:575
Eigen::TensorEvaluator< const TensorVolumePatchOp< Planes, Rows, Cols, ArgType >, Device >::m_patch_cols_eff
Index m_patch_cols_eff
Definition: TensorVolumePatch.h:593
Eigen::TensorVolumePatchOp::plane_inflate_strides
EIGEN_DEVICE_FUNC DenseIndex plane_inflate_strides() const
Definition: TensorVolumePatch.h:113
Eigen::internal::traits< TensorVolumePatchOp< Planes, Rows, Cols, XprType > >::Nested
XprType::Nested Nested
Definition: TensorVolumePatch.h:33
Eigen::TensorEvaluator< const TensorVolumePatchOp< Planes, Rows, Cols, ArgType >, Device >::m_input_planes_eff
Index m_input_planes_eff
Definition: TensorVolumePatch.h:588
Eigen::TensorEvaluator< const TensorVolumePatchOp< Planes, Rows, Cols, ArgType >, Device >::m_planePaddingTop
Index m_planePaddingTop
Definition: TensorVolumePatch.h:566
Eigen::TensorEvaluator< const TensorVolumePatchOp< Planes, Rows, Cols, ArgType >, Device >::m_inputDepth
Index m_inputDepth
Definition: TensorVolumePatch.h:579
Eigen::TensorVolumePatchOp::m_in_plane_strides
const DenseIndex m_in_plane_strides
Definition: TensorVolumePatch.h:149
Eigen::internal::eval< TensorVolumePatchOp< Planes, Rows, Cols, XprType >, Eigen::Dense >::type
const typedef TensorVolumePatchOp< Planes, Rows, Cols, XprType > & type
Definition: TensorVolumePatch.h:44
Eigen::TensorVolumePatchOp::padding_value
EIGEN_DEVICE_FUNC Scalar padding_value() const
Definition: TensorVolumePatch.h:135
Eigen::TensorEvaluator< const TensorVolumePatchOp< Planes, Rows, Cols, ArgType >, Device >::m_otherInputStride
Index m_otherInputStride
Definition: TensorVolumePatch.h:605
Eigen::TensorEvaluator< const TensorVolumePatchOp< Planes, Rows, Cols, ArgType >, Device >::m_fastInputColStride
internal::TensorIntDivisor< Index > m_fastInputColStride
Definition: TensorVolumePatch.h:613
Eigen::TensorVolumePatchOp::m_padding_value
const Scalar m_padding_value
Definition: TensorVolumePatch.h:163
Eigen::TensorEvaluator< const TensorVolumePatchOp< Planes, Rows, Cols, ArgType >, Device >::m_input_rows_eff
Index m_input_rows_eff
Definition: TensorVolumePatch.h:589
Eigen::TensorVolumePatchOp::padding_explicit
EIGEN_DEVICE_FUNC bool padding_explicit() const
Definition: TensorVolumePatch.h:119
Eigen::TensorEvaluator< const TensorVolumePatchOp< Planes, Rows, Cols, ArgType >, Device >::TensorBlock
internal::TensorBlockNotImplemented TensorBlock
Definition: TensorVolumePatch.h:194
Eigen::PADDING_VALID
@ PADDING_VALID
Definition: TensorTraits.h:258
Eigen::TensorVolumePatchOp::TensorVolumePatchOp
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorVolumePatchOp(const XprType &expr, DenseIndex patch_planes, DenseIndex patch_rows, DenseIndex patch_cols, DenseIndex plane_strides, DenseIndex row_strides, DenseIndex col_strides, DenseIndex in_plane_strides, DenseIndex in_row_strides, DenseIndex in_col_strides, DenseIndex plane_inflate_strides, DenseIndex row_inflate_strides, DenseIndex col_inflate_strides, PaddingType padding_type, Scalar padding_value)
Definition: TensorVolumePatch.h:66
Eigen::TensorEvaluator< const TensorVolumePatchOp< Planes, Rows, Cols, ArgType >, Device >::Scalar
internal::remove_const< typename XprType::Scalar >::type Scalar
Definition: TensorVolumePatch.h:176
EIGEN_STRONG_INLINE
#define EIGEN_STRONG_INLINE
Definition: Macros.h:917
EIGEN_UNROLL_LOOP
#define EIGEN_UNROLL_LOOP
Definition: Macros.h:1461
Eigen::TensorEvaluator::PreferBlockAccess
@ PreferBlockAccess
Definition: TensorEvaluator.h:49
Eigen::TensorVolumePatchOp::m_col_inflate_strides
const DenseIndex m_col_inflate_strides
Definition: TensorVolumePatch.h:154
Eigen::TensorVolumePatchOp::plane_strides
EIGEN_DEVICE_FUNC DenseIndex plane_strides() const
Definition: TensorVolumePatch.h:101
Eigen::TensorEvaluator< const TensorVolumePatchOp< Planes, Rows, Cols, ArgType >, Device >::m_rowStride
Index m_rowStride
Definition: TensorVolumePatch.h:598
Eigen::TensorVolumePatchOp::TensorVolumePatchOp
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorVolumePatchOp(const XprType &expr, DenseIndex patch_planes, DenseIndex patch_rows, DenseIndex patch_cols, DenseIndex plane_strides, DenseIndex row_strides, DenseIndex col_strides, DenseIndex in_plane_strides, DenseIndex in_row_strides, DenseIndex in_col_strides, DenseIndex plane_inflate_strides, DenseIndex row_inflate_strides, DenseIndex col_inflate_strides, DenseIndex padding_top_z, DenseIndex padding_bottom_z, DenseIndex padding_top, DenseIndex padding_bottom, DenseIndex padding_left, DenseIndex padding_right, Scalar padding_value)
Definition: TensorVolumePatch.h:78
Eigen::TensorEvaluator< const TensorVolumePatchOp< Planes, Rows, Cols, ArgType >, Device >::m_colInputStride
Index m_colInputStride
Definition: TensorVolumePatch.h:604
Eigen::TensorEvaluator< const TensorVolumePatchOp< Planes, Rows, Cols, ArgType >, Device >::m_plane_inflate_strides
Index m_plane_inflate_strides
Definition: TensorVolumePatch.h:574
Eigen::TensorVolumePatchOp::m_padding_top_z
const DenseIndex m_padding_top_z
Definition: TensorVolumePatch.h:156
Eigen::TensorEvaluator< const TensorVolumePatchOp< Planes, Rows, Cols, ArgType >, Device >::m_otherStride
Index m_otherStride
Definition: TensorVolumePatch.h:596
Eigen::TensorEvaluator< const TensorVolumePatchOp< Planes, Rows, Cols, ArgType >, Device >::CoeffReturnType
XprType::CoeffReturnType CoeffReturnType
Definition: TensorVolumePatch.h:177
Eigen::TensorEvaluator< const TensorVolumePatchOp< Planes, Rows, Cols, ArgType >, Device >::rowInflateStride
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Index rowInflateStride() const
Definition: TensorVolumePatch.h:534
Eigen::TensorVolumePatchOp::CoeffReturnType
XprType::CoeffReturnType CoeffReturnType
Definition: TensorVolumePatch.h:61
Eigen::TensorEvaluator< const TensorVolumePatchOp< Planes, Rows, Cols, ArgType >, Device >::planePaddingTop
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Index planePaddingTop() const
Definition: TensorVolumePatch.h:521
Eigen::TensorEvaluator< const TensorVolumePatchOp< Planes, Rows, Cols, ArgType >, Device >::m_colPaddingLeft
Index m_colPaddingLeft
Definition: TensorVolumePatch.h:568
Eigen::TensorEvaluator< const TensorVolumePatchOp< Planes, Rows, Cols, ArgType >, Device >::planeInflateStride
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Index planeInflateStride() const
Definition: TensorVolumePatch.h:533
Eigen::TensorVolumePatchOp::padding_left
EIGEN_DEVICE_FUNC DenseIndex padding_left() const
Definition: TensorVolumePatch.h:129
Eigen::TensorVolumePatchOp::Nested
Eigen::internal::nested< TensorVolumePatchOp >::type Nested
Definition: TensorVolumePatch.h:62
Eigen::Triplet< double >
Eigen::StorageMemory
Definition: TensorForwardDeclarations.h:37
Eigen::TensorBase
The tensor base class.
Definition: TensorBase.h:973
Eigen::TensorEvaluator< const TensorVolumePatchOp< Planes, Rows, Cols, ArgType >, Device >::m_plane_strides
Index m_plane_strides
Definition: TensorVolumePatch.h:558
Eigen::TensorVolumePatchOp::in_row_strides
EIGEN_DEVICE_FUNC DenseIndex in_row_strides() const
Definition: TensorVolumePatch.h:109
Eigen::internal::array_size
Definition: Meta.h:445
Eigen::TensorEvaluator< const TensorVolumePatchOp< Planes, Rows, Cols, ArgType >, Device >::m_col_inflate_strides
Index m_col_inflate_strides
Definition: TensorVolumePatch.h:576
Eigen::TensorEvaluator::BlockAccess
@ BlockAccess
Definition: TensorEvaluator.h:48
Eigen::TensorVolumePatchOp::Scalar
Eigen::internal::traits< TensorVolumePatchOp >::Scalar Scalar
Definition: TensorVolumePatch.h:59
Eigen::TensorEvaluator< const TensorVolumePatchOp< Planes, Rows, Cols, ArgType >, Device >::m_rowPaddingTop
Index m_rowPaddingTop
Definition: TensorVolumePatch.h:567
tree::f
Point2(* f)(const Point3 &, OptionalJacobian< 2, 3 >)
Definition: testExpression.cpp:218
Eigen::TensorEvaluator< const TensorVolumePatchOp< Planes, Rows, Cols, ArgType >, Device >::m_in_plane_strides
Index m_in_plane_strides
Definition: TensorVolumePatch.h:570
Eigen::internal::nested< TensorVolumePatchOp< Planes, Rows, Cols, XprType >, 1, typename eval< TensorVolumePatchOp< Planes, Rows, Cols, XprType > >::type >::type
TensorVolumePatchOp< Planes, Rows, Cols, XprType > type
Definition: TensorVolumePatch.h:50
Eigen::TensorEvaluator< const TensorVolumePatchOp< Planes, Rows, Cols, ArgType >, Device >::m_fastInputColsEff
internal::TensorIntDivisor< Index > m_fastInputColsEff
Definition: TensorVolumePatch.h:614
Eigen::TensorVolumePatchOp::col_strides
EIGEN_DEVICE_FUNC DenseIndex col_strides() const
Definition: TensorVolumePatch.h:105
Eigen::TensorEvaluator< const TensorVolumePatchOp< Planes, Rows, Cols, ArgType >, Device >::m_inputCols
Index m_inputCols
Definition: TensorVolumePatch.h:582
Eigen::TensorEvaluator< const TensorVolumePatchOp< Planes, Rows, Cols, ArgType >, Device >::userPlaneStride
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Index userPlaneStride() const
Definition: TensorVolumePatch.h:527
Eigen::TensorVolumePatchOp::padding_top
EIGEN_DEVICE_FUNC DenseIndex padding_top() const
Definition: TensorVolumePatch.h:125
Eigen::internal::traits< TensorVolumePatchOp< Planes, Rows, Cols, XprType > >::Scalar
internal::remove_const< typename XprType::Scalar >::type Scalar
Definition: TensorVolumePatch.h:29
Eigen::TensorVolumePatchOp::row_strides
EIGEN_DEVICE_FUNC DenseIndex row_strides() const
Definition: TensorVolumePatch.h:103
Eigen::TensorEvaluator< const TensorVolumePatchOp< Planes, Rows, Cols, ArgType >, Device >::m_fastInputPlaneStride
internal::TensorIntDivisor< Index > m_fastInputPlaneStride
Definition: TensorVolumePatch.h:611
Eigen::internal::traits
Definition: ForwardDeclarations.h:17
Eigen::TensorEvaluator< const TensorVolumePatchOp< Planes, Rows, Cols, ArgType >, Device >::m_paddingValue
Scalar m_paddingValue
Definition: TensorVolumePatch.h:619
EIGEN_STATIC_ASSERT
#define EIGEN_STATIC_ASSERT(CONDITION, MSG)
Definition: StaticAssert.h:127
Eigen::TensorEvaluator< const TensorVolumePatchOp< Planes, Rows, Cols, ArgType >, Device >::rowPaddingTop
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Index rowPaddingTop() const
Definition: TensorVolumePatch.h:522
Eigen::TensorEvaluator< const TensorVolumePatchOp< Planes, Rows, Cols, ArgType >, Device >::m_fastOutputPlanesRows
internal::TensorIntDivisor< Index > m_fastOutputPlanesRows
Definition: TensorVolumePatch.h:615
Eigen::DenseIndex
EIGEN_DEFAULT_DENSE_INDEX_TYPE DenseIndex
Definition: Meta.h:66
Eigen::internal::traits< TensorVolumePatchOp< Planes, Rows, Cols, XprType > >::_Nested
remove_reference< Nested >::type _Nested
Definition: TensorVolumePatch.h:34
Eigen::TensorVolumePatchOp::m_padding_bottom_z
const DenseIndex m_padding_bottom_z
Definition: TensorVolumePatch.h:157
Eigen::TensorEvaluator< const TensorVolumePatchOp< Planes, Rows, Cols, ArgType >, Device >::costPerCoeff
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorOpCost costPerCoeff(bool vectorized) const
Definition: TensorVolumePatch.h:509
Eigen::TensorEvaluator< const TensorVolumePatchOp< Planes, Rows, Cols, ArgType >, Device >::m_fastOutputPlanes
internal::TensorIntDivisor< Index > m_fastOutputPlanes
Definition: TensorVolumePatch.h:616
Eigen::TensorEvaluator::coeff
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE CoeffReturnType coeff(Index index) const
Definition: TensorEvaluator.h:94
Eigen::TensorEvaluator< const TensorVolumePatchOp< Planes, Rows, Cols, ArgType >, Device >::outputPlanes
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Index outputPlanes() const
Definition: TensorVolumePatch.h:524
Eigen::TensorVolumePatchOp::patch_cols
EIGEN_DEVICE_FUNC DenseIndex patch_cols() const
Definition: TensorVolumePatch.h:99
Eigen::TensorEvaluator< const TensorVolumePatchOp< Planes, Rows, Cols, ArgType >, Device >::dimensions
EIGEN_DEVICE_FUNC const EIGEN_STRONG_INLINE Dimensions & dimensions() const
Definition: TensorVolumePatch.h:353
Eigen::TensorEvaluator< const TensorVolumePatchOp< Planes, Rows, Cols, ArgType >, Device >::m_outputRows
Index m_outputRows
Definition: TensorVolumePatch.h:563
Eigen::TensorEvaluator< const TensorVolumePatchOp< Planes, Rows, Cols, ArgType >, Device >::userColStride
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Index userColStride() const
Definition: TensorVolumePatch.h:529
Eigen::TensorEvaluator
A cost model used to limit the number of threads used for evaluating tensor expression.
Definition: TensorEvaluator.h:28
Eigen::TensorEvaluator< const TensorVolumePatchOp< Planes, Rows, Cols, ArgType >, Device >::evalSubExprsIfNeeded
EIGEN_STRONG_INLINE bool evalSubExprsIfNeeded(EvaluatorPointerType)
Definition: TensorVolumePatch.h:355
Eigen::TensorEvaluator< const TensorVolumePatchOp< Planes, Rows, Cols, ArgType >, Device >::m_fastColStride
internal::TensorIntDivisor< Index > m_fastColStride
Definition: TensorVolumePatch.h:609
Eigen::TensorEvaluator::Scalar
Derived::Scalar Scalar
Definition: TensorEvaluator.h:31
Eigen::TensorVolumePatchOp::m_xpr
XprType::Nested m_xpr
Definition: TensorVolumePatch.h:142
Eigen::TensorEvaluator< const TensorVolumePatchOp< Planes, Rows, Cols, ArgType >, Device >::packetWithPossibleZero
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE PacketReturnType packetWithPossibleZero(Index index) const
Definition: TensorVolumePatch.h:544
Eigen::TensorEvaluator< const TensorVolumePatchOp< Planes, Rows, Cols, ArgType >, Device >::Storage
StorageMemory< CoeffReturnType, Device > Storage
Definition: TensorVolumePatch.h:180
Eigen::TensorEvaluator< const TensorVolumePatchOp< Planes, Rows, Cols, ArgType >, Device >::m_outputPlanesRows
Index m_outputPlanesRows
Definition: TensorVolumePatch.h:585
internal
Definition: BandTriangularSolver.h:13
NULL
#define NULL
Definition: ccolamd.c:609
Eigen::TensorVolumePatchOp::m_row_strides
const DenseIndex m_row_strides
Definition: TensorVolumePatch.h:147
Eigen::TensorVolumePatchOp::StorageKind
Eigen::internal::traits< TensorVolumePatchOp >::StorageKind StorageKind
Definition: TensorVolumePatch.h:63
Eigen::ColMajor
@ ColMajor
Definition: Constants.h:319
Eigen::TensorEvaluator::IsAligned
@ IsAligned
Definition: TensorEvaluator.h:46
Eigen::TensorEvaluator< const TensorVolumePatchOp< Planes, Rows, Cols, ArgType >, Device >::m_fastPatchStride
internal::TensorIntDivisor< Index > m_fastPatchStride
Definition: TensorVolumePatch.h:608
Eigen::TensorEvaluator< const TensorVolumePatchOp< Planes, Rows, Cols, ArgType >, Device >::m_rowInputStride
Index m_rowInputStride
Definition: TensorVolumePatch.h:603
depth
static double depth
Definition: testSphericalCamera.cpp:64
Eigen::TensorEvaluator< const TensorVolumePatchOp< Planes, Rows, Cols, ArgType >, Device >::m_fastRowStride
internal::TensorIntDivisor< Index > m_fastRowStride
Definition: TensorVolumePatch.h:610
Eigen::internal::eval
Definition: XprHelper.h:332
Eigen::TensorEvaluator::PacketAccess
@ PacketAccess
Definition: TensorEvaluator.h:47
Eigen::TensorEvaluator< const TensorVolumePatchOp< Planes, Rows, Cols, ArgType >, Device >::m_row_strides
Index m_row_strides
Definition: TensorVolumePatch.h:559
Eigen::TensorVolumePatchOp::m_plane_strides
const DenseIndex m_plane_strides
Definition: TensorVolumePatch.h:146
Eigen::TensorVolumePatchOp::Index
Eigen::internal::traits< TensorVolumePatchOp >::Index Index
Definition: TensorVolumePatch.h:64
Eigen::TensorVolumePatchOp
Definition: TensorForwardDeclarations.h:73
Eigen::TensorVolumePatchOp::m_padding_top
const DenseIndex m_padding_top
Definition: TensorVolumePatch.h:158
Eigen::TensorOpCost
Definition: TensorCostModel.h:25
test_callbacks.value
value
Definition: test_callbacks.py:160
Eigen::TensorEvaluator< const TensorVolumePatchOp< Planes, Rows, Cols, ArgType >, Device >::colInflateStride
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Index colInflateStride() const
Definition: TensorVolumePatch.h:535
i
int i
Definition: BiCGSTAB_step_by_step.cpp:9
Eigen::TensorEvaluator< const TensorVolumePatchOp< Planes, Rows, Cols, ArgType >, Device >::m_outputPlanes
Index m_outputPlanes
Definition: TensorVolumePatch.h:562
Eigen::TensorEvaluator< const TensorVolumePatchOp< Planes, Rows, Cols, ArgType >, Device >::m_fastOutputDepth
internal::TensorIntDivisor< Index > m_fastOutputDepth
Definition: TensorVolumePatch.h:617
Eigen::internal::traits< TensorVolumePatchOp< Planes, Rows, Cols, XprType > >::PointerType
XprTraits::PointerType PointerType
Definition: TensorVolumePatch.h:37
Eigen::TensorEvaluator< const TensorVolumePatchOp< Planes, Rows, Cols, ArgType >, Device >::EvaluatorPointerType
Storage::Type EvaluatorPointerType
Definition: TensorVolumePatch.h:181
Eigen::TensorEvaluator< const TensorVolumePatchOp< Planes, Rows, Cols, ArgType >, Device >::outputRows
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Index outputRows() const
Definition: TensorVolumePatch.h:525
Eigen::Index
EIGEN_DEFAULT_DENSE_INDEX_TYPE Index
The Index type as used for the API.
Definition: Meta.h:74
Eigen::TensorEvaluator< const TensorVolumePatchOp< Planes, Rows, Cols, ArgType >, Device >::m_inputPlanes
Index m_inputPlanes
Definition: TensorVolumePatch.h:580
Eigen::TensorEvaluator< const TensorVolumePatchOp< Planes, Rows, Cols, ArgType >, Device >::Index
XprType::Index Index
Definition: TensorVolumePatch.h:172
Eigen::Dense
Definition: Constants.h:507
Cols
static const int Cols
Definition: testCallRecord.cpp:32
Eigen::TensorEvaluator< const TensorVolumePatchOp< Planes, Rows, Cols, ArgType >, Device >::colPaddingLeft
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Index colPaddingLeft() const
Definition: TensorVolumePatch.h:523


gtsam
Author(s):
autogenerated on Thu Dec 19 2024 04:05:55