Home
last modified time | relevance | path

Searched refs:Reducer (Results 1 – 25 of 47) sorted by relevance

12

/external/deqp-deps/SPIRV-Tools/source/reduce/
Dreducer.h30 class Reducer {
58 explicit Reducer(spv_target_env env);
61 Reducer(const Reducer&) = delete;
62 Reducer(Reducer&&) = delete;
63 Reducer& operator=(const Reducer&) = delete;
64 Reducer& operator=(Reducer&&) = delete;
67 ~Reducer();
Dreducer.cpp26 struct Reducer::Impl {
38 Reducer::Reducer(spv_target_env env) : impl_(MakeUnique<Impl>(env)) {} in Reducer() function in spvtools::reduce::Reducer
40 Reducer::~Reducer() = default;
42 void Reducer::SetMessageConsumer(MessageConsumer c) { in SetMessageConsumer()
49 void Reducer::SetInterestingnessFunction( in SetInterestingnessFunction()
50 Reducer::InterestingnessFunction interestingness_function) { in SetInterestingnessFunction()
54 Reducer::ReductionResultStatus Reducer::Run( in Run()
67 return Reducer::ReductionResultStatus::kInitialStateNotInteresting; in Run()
137 return Reducer::ReductionResultStatus::kReachedStepLimit; in Run()
140 return Reducer::ReductionResultStatus::kComplete; in Run()
[all …]
/external/swiftshader/third_party/SPIRV-Tools/source/reduce/
Dreducer.h30 class Reducer {
58 explicit Reducer(spv_target_env env);
61 Reducer(const Reducer&) = delete;
62 Reducer(Reducer&&) = delete;
63 Reducer& operator=(const Reducer&) = delete;
64 Reducer& operator=(Reducer&&) = delete;
67 ~Reducer();
Dreducer.cpp26 struct Reducer::Impl {
38 Reducer::Reducer(spv_target_env env) : impl_(MakeUnique<Impl>(env)) {} in Reducer() function in spvtools::reduce::Reducer
40 Reducer::~Reducer() = default;
42 void Reducer::SetMessageConsumer(MessageConsumer c) { in SetMessageConsumer()
49 void Reducer::SetInterestingnessFunction( in SetInterestingnessFunction()
50 Reducer::InterestingnessFunction interestingness_function) { in SetInterestingnessFunction()
54 Reducer::ReductionResultStatus Reducer::Run( in Run()
67 return Reducer::ReductionResultStatus::kInitialStateNotInteresting; in Run()
137 return Reducer::ReductionResultStatus::kReachedStepLimit; in Run()
140 return Reducer::ReductionResultStatus::kComplete; in Run()
[all …]
/external/tensorflow/tensorflow/compiler/xla/tests/
Dreduce_window_test.cc561 enum Reducer { kAdd, kMax }; enum
571 Reducer reducer;
940 Reducer reducer;
944 /*padding=*/Padding::kValid, /*reducer=*/Reducer::kAdd},
947 /*padding=*/Padding::kSame, /*reducer=*/Reducer::kAdd},
950 /*padding=*/Padding::kValid, /*reducer=*/Reducer::kAdd},
953 /*padding=*/Padding::kValid, /*reducer=*/Reducer::kAdd},
956 /*padding=*/Padding::kSame, /*reducer=*/Reducer::kAdd},
959 /*padding=*/Padding::kValid, /*reducer=*/Reducer::kAdd},
962 /*padding=*/Padding::kValid, /*reducer=*/Reducer::kAdd},
[all …]
/external/tensorflow/tensorflow/core/kernels/
Dreduction_ops.h43 typename ReductionAxes, typename Reducer>
46 const ReductionAxes& reduction_axes, const Reducer& reducer) { in operator()
99 template <typename Reducer>
101 static auto identity(const Reducer& reducer)
124 template <typename Device, typename OUT_T, typename Reducer>
125 void FillIdentityEigenImpl(const Device& d, OUT_T out, const Reducer& reducer) {
126 out.device(d) = out.constant(Identity<Reducer>::identity(reducer));
129 template <typename Device, typename Reducer>
134 const Reducer& reducer);
137 static void FillIdentity(const Device& d, OUT_T out, const Reducer& reducer);
Dreduction_ops_common.h137 template <typename Device, class T, typename Tperm, typename Reducer>
182 typedef functor::ReduceFunctor<Device, Reducer> Functor;
185 Reducer reducer;
252 template <typename Device, typename Reducer>
257 const Reducer& reducer) {
259 ReduceEigenImpl<Device, OUT_T, IN_T, ReductionAxes, Reducer> reducer_impl;
264 static void FillIdentity(const Device& d, OUT_T out, const Reducer& reducer) {
269 template <typename Reducer>
270 struct ReduceFunctor<CPUDevice, Reducer>
271 : ReduceFunctorBase<CPUDevice, Reducer> {};
[all …]
Dscan_ops.h27 template <typename Device, typename Reducer, typename T>
30 typename TTypes<T, 3>::Tensor out, const Reducer& reducer, in operator()
Dscan_ops.cc38 template <typename Device, class T, typename Reducer, typename Tidx>
70 Reducer reducer; in Compute()
82 functor::Scan<Device, Reducer, T>()(d, input.shaped<T, 3>(reduced_shape), in Compute()
/external/eigen/unsupported/Eigen/CXX11/src/util/
DCXX11Meta.h259 typename Reducer,
264 typename Reducer
265 > struct reduce<Reducer>
267 constexpr static inline int run() { return Reducer::Identity; }
271 typename Reducer,
273 > struct reduce<Reducer, A>
279 typename Reducer,
282 > struct reduce<Reducer, A, Ts...>
284 …constexpr static inline auto run(A a, Ts... ts) -> decltype(Reducer::run(a, reduce<Reducer, Ts...>…
285 return Reducer::run(a, reduce<Reducer, Ts...>::run(ts...));
[all …]
DEmulateCXX11Meta.h257 template<typename Reducer, typename Op, typename A, std::size_t N>
261 bool result = Reducer::run(Op::run(a[0]), Op::run(a[1]));
263 result = Reducer::run(result, Op::run(a[i]));
269 template<typename Reducer, typename Op, typename A>
270 struct ArrayApplyAndReduce<Reducer, Op, A, 1> {
276 template<typename Reducer, typename Op, typename A, std::size_t N>
278 return ArrayApplyAndReduce<Reducer, Op, A, N>::run(a);
281 template<typename Reducer, typename Op, typename A, typename B, std::size_t N>
285 bool result = Reducer::run(Op::run(a[0], b[0]), Op::run(a[1], b[1]));
287 result = Reducer::run(result, Op::run(a[i], b[i]));
[all …]
/external/v8/src/compiler/
Dgraph-reducer.h47 class V8_EXPORT_PRIVATE Reducer {
49 virtual ~Reducer() {} in ~Reducer()
71 class AdvancedReducer : public Reducer {
93 static Reduction Replace(Node* node) { return Reducer::Replace(node); } in Replace()
137 void AddReducer(Reducer* reducer); in NON_EXPORTED_BASE()
181 ZoneVector<Reducer*> reducers_; in NON_EXPORTED_BASE()
Dgraph-reducer.cc26 void Reducer::Finalize() {} in Finalize()
43 void GraphReducer::AddReducer(Reducer* reducer) { in AddReducer()
67 for (Reducer* const reducer : reducers_) reducer->Finalize(); in ReduceNode()
113 return Reducer::NoChange(); in Reduce()
116 return Reducer::Changed(node); in Reduce()
/external/tensorflow/tensorflow/python/data/experimental/kernel_tests/
Dgroup_by_reducer_test.py40 reducer = grouping.Reducer(
58 reducer = grouping.Reducer(
73 reducer = grouping.Reducer(
94 reducer = grouping.Reducer(
115 reducer = grouping.Reducer(
134 reducer = grouping.Reducer(
148 reducer = grouping.Reducer(
161 reducer = grouping.Reducer(
184 reducer = grouping.Reducer(init_fn, reduce_fn, finalize_fn)
/external/tensorflow/tensorflow/contrib/data/python/ops/
Dgrouping.py146 class Reducer(grouping.Reducer): class
157 super(Reducer, self).__init__(init_func, reduce_func, finalize_func)
/external/eigen/unsupported/Eigen/CXX11/src/Tensor/
DTensorScan.h79 template <typename Self, typename Reducer, typename Device>
213 template <typename Self, typename Reducer, typename Device>
250 template <typename Self, typename Reducer>
274 template <typename Self, typename Reducer>
275 struct ScanLauncher<Self, Reducer, GpuDevice> {
280 …LAUNCH_CUDA_KERNEL((ScanKernel<Self, Reducer>), num_blocks, block_size, 0, self.device(), self, to…
DTensorReductionCuda.h124 typename Reducer, typename Index>
125 __global__ void FullReductionKernel(Reducer reducer, const Self input, Index num_coeffs, in FullReductionKernel()
190 typename Reducer, typename Index>
191 __global__ void ReductionInitFullReduxKernelHalfFloat(Reducer reducer, const Self input, Index num_… in ReductionInitFullReduxKernelHalfFloat()
203 typename Reducer, typename Index>
204 __global__ void ReductionInitKernelHalfFloat(Reducer reducer, const Self input, Index num_coeffs, h… in ReductionInitKernelHalfFloat()
218 typename Reducer, typename Index>
219 __global__ void FullReductionKernelHalfFloat(Reducer reducer, const Self input, Index num_coeffs, in FullReductionKernelHalfFloat()
373 typename Reducer, typename Index>
374 __global__ void InnerReductionKernel(Reducer reducer, const Self input, Index num_coeffs_to_reduce,…
[all …]
/external/tensorflow/tensorflow/tools/api/golden/v1/
Dtensorflow.data.experimental.-reducer.pbtxt1 path: "tensorflow.data.experimental.Reducer"
3 is_instance: "<class \'tensorflow.python.data.experimental.ops.grouping.Reducer\'>"
/external/tensorflow/tensorflow/tools/api/golden/v2/
Dtensorflow.data.experimental.-reducer.pbtxt1 path: "tensorflow.data.experimental.Reducer"
3 is_instance: "<class \'tensorflow.python.data.experimental.ops.grouping.Reducer\'>"
/external/tensorflow/tensorflow/python/data/experimental/ops/
Dbatching.py87 shape_reducer = grouping.Reducer(shape_init_fn, shape_reduce_fn,
100 batch_reducer = grouping.Reducer(batch_init_fn, batch_reduce_fn, finalize_fn)
126 shape_reducer = grouping.Reducer(shape_init_fn, shape_reduce_fn,
149 batch_reducer = grouping.Reducer(batch_init_fn, batch_reduce_fn, finalize_fn)
270 max_reducer = grouping.Reducer(max_init_fn, max_reduce_fn, finalize_fn)
300 batch_reducer = grouping.Reducer(batch_init_fn, batch_reduce_fn, finalize_fn)
332 max_reducer = grouping.Reducer(max_init_fn, max_reduce_fn, finalize_fn)
355 reducer = grouping.Reducer(batch_init_fn, batch_reduce_fn, finalize_fn)
/external/deqp-deps/SPIRV-Tools/test/reduce/
Dvalidation_during_reduction_test.cpp149 Reducer reducer(env); in TEST()
353 Reducer reducer(env); in TEST()
Dreducer_test.cpp213 Reducer reducer(env); in TEST()
281 Reducer reducer(env); in TEST()
/external/swiftshader/third_party/SPIRV-Tools/test/reduce/
Dvalidation_during_reduction_test.cpp149 Reducer reducer(env); in TEST()
353 Reducer reducer(env); in TEST()
Dreducer_test.cpp213 Reducer reducer(env); in TEST()
281 Reducer reducer(env); in TEST()
/external/deqp-deps/SPIRV-Tools/tools/reduce/
Dreduce.cpp190 Reducer reducer(target_env); in main()
232 Reducer::ReductionResultStatus::kInitialStateNotInteresting || in main()

12