Home
last modified time | relevance | path

Searched refs:TOutput (Results 1 – 22 of 22) sorted by relevance

/external/ComputeLibrary/src/core/NEON/kernels/arm_conv/pooling/
Dpooling_depthfirst_generic.hpp37 template <typename TInput, typename TOutput, typename OutputStage = Nothing>
40 template <typename TInput, typename TOutput>
41 class IGenericDepthfirstStrategy<TInput, TOutput, Nothing>
51 TOutput *
57 template <typename TInput, typename TOutput>
58 class IGenericDepthfirstStrategy<TInput, TOutput, Requantize32>
68 TOutput *,
75 template <typename TInput, typename TOutput, typename OutputStage>
78 template <typename TInput, typename TOutput>
79 struct Invoker<TInput, TOutput, Nothing>
[all …]
Dpooling_implementation.hpp35 template <typename TInput, typename TOutput, class OutputStage = Nothing>
42 …std::function<PoolingCommon<TInput, TOutput> *(const PoolingArgs &, const OutputStage &)> initiali…
54 PoolingCommon<TInput, TOutput> *get_instance(const PoolingArgs &args, const OutputStage &os) const in get_instance()
60 template <typename TInput, typename TOutput, class OutputStage = Nothing>
61 const PoolingImplementation<TInput, TOutput, OutputStage> *pooling_implementation_list();
63 template <typename TInput, typename TOutput, class OutputStage = Nothing>
67 const PoolingImplementation<TInput, TOutput, OutputStage> * &selected in find_implementation() argument
71 const auto *impl = pooling_implementation_list<TInput, TOutput, OutputStage>(); in find_implementation()
94 template <typename TInput, typename TOutput, class OutputStage>
95 UniquePoolingCommon<TInput, TOutput> pooling(const PoolingArgs &args, const OutputStage &os) in pooling()
[all …]
Dpooling_depthfirst.hpp38 template <typename TInput, typename TOutput>
61 TOutput *const *,
79 template <typename TInput, typename TOutput=TInput, class OutputStage=Nothing>
80 class PoolingDepthfirst : public DepthfirstDriver<TInput, TOutput>
89 return sizeof(TOutput) * this->m_args.n_channels; in sizeof_output_buffer()
96 return sizeof(WorkingSpace) + n_channels * (sizeof(TInput) + sizeof(TOutput)); in get_working_size_per_thread()
133 const TensorSpec<TOutput *> &output, in compute_tile_padded()
137 const auto kern = reinterpret_cast<const DepthfirstStrategy<TInput, TOutput> *>( in compute_tile_padded()
144 auto outptr_array = reinterpret_cast<TOutput **>(alloca( in compute_tile_padded()
145 sizeof(TOutput *) * this->m_strat->get_output_rows() * this->m_strat->get_output_cols())); in compute_tile_padded()
[all …]
Ddepthfirst_driver.hpp57 template <typename TInput, typename TOutput>
58 class DepthfirstDriver : public PoolingCommon<TInput, TOutput>
61 using Parent = PoolingCommon<TInput, TOutput>;
77 const TensorSpec<TOutput *> &output,
90 const TensorSpec<TOutput *> &output, in compute_row_padded_tile_row()
113 const TensorSpec<TOutput *> &output, in compute_tiles_unpadded()
156 …TensorSpec<TOutput *> output_tensor(reinterpret_cast<TOutput *>(output), ld_output_row, ld_output_… in execute_internal()
Dpooling_depthfirst_cache_oblivious.hpp38 using TOutput = typename strategy::return_type; typedef in arm_conv::pooling::PoolingDepthfirstCacheOblivious
59 return sizeof(TOutput) * m_args.n_channels; in sizeof_output_buffer()
147 TOutput *const outptr = static_cast<TOutput *>(_output); in execute()
151 TOutput *const output_buffer = reinterpret_cast<TOutput *>(working_space); in execute()
181 TOutput * _outptr_array[strategy::out_rows() * strategy::out_cols()]; in execute()
182 TOutput **const outptr_array = _outptr_array; in execute()
Dpooling_depthfirst_generic_quantized.hpp37 using TOutput = typename strategy::return_type; typedef in arm_conv::pooling::PoolingDepthfirstGenericQuantized
171 TOutput *const outptr = static_cast<TOutput *>(_output) + start_channel; in execute()
242 TOutput *outptr = outptr_batch + out_i * ld_output_row + out_j * ld_output_col; in execute()
/external/ComputeLibrary/src/core/NEON/kernels/arm_conv/depthwise/
Ddepthwise_implementation.hpp37 template <typename TInput, typename TWeight = TInput, typename TOutput = TInput, class OutputStage …
44 …std::function<DepthwiseCommon<TInput, TWeight, TOutput> *(const DepthwiseArgs &, const OutputStage…
56 …DepthwiseCommon<TInput, TWeight, TOutput> *get_instance(const DepthwiseArgs &args, const OutputSta… in get_instance()
62 template <typename TInput, typename TWeight = TInput, typename TOutput = TInput, class OutputStage …
63 const DepthwiseImplementation<TInput, TWeight, TOutput, OutputStage> *depthwise_implementation_list…
65 template <typename TInput, typename TWeight = TInput, typename TOutput = TInput, class OutputStage …
69 const DepthwiseImplementation<TInput, TWeight, TOutput, OutputStage> * &selected in find_implementation() argument
75 const auto *impl = depthwise_implementation_list<TInput, TWeight, TOutput, OutputStage>(); in find_implementation()
108 template <typename TInput, typename TWeight, typename TOutput, class OutputStage>
114 const DepthwiseImplementation<TInput, TWeight, TOutput, OutputStage> *default_impl; in get_compatible_kernels()
[all …]
Ddepthwise_depthfirst_multiplier.hpp39 template <typename TInput, typename TWeight, typename TOutput, typename TAccum>
40 …plierStrategy : public DepthwiseDepthfirstStrategyCommon<TInput, TWeight, TOutput, TAccum, Nothing>
42 using Parent = DepthwiseDepthfirstStrategyCommon<TInput, TWeight, TOutput, TAccum, Nothing>;
83 TOutput *const *, // Output pointers
92 template <typename TInput, typename TWeight, typename TOutput>
93 …ltiplierStrategy<TInput, TWeight, TOutput, int32_t> : public DepthwiseDepthfirstStrategyCommon<TIn…
95 …using Parent = DepthwiseDepthfirstStrategyCommon<TInput, TWeight, TOutput, int32_t, arm_gemm::Requ…
116 TOutput *const *, // Output pointers
125 template <typename TInput, typename TWeight, typename TOutput, typename TAccum>
145 TOutput *const *, // Output pointers
[all …]
Ddepthwise_depthfirst.hpp40 template <typename TInput, typename TWeight, typename TOutput, typename TAccum,
43 : public DepthfirstStrategy<TInput, TWeight, TOutput, TAccum, OutputStage>
78 …TInput, typename TWeight, typename TOutput, typename TAccum, typename OutputStage=typename Default…
79 …irstStrategy : public DepthwiseDepthfirstStrategyCommon<TInput, TWeight, TOutput, TAccum, OutputSt…
81 using Parent = DepthwiseDepthfirstStrategyCommon<TInput, TWeight, TOutput, TAccum, OutputStage>;
88 TOutput *const *output_ptrs,
99 TOutput *outptr_base, int64_t ld_output_row, int64_t ld_output_col,
107 template <typename TInput, typename TWeight, typename TOutput>
108 class DepthwiseDepthfirstStrategy<TInput, TWeight, TOutput, int32_t>
109 : public DepthwiseDepthfirstStrategyCommon<TInput, TWeight, TOutput, int32_t, arm_gemm::Requantize3…
[all …]
Ddepthwise_depthfirst_generic.hpp32 template <typename TInput, typename TOutput, typename TAccum>
35 …using KernelType = std::function<void(const TInput *const *const, TOutput *const *const, const voi…
38 template <typename TInput, typename TOutput>
39 struct GenericDepthfirstKernelStrategyFunctionType<TInput, TOutput, int32_t>
41 …using KernelType = std::function<void(const TInput *const *const, TOutput *const *const, const voi…
44 template <typename TInput, typename TWeight, typename TOutput, typename TAccum>
63 …using KernelType = typename GenericDepthfirstKernelStrategyFunctionType<TInput, TOutput, TAccum>::…
69 typename TOutput=TInput,
71 typename OutputStage=typename DefaultOutputStage<TOutput>::Type>
72 class GenericDepthfirstStrategy : public DepthwiseDepthfirstStrategyCommon<TInput, TWeight, TOutput
[all …]
Ddepthwise_planar.hpp48 template <typename TInput, typename TWeight, typename TOutput, typename TAccum,
52 template <typename TInput, typename TWeight, typename TOutput, typename TAccum>
53 struct PlanarKernelType<TInput, TWeight, TOutput, TAccum, Nothing>
60 TOutput **, const size_t *, const size_t *, unsigned int output_cols,
72 TOutput **outptrs, const size_t *outlds, const size_t *outvllds, unsigned int output_cols, in execute()
89 template <typename TInput, typename TWeight, typename TOutput>
90 struct PlanarKernelType<TInput, TWeight, TOutput, int32_t, arm_gemm::Requantize32>
97 TOutput **, const size_t *, const size_t *, unsigned int output_cols,
109 TOutput **outptrs, const size_t *outlds, const size_t *outldvls, unsigned int output_cols, in execute()
127 template <typename TInput, typename TWeight=TInput, typename TOutput=TInput,
[all …]
Ddepthfirst_driver.hpp65 template <typename TInput, typename TWeight, typename TOutput>
66 class DepthfirstDriver : public DepthwiseCommon<TInput, TWeight, TOutput>
69 using Parent = DepthwiseCommon<TInput, TWeight, TOutput>;
85 const TensorSpec<TOutput *> &output,
99 const TensorSpec<TOutput *> &output, in compute_row_padded_tile_row()
123 const TensorSpec<TOutput *> &output, in compute_tiles_unpadded()
173 …TensorSpec<TOutput *> output_tensor(reinterpret_cast<TOutput *>(output), ld_output_row, ld_output_… in execute_internal()
Ddepthwise_strategies_common.hpp60 template <typename TInput, typename TWeight, typename TOutput, typename TAccum, typename OutputStag…
/external/protobuf/csharp/src/Google.Protobuf/Reflection/
DDescriptorUtil.cs47 internal delegate TOutput IndexedConverter<TInput, TOutput>(TInput element, int index); in IndexedConverter()
53 internal static IList<TOutput> ConvertAndMakeReadOnly<TInput, TOutput> in ConvertAndMakeReadOnly()
54 (IList<TInput> input, IndexedConverter<TInput, TOutput> converter) in ConvertAndMakeReadOnly()
56 TOutput[] array = new TOutput[input.Count]; in ConvertAndMakeReadOnly()
61 return new ReadOnlyCollection<TOutput>(array); in ConvertAndMakeReadOnly()
/external/cronet/third_party/protobuf/csharp/src/Google.Protobuf/Reflection/
DDescriptorUtil.cs47 internal delegate TOutput IndexedConverter<TInput, TOutput>(TInput element, int index); in IndexedConverter()
53 internal static IList<TOutput> ConvertAndMakeReadOnly<TInput, TOutput> in ConvertAndMakeReadOnly()
54 (IList<TInput> input, IndexedConverter<TInput, TOutput> converter) in ConvertAndMakeReadOnly()
56 TOutput[] array = new TOutput[input.Count]; in ConvertAndMakeReadOnly()
61 return new ReadOnlyCollection<TOutput>(array); in ConvertAndMakeReadOnly()
/external/armnn/src/backends/backendsCommon/test/layerTests/
DElementwiseTestImpl.hpp39 typename TOutput = armnn::ResolveType<ArmnnTypeOutput>>
40 LayerTestResult<TOutput, NumDims> ElementwiseTestHelper( in ElementwiseTestHelper()
52 std::vector<TOutput> outValues, in ElementwiseTestHelper()
69 std::vector<TOutput> actualOutput(outputTensorInfo.GetNumElements()); in ElementwiseTestHelper()
100 return LayerTestResult<TOutput, NumDims>(actualOutput, in ElementwiseTestHelper()
150 typename TOutput = armnn::ResolveType<ArmnnTypeOutput>>
151 LayerTestResult<TOutput, NumDims> ElementwiseTestHelper( in ElementwiseTestHelper()
159 std::vector<TOutput> outValues, in ElementwiseTestHelper()
DCastTestImpl.cpp10 …e<armnn::DataType inputDataType, armnn::DataType outputDataType, typename TInput, typename TOutput>
11 LayerTestResult<TOutput, 4> CastTest(armnn::IWorkloadFactory& workloadFactory, in CastTest()
15 const std::vector<TOutput>& outputValues) in CastTest()
28 if(armnn::IsQuantizedType<TOutput>()) in CastTest()
34 std::vector<TOutput> actualOutput(outputTensorInfo.GetNumElements()); in CastTest()
55 return LayerTestResult<TOutput, 4>(actualOutput, in CastTest()
DCastTestImpl.hpp18 typename TOutput=armnn::ResolveType<outputDataType>>
19 LayerTestResult<TOutput, 4> CastTest(armnn::IWorkloadFactory& workloadFactory,
23 const std::vector<TOutput>& outputTensor);
/external/ComputeLibrary/src/core/NEON/kernels/assembly/
Ddepthwise.hpp80 template <typename TInput, typename TWeight, typename TOutput>
201 template <typename TInput, typename TWeight = TInput, typename TOutput = TInput>
202 using UniqueDepthwiseCommon = std::unique_ptr<DepthwiseCommon<TInput, TWeight, TOutput>>;
204 template <typename TInput, typename TWeight = TInput, typename TOutput = TInput, class OutputStage …
207 template <typename TInput, typename TWeight = TInput, typename TOutput = TInput, class OutputStage …
208 UniqueDepthwiseCommon<TInput, TWeight, TOutput> depthwise(const DepthwiseArgs &, const OutputStage …
210 template <typename TInput, typename TWeight = TInput, typename TOutput = TInput, class OutputStage …
Dpooling.hpp111 template <typename TInput, typename TOutput>
223 template <typename TInput, typename TOutput>
224 using UniquePoolingCommon = std::unique_ptr<PoolingCommon<TInput, TOutput>>;
227 template <typename TInput, typename TOutput = TInput, class OutputStage = Nothing>
228 UniquePoolingCommon<TInput, TOutput> pooling(const PoolingArgs &, const OutputStage & = {});
/external/armnn/src/backends/backendsCommon/test/
DStridedSliceAsyncEndToEndTest.hpp29 typename TInput = ResolveType <ArmnnIType>, typename TOutput = ResolveType <ArmnnOType>>
32 … const std::vector<std::map<int, std::vector<TOutput>>>& expectedOutputData, in AsyncThreadedEndToEndTestImpl()
52 std::vector<std::map<int, std::vector<TOutput>>> outputStorageVec; in AsyncThreadedEndToEndTestImpl()
59 outputStorageVec.emplace_back(std::map<int, std::vector<TOutput>>()); in AsyncThreadedEndToEndTestImpl()
73 std::vector<TOutput> out(it.second.size()); in AsyncThreadedEndToEndTestImpl()
111 std::vector<TOutput> out = outputStorageVec[i].at(it.first); in AsyncThreadedEndToEndTestImpl()
122 typename TInput = ResolveType<ArmnnIType>, typename TOutput = ResolveType<ArmnnOType>>
125 const std::map<int, std::vector<TOutput>>& expectedOutputData, in AsyncEndToEndTestImpl()
160 std::vector<std::map<int, std::vector<TOutput>>> outputStorageVec; in AsyncEndToEndTestImpl()
167 outputStorageVec.emplace_back(std::map<int, std::vector<TOutput>>()); in AsyncEndToEndTestImpl()
[all …]
DEndToEndTestImpl.hpp132 typename TInput = ResolveType<ArmnnIType>, typename TOutput = ResolveType<ArmnnOType>>
135 const std::map<int, std::vector<TOutput>>& expectedOutputData, in EndToEndLayerTestImpl()
161 std::map<int, std::vector<TOutput>> outputStorage; in EndToEndLayerTestImpl()
164 std::vector<TOutput> out(it.second.size()); in EndToEndLayerTestImpl()
177 std::vector<TOutput> out = outputStorage.at(it.first); in EndToEndLayerTestImpl()