Home
last modified time | relevance | path

Searched refs:NCHWToNHWC (Results 1 – 25 of 26) sorted by relevance

12

/external/tensorflow/tensorflow/core/kernels/
Dconv_2d_gpu_double.cu.cc37 template struct NCHWToNHWC<Eigen::GpuDevice, double, 4>; variable
44 template struct NCHWToNHWC<Eigen::GpuDevice, double, 5>; variable
Dconv_2d_gpu_float.cu.cc46 template struct NCHWToNHWC<Eigen::GpuDevice, float, 4>; variable
53 template struct NCHWToNHWC<Eigen::GpuDevice, float, 5>; variable
Dconv_2d_gpu_half.cu.cc38 template struct NCHWToNHWC<Eigen::GpuDevice, Eigen::half, 4>; variable
45 template struct NCHWToNHWC<Eigen::GpuDevice, Eigen::half, 5>; variable
Dcudnn_pooling_gpu.cc120 functor::NCHWToNHWC<GPUDevice, T, 5>()( in Compute()
259 functor::NCHWToNHWC<GPUDevice, T, 5>()( in Compute()
Dconv_ops_3d.cc527 functor::NCHWToNHWC<GPUDevice, T, 5>()( in launch()
562 void NCHWToNHWC<GPUDevice, T, 5>::operator()( \
Dpooling_ops_common.cc413 functor::NCHWToNHWC<GPUDevice, RT, 4>()( in Compute()
753 functor::NCHWToNHWC<GPUDevice, T, 4>()( in Compute()
Dlrn_op.cc289 functor::NCHWToNHWC<GPUDevice, T, 4>()( in launch()
619 functor::NCHWToNHWC<GPUDevice, T, 4>()( in launch()
Dconv_grad_input_ops.cc430 functor::NCHWToNHWC<GPUDevice, T, 4>()( in operator ()()
Dconv_2d.h460 struct NCHWToNHWC {
Dconv_ops_fused_impl.h676 functor::NCHWToNHWC<GPUDevice, T, 4>()(
Dfused_batch_norm_op.cc985 functor::NCHWToNHWC<GPUDevice, T, 4>()( in operator ()()
1167 functor::NCHWToNHWC<GPUDevice, T, 4>()( in operator ()()
Dconv_2d_gpu.h1127 struct NCHWToNHWC<GPUDevice, T, NDIMS> {
Dconv_ops.cc1153 functor::NCHWToNHWC<GPUDevice, T, 4>()( in operator ()()
Dconv_grad_ops_3d.cc1566 functor::NCHWToNHWC<GPUDevice, T, 5>()( in Compute()
/external/tensorflow/tensorflow/compiler/tests/
Dpooling_ops_test.py43 def NCHWToNHWC(input_tensor): function
102 t = NCHWToNHWC(t)
401 actual_input_gradients = NCHWToNHWC(actual_input_gradients)
412 actual_grad_gradients = NCHWToNHWC(actual_grad_gradients)
/external/tensorflow/tensorflow/python/kernel_tests/nn_ops/
Dconv_ops_3d_test.py93 conv = test_util.NCHWToNHWC(conv)
162 expected = test_util.NCHWToNHWC(expected)
163 computed = test_util.NCHWToNHWC(computed)
541 conv = test_util.NCHWToNHWC(conv)
831 actual = test_util.NCHWToNHWC(actual)
832 expected = test_util.NCHWToNHWC(expected)
Dconv_ops_test.py225 conv = test_util.NCHWToNHWC(conv)
255 conv = test_util.NCHWToNHWC(conv)
299 expected = test_util.NCHWToNHWC(expected)
300 computed = test_util.NCHWToNHWC(computed)
953 conv = test_util.NCHWToNHWC(conv)
987 conv = test_util.NCHWToNHWC(conv)
1348 conv_forward = test_util.NCHWToNHWC(conv_forward)
1349 conv_forward_2 = test_util.NCHWToNHWC(conv_forward_2)
1394 conv_forward = test_util.NCHWToNHWC(conv_forward)
1395 conv_forward_2 = test_util.NCHWToNHWC(conv_forward_2)
[all …]
Dpooling_ops_3d_test.py86 t = test_util.NCHWToNHWC(t)
Dpooling_ops_test.py270 t = test_util.NCHWToNHWC(t)
1216 t = test_util.NCHWToNHWC(t)
/external/armnn/src/backends/backendsCommon/test/layerTests/
DSpaceToBatchNdTestImpl.cpp36 const armnn::PermutationVector NCHWToNHWC = {0, 3, 1, 2}; in SpaceToBatchNdTestImpl() local
39 inputTensorInfo = armnnUtils::Permuted(inputTensorInfo, NCHWToNHWC); in SpaceToBatchNdTestImpl()
40 outputTensorInfo = armnnUtils::Permuted(outputTensorInfo, NCHWToNHWC); in SpaceToBatchNdTestImpl()
43 armnnUtils::Permute(inputTensorInfo.GetShape(), NCHWToNHWC, in SpaceToBatchNdTestImpl()
48 armnnUtils::Permute(outputTensorInfo.GetShape(), NCHWToNHWC, in SpaceToBatchNdTestImpl()
DL2NormalizationTestImpl.cpp44 const armnn::PermutationVector NCHWToNHWC = { 0, 3, 1, 2 }; in L2NormalizationTestImpl() local
49 …armnnUtils::Permute(inputTensorInfo.GetShape(), NCHWToNHWC, inputData.data(), tmp.data(), sizeof(f… in L2NormalizationTestImpl()
62 …armnnUtils::Permute(inputTensorInfo.GetShape(), NCHWToNHWC, expectedOutputValues.data(), tmp.data(… in L2NormalizationTestImpl()
DPooling2dTestImpl.cpp308 const armnn::PermutationVector NCHWToNHWC = { 0, 3, 1, 2 }; in SimpleMaxPooling2dTestCommon() local
312 …armnnUtils::Permute(inputTensorInfo.GetShape(), NCHWToNHWC, inputData.data(), tmp.data(), sizeof(T… in SimpleMaxPooling2dTestCommon()
316 …armnnUtils::Permute(outputTensorInfo.GetShape(), NCHWToNHWC, outputData.data(), tmp1.data(), sizeo… in SimpleMaxPooling2dTestCommon()
377 const armnn::PermutationVector NCHWToNHWC = { 0, 3, 1, 2 }; in SimpleAveragePooling2dTestCommon() local
381 …armnnUtils::Permute(inputTensorInfo.GetShape(), NCHWToNHWC, inputData.data(), tmp.data(), sizeof(T… in SimpleAveragePooling2dTestCommon()
385 …armnnUtils::Permute(outputTensorInfo.GetShape(), NCHWToNHWC, outputData.data(), tmp1.data(), sizeo… in SimpleAveragePooling2dTestCommon()
486 const armnn::PermutationVector NCHWToNHWC = { 0, 3, 1, 2 }; in SimpleL2Pooling2dTestCommon() local
490 …armnnUtils::Permute(inputTensorInfo.GetShape(), NCHWToNHWC, inputData.data(), tmp.data(), sizeof(T… in SimpleL2Pooling2dTestCommon()
494 …armnnUtils::Permute(outputTensorInfo.GetShape(), NCHWToNHWC, outputData.data(), tmp1.data(), sizeo… in SimpleL2Pooling2dTestCommon()
DConv2dTestImpl.cpp272 const armnn::PermutationVector NCHWToNHWC = { 0, 3, 1, 2 }; in SimpleConvolution2dTestImpl() local
276 …armnnUtils::Permute(inputTensorInfo.GetShape(), NCHWToNHWC, inputData.data(), tmp.data(), sizeof(T… in SimpleConvolution2dTestImpl()
306 …armnnUtils::Permute(outputTensorInfo.GetShape(), NCHWToNHWC, expectedOutput.data(), tmp.data(), si… in SimpleConvolution2dTestImpl()
321 …armnnUtils::Permute(kernelDesc.GetShape(), NCHWToNHWC, originalKernel.data(), kernel.data(), sizeo… in SimpleConvolution2dTestImpl()
1753 const armnn::PermutationVector NCHWToNHWC = { 0, 3, 1, 2 }; in DepthwiseConvolution2dAsymmetricTestImpl() local
1757 …armnnUtils::Permute(inputTensorInfo.GetShape(), NCHWToNHWC, inputData.data(), tmp.data(), sizeof(T… in DepthwiseConvolution2dAsymmetricTestImpl()
1793 …armnnUtils::Permute(outputTensorInfo.GetShape(), NCHWToNHWC, outputData.data(), tmp.data(), sizeof… in DepthwiseConvolution2dAsymmetricTestImpl()
1907 const armnn::PermutationVector NCHWToNHWC = { 0, 3, 1, 2 }; in DepthwiseConvolution2dDepthMul1TestImpl() local
1911 …armnnUtils::Permute(inputTensorInfo.GetShape(), NCHWToNHWC, inputData.data(), tmp.data(), sizeof(T… in DepthwiseConvolution2dDepthMul1TestImpl()
1962 …armnnUtils::Permute(outputTensorInfo.GetShape(), NCHWToNHWC, outputImage.data(), tmp.data(), sizeo… in DepthwiseConvolution2dDepthMul1TestImpl()
[all …]
/external/tensorflow/tensorflow/python/kernel_tests/array_ops/
Ddepthtospace_op_test.py48 output_nhwc = test_util.NCHWToNHWC(output_nchw)
63 output_nhwc = test_util.NCHWToNHWC(output_nchw)
Dspacetodepth_op_test.py46 output_nhwc = test_util.NCHWToNHWC(output_nchw)

12