Home
last modified time | relevance | path

Searched refs:OutType (Results 1 – 25 of 40) sorted by relevance

12

/external/gemmlowp/meta/
Dtransform_kernels.h70 template <typename InType, typename OutType, int kernel_size, int leftovers>
71 class Transform1DKernel<InType, OutType, Quantize, kernel_size, leftovers> {
74 OutType* output) { in Transform()
78 << ", " << std::string(typeid(OutType).name()) << ") -- " in Transform()
88 template <typename InType, typename OutType, int kernel_size, int leftovers>
89 class Transform1DKernel<InType, OutType, Dequantize, kernel_size, leftovers> {
92 OutType* output) { in Transform()
96 << ", " << std::string(typeid(OutType).name()) << ") -- " in Transform()
106 template <typename InType, typename OutType, int kernel_size, int leftovers>
107 class Transform1DKernel<InType, OutType, Requantize, kernel_size, leftovers> {
[all …]
Dquantized_mul_kernels.h35 template <typename InType, typename OutType, int m, int n, int k>
36 class MulKernel<InType, OutType, QuantizedStaticPreprocessed, RowMajor, m, n,
42 const FusedKernel& params, OutType* result) { in Multiply()
46 << typeid(OutType).name() << ")::Multiply() -- " << m << "x" << n in Multiply()
62 << typeid(OutType).name() << ") -- " << m << "x" << n << "x" << k in Debug()
83 template <typename InType, typename OutType, int m, int n, int k>
84 class MulKernel<InType, OutType, QuantizedStaticPreprocessedAsInt32, RowMajor,
91 const FusedKernel& params, OutType* result) { in Multiply()
95 << typeid(OutType).name() << ")::Multiply() -- " << m << "x" << n in Multiply()
111 << typeid(OutType).name() << ") -- " << m << "x" << n << "x" << k in Debug()
[all …]
Dbase.h50 typedef OutType_ OutType; typedef
66 OutType* result;
100 template <typename InType, typename OutType, typename Kernel,
106 OutType* result);
112 typedef OutType_ OutType; typedef
116 OutType* output;
122 template <typename InType, typename OutType, typename Kernel, int kernel_size,
127 OutType* output);
130 template <typename InType, typename OutType, typename Transform>
138 static OutType* OffsetOutput(const Transform& params, OutType* output,
Dsingle_thread_gemm.h49 typedef typename P::OutType OutType; in ExecuteDispatch3D() typedef
65 typedef Stream<typename P::OutType, m, n, 0, typename P::OutputStream> in ExecuteDispatch3D()
67 typedef Stream<typename P::OutType, m_leftovers, n, 0, in ExecuteDispatch3D()
71 typedef MulKernel<typename P::InType, typename P::OutType, in ExecuteDispatch3D()
74 typedef MulKernel<typename P::InType, typename P::OutType, in ExecuteDispatch3D()
78 typedef MulKernel<typename P::InType, typename P::OutType, in ExecuteDispatch3D()
82 typedef MulKernel<typename P::InType, typename P::OutType, in ExecuteDispatch3D()
171 reinterpret_cast<OutType*>(result_chunk)); in ExecuteDispatch3D()
180 reinterpret_cast<OutType*>(result_chunk)); in ExecuteDispatch3D()
203 reinterpret_cast<OutType*>(result_chunk)); in ExecuteDispatch3D()
[all …]
/external/tensorflow/tensorflow/core/kernels/
Dsearchsorted_op_gpu.cu.cc33 template <typename T, typename OutType>
37 OutType* __restrict__ outputs) { in UpperBoundKernel()
41 outputs[work_unit_id] = gpu_helper::upper_bound<T, OutType>( in UpperBoundKernel()
46 template <typename T, typename OutType>
50 OutType* __restrict__ outputs) { in LowerBoundKernel()
54 outputs[work_unit_id] = gpu_helper::lower_bound<T, OutType>( in LowerBoundKernel()
61 template <typename T, typename OutType>
62 struct UpperBoundFunctor<GPUDevice, T, OutType> {
67 typename TTypes<OutType, 1>::Tensor* output) { in Compute()
76 UpperBoundKernel<T, OutType>, config.block_count, in Compute()
[all …]
Dsearchsorted_op.cc33 template <typename T, typename OutType>
34 struct UpperBoundFunctor<CPUDevice, T, OutType> {
39 typename TTypes<OutType, 1>::Tensor* output) { in Compute()
43 OutType* output_ptr = output->data() + b * num_values; in Compute()
56 template <typename T, typename OutType>
57 struct LowerBoundFunctor<CPUDevice, T, OutType> {
62 typename TTypes<OutType, 1>::Tensor* output) { in Compute()
66 OutType* output_ptr = output->data() + b * num_values; in Compute()
80 template <typename Device, typename T, typename OutType>
115 auto output = output_t->template flat<OutType>(); in Compute()
[all …]
Dsearchsorted_op.h28 template <typename Device, typename T, typename OutType>
36 typename TTypes<OutType, 1>::Tensor* output);
39 template <typename Device, typename T, typename OutType>
47 typename TTypes<OutType, 1>::Tensor* output);
Dshape_ops.h41 template <typename OutType>
52 auto vec = out->vec<OutType>(); in Compute()
61 vec(i) = static_cast<OutType>(dim_size); in Compute()
68 template <typename OutType>
80 auto vec = out->vec<OutType>(); in Compute()
90 vec(j) = static_cast<OutType>(dim_size); in Compute()
114 template <typename OutType>
131 out->scalar<OutType>()() = static_cast<OutType>(size); in Compute()
/external/armnn/src/backends/reference/workloads/
DElementwiseFunction.hpp17 using OutType = typename Functor::result_type; typedef
25 Encoder<OutType>& outData);
31 using OutType = typename Functor::result_type; typedef
37 Encoder<OutType>& outData);
43 using OutType = bool; typedef
51 Encoder<OutType>& outData);
57 using OutType = bool; typedef
63 Encoder<OutType>& outData);
DElementwiseFunction.cpp26 Encoder<OutType>& outData) in ElementwiseBinaryFunction()
35 Encoder<OutType>& outData) in ElementwiseUnaryFunction()
46 Encoder<OutType>& outData) in LogicalBinaryFunction()
55 Encoder<OutType>& outData) in LogicalUnaryFunction()
DRefElementwiseWorkload.hpp25 using OutType = typename ElementwiseBinaryFunction<Functor>::OutType; typedef in armnn::RefElementwiseWorkload
35 std::unique_ptr<Encoder<OutType>> m_Output;
DRefElementwiseUnaryWorkload.hpp27 using OutType = float; typedef in armnn::RefElementwiseUnaryWorkload
30 std::unique_ptr<Encoder<OutType>> m_Output;
DRefLogicalUnaryWorkload.hpp27 using OutType = bool; typedef in armnn::RefLogicalUnaryWorkload
30 std::unique_ptr<Encoder<OutType>> m_Output;
DRefComparisonWorkload.hpp27 using OutType = bool; typedef in armnn::RefComparisonWorkload
31 std::unique_ptr<Encoder<OutType>> m_Output;
DRefLogicalBinaryWorkload.hpp27 using OutType = bool; typedef in armnn::RefLogicalBinaryWorkload
31 std::unique_ptr<Encoder<OutType>> m_Output;
DRefLogicalUnaryWorkload.cpp31 m_Output = MakeEncoder<OutType>(outputInfo); in PostAllocationConfigure()
DRefLogicalBinaryWorkload.cpp33 m_Output = MakeEncoder<OutType>(outputInfo); in PostAllocationConfigure()
/external/libaom/libaom/test/
Dtransform_test_base.h40 template <typename OutType>
46 virtual void RunFwdTxfm(const int16_t *in, OutType *out, int stride) = 0;
48 virtual void RunInvTxfm(const OutType *out, uint8_t *dst, int stride) = 0;
58 OutType *test_temp_block = reinterpret_cast<OutType *>( in RunAccuracyCheck()
129 OutType *output_ref_block = reinterpret_cast<OutType *>( in RunCoeffCheck()
131 OutType *output_block = reinterpret_cast<OutType *>( in RunCoeffCheck()
178 OutType *trans_block = reinterpret_cast<OutType *>( in RunInvCoeffCheck()
224 OutType *output_ref_block = reinterpret_cast<OutType *>( in RunMemCheck()
226 OutType *output_block = reinterpret_cast<OutType *>( in RunMemCheck()
266 OutType *coeff = reinterpret_cast<OutType *>( in RunInvAccuracyCheck()
[all …]
/external/angle/src/libANGLE/
Dqueryconversions.h84 template <typename OutType>
85 OutType ConvertGLenum(GLenum param)
87 return static_cast<OutType>(param);
90 template <typename InType, typename OutType>
91 void ConvertGLenumValue(InType param, OutType *out)
93 *out = ConvertGLenum<OutType>(static_cast<GLenum>(param));
96 template <typename PackedEnumType, typename OutType>
97 void ConvertPackedEnum(PackedEnumType param, OutType *out)
99 *out = static_cast<OutType>(ToGLenum(param));
/external/armnn/src/backends/backendsCommon/test/layerTests/
DDequantizeTestImpl.cpp60 typename OutType=armnn::ResolveType<ArmnnOutputType>>
61 LayerTestResult<OutType, 4> DequantizeSimpleTest( in DequantizeSimpleTest()
80 std::vector<OutType> expectedOutputData; in DequantizeSimpleTest()
81 for (OutType i = OutType(1); i <= OutType(12); ++i) in DequantizeSimpleTest()
86 return DequantizeTestImpl<T, 4, OutType>(workloadFactory, in DequantizeSimpleTest()
/external/XNNPACK/bench/
Dutils.h37 template<class InType, class OutType>
48 const size_t elementwise_size = sizeof(InType) + sizeof(OutType); in UnaryElementwiseParameters()
58 template<class InType, class OutType>
69 const size_t elementwise_size = 2 * sizeof(InType) + sizeof(OutType); in BinaryElementwiseParameters()
/external/tensorflow/tensorflow/core/util/
Dgpu_kernel_helper.h329 template <typename T, typename OutType = int32>
330 __device__ OutType upper_bound(const T* first, OutType count, T val) { in upper_bound()
333 OutType step = 0; in upper_bound()
349 template <typename T, typename OutType = int32>
350 __device__ OutType lower_bound(const T* first, OutType count, T val) { in lower_bound()
353 OutType step = 0; in lower_bound()
/external/tensorflow/tensorflow/lite/kernels/
Dshape.cc32 template <typename OutType>
33 void ExtractShape(const TfLiteTensor* input, OutType* output_data) { in ExtractShape()
/external/tensorflow/tensorflow/python/lib/core/
Dbfloat16.cc714 template <typename InType, typename OutType, typename Functor>
717 return {TypeDescriptor<InType>::Dtype(), TypeDescriptor<OutType>::Dtype()}; in Types()
725 *reinterpret_cast<typename TypeDescriptor<OutType>::T*>(o) = Functor()(x); in Call()
732 template <typename InType, typename OutType, typename OutType2,
736 return {TypeDescriptor<InType>::Dtype(), TypeDescriptor<OutType>::Dtype(), in Types()
746 std::tie(*reinterpret_cast<typename TypeDescriptor<OutType>::T*>(o0), in Call()
756 template <typename InType, typename OutType, typename Functor>
760 TypeDescriptor<OutType>::Dtype()}; in Types()
770 *reinterpret_cast<typename TypeDescriptor<OutType>::T*>(o) = in Call()
779 template <typename InType, typename InType2, typename OutType, typename Functor>
[all …]
/external/tensorflow/tensorflow/core/kernels/risc/experimental/
Drisc_shape_op.cc24 template <typename OutType>

12