diff options
author | Eugene Zhulenev <ezhulenev@google.com> | 2018-08-01 15:55:46 -0700 |
---|---|---|
committer | Eugene Zhulenev <ezhulenev@google.com> | 2018-08-01 15:55:46 -0700 |
commit | 1b0373ae10687ecc51ad9a0bfd46aa4ee116ade1 (patch) | |
tree | 39740a2ffa119168815bd7e59fde5b2d7e9aac2d /unsupported/Eigen/CXX11/src/Tensor/TensorImagePatch.h | |
parent | 64abdf1d7eb17174f571751346dd0cbadcf3bc52 (diff) |
Replace all using declarations with typedefs in Tensor ops
Diffstat (limited to 'unsupported/Eigen/CXX11/src/Tensor/TensorImagePatch.h')
-rw-r--r-- | unsupported/Eigen/CXX11/src/Tensor/TensorImagePatch.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorImagePatch.h b/unsupported/Eigen/CXX11/src/Tensor/TensorImagePatch.h index a8247be90..2b2f4a650 100644 --- a/unsupported/Eigen/CXX11/src/Tensor/TensorImagePatch.h +++ b/unsupported/Eigen/CXX11/src/Tensor/TensorImagePatch.h @@ -252,7 +252,8 @@ struct TensorEvaluator<const TensorImagePatchOp<Rows, Cols, ArgType>, Device> RawAccess = false }; - using OutputTensorBlock = internal::TensorBlock<Scalar, Index, NumDims, Layout>; + typedef internal::TensorBlock<Scalar, Index, NumDims, Layout> + OutputTensorBlock; #ifdef __SYCL_DEVICE_ONLY__ EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorEvaluator( const XprType op, const Device& device) @@ -557,8 +558,8 @@ struct TensorEvaluator<const TensorImagePatchOp<Rows, Cols, ArgType>, Device> EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE void block( OutputTensorBlock* output_block) const { - using ImagePatchCopyOp = internal::ImagePatchCopyOp<Self, PacketAccess>; - using ImagePatchPaddingOp = internal::ImagePatchPaddingOp<Self>; + typedef internal::ImagePatchCopyOp<Self, PacketAccess> ImagePatchCopyOp; + typedef internal::ImagePatchPaddingOp<Self> ImagePatchPaddingOp; // Calculate loop limits and various input/output dim sizes. const DSizes<Index, NumDims>& block_sizes = output_block->block_sizes(); |