Lines Matching +full:- +full:- +full:setup
2 * Copyright (c) 2018-2021 Arm Limited.
4 * SPDX-License-Identifier: MIT
50 void setup(ArithmeticOperation op, const TensorShape &shape0, const TensorShape &shape1,
71 … library->fill_tensor_uniform_ranged(tensor, i, { std::pair<float, float>(-0.001f, 0.001f) }); in fill()
74 library->fill_tensor_uniform(tensor, i, 0.0f, 5.0f); in fill()
77 library->fill_tensor_uniform(tensor, i); in fill()
82 library->fill_tensor_uniform(tensor, i); in fill()
95 // Check whether do in-place computation and whether inputs are broadcast compatible in compute_target()
115 // - At configure time, all input tensors are marked as dynamic using set_tensor_dynamic() in compute_target()
116 // - After configure, tensors are marked as static for run using set_tensor_static() in compute_target()
117 // - The tensors with static shape are given to run() in compute_target()
134 ARM_COMPUTE_ASSERT(ref_src1.info()->is_resizable()); in compute_target()
135 ARM_COMPUTE_ASSERT(ref_src2.info()->is_resizable()); in compute_target()
138 ref_src1.allocator()->allocate(); in compute_target()
139 ref_src2.allocator()->allocate(); in compute_target()
141 // If don't do in-place computation, still need to allocate original dst in compute_target()
144 ARM_COMPUTE_ASSERT(dst.info()->is_resizable()); in compute_target()
145 dst.allocator()->allocate(); in compute_target()
146 ARM_COMPUTE_ASSERT(!dst.info()->is_resizable()); in compute_target()
149 ARM_COMPUTE_ASSERT(!ref_src1.info()->is_resizable()); in compute_target()
150 ARM_COMPUTE_ASSERT(!ref_src2.info()->is_resizable()); in compute_target()
191 void setup(ArithmeticOperation op, const TensorShape &shape0, const TensorShape &shape1,
195 …ArithmeticOperationsGenericFixture<TensorType, AccessorType, FunctionType, T>::setup(op, shape0, s…
212 // Check whether do in-place computation and whether inputs are broadcast compatible in compute_target()
235 ARM_COMPUTE_ASSERT(ref_src1.info()->is_resizable()); in compute_target()
236 ARM_COMPUTE_ASSERT(ref_src2.info()->is_resizable()); in compute_target()
239 ref_src1.allocator()->allocate(); in compute_target()
240 ref_src2.allocator()->allocate(); in compute_target()
242 // If don't do in-place computation, still need to allocate original dst in compute_target()
245 ARM_COMPUTE_ASSERT(dst.info()->is_resizable()); in compute_target()
246 dst.allocator()->allocate(); in compute_target()
247 ARM_COMPUTE_ASSERT(!dst.info()->is_resizable()); in compute_target()
250 ARM_COMPUTE_ASSERT(!ref_src1.info()->is_resizable()); in compute_target()
251 ARM_COMPUTE_ASSERT(!ref_src2.info()->is_resizable()); in compute_target()
281 …void setup(const TensorShape &shape0, const TensorShape &shape1, DataType data_type0, DataType dat… in setup() function
283 …ArithmeticOperationsGenericFixture<TensorType, AccessorType, FunctionType, T>::setup(ArithmeticOpe… in setup()
294 …void setup(const TensorShape &shape, DataType data_type0, DataType data_type1, DataType output_dat… in setup() function
296 …ArithmeticOperationsGenericFixture<TensorType, AccessorType, FunctionType, T>::setup(ArithmeticOpe… in setup()
307 …void setup(const TensorShape &shape0, const TensorShape &shape1, DataType data_type0, DataType dat… in setup() function
309 …ArithmeticOperationsGenericFixture<TensorType, AccessorType, FunctionType, T>::setup(ArithmeticOpe… in setup()
320 …void setup(const TensorShape &shape, DataType data_type0, DataType data_type1, DataType output_dat… in setup() function
322 …ArithmeticOperationsGenericFixture<TensorType, AccessorType, FunctionType, T>::setup(ArithmeticOpe… in setup()
333 …void setup(const TensorShape &shape0, const TensorShape &shape1, DataType data_type0, DataType dat… in setup() function
335 …ArithmeticOperationsFuseActivationFixture<TensorType, AccessorType, FunctionType, T>::setup(Arithm… in setup()
346 …void setup(const TensorShape &shape, DataType data_type0, DataType data_type1, DataType output_dat… in setup() function
348 …ArithmeticOperationsFuseActivationFixture<TensorType, AccessorType, FunctionType, T>::setup(Arithm… in setup()
359 …void setup(const TensorShape &shape, DataType data_type0, DataType data_type1, DataType output_dat… in setup() function
361 …ArithmeticOperationsFuseActivationFixture<TensorType, AccessorType, FunctionType, T>::setup(Arithm… in setup()
372 …void setup(const TensorShape &shape, DataType data_type0, DataType data_type1, DataType output_dat… in setup() function
376 …ArithmeticOperationsGenericFixture<TensorType, AccessorType, FunctionType, T>::setup(ArithmeticOpe… in setup()
387 …void setup(const TensorShape &shape0, const TensorShape &shape1, DataType data_type0, DataType dat… in setup() function
389 …ArithmeticOperationsGenericFixture<TensorType, AccessorType, FunctionType, T>::setup(ArithmeticOpe… in setup()
400 …void setup(const TensorShape &shape, DataType data_type0, DataType data_type1, DataType output_dat… in setup() function
402 …ArithmeticOperationsGenericFixture<TensorType, AccessorType, FunctionType, T>::setup(ArithmeticOpe… in setup()
413 …void setup(const TensorShape &shape0, const TensorShape &shape1, DataType data_type0, DataType dat… in setup() function
415 …ArithmeticOperationsFuseActivationFixture<TensorType, AccessorType, FunctionType, T>::setup(Arithm… in setup()
426 …void setup(const TensorShape &shape, DataType data_type0, DataType data_type1, DataType output_dat… in setup() function
428 …ArithmeticOperationsFuseActivationFixture<TensorType, AccessorType, FunctionType, T>::setup(Arithm… in setup()
439 …void setup(const TensorShape &shape, DataType data_type0, DataType data_type1, DataType output_dat… in setup() function
443 …ArithmeticOperationsGenericFixture<TensorType, AccessorType, FunctionType, T>::setup(ArithmeticOpe… in setup()
454 …void setup(const TensorShape &shape0, const TensorShape &shape1, DataType data_type0, DataType dat… in setup() function
458 …ArithmeticOperationsGenericFixture<TensorType, AccessorType, FunctionType, T>::setup(ArithmeticOpe… in setup()
469 …void setup(const TensorShape &shape0, const TensorShape &shape1, DataType data_type0, DataType dat… in setup() function
471 …ArithmeticOperationsGenericFixture<TensorType, AccessorType, FunctionType, T>::setup(ArithmeticOpe… in setup()
482 …void setup(const TensorShape &shape, DataType data_type0, DataType data_type1, DataType output_dat… in setup() function
484 …ArithmeticOperationsGenericFixture<TensorType, AccessorType, FunctionType, T>::setup(ArithmeticOpe… in setup()
495 …void setup(const TensorShape &shape0, const TensorShape &shape1, DataType data_type0, DataType dat… in setup() function
497 …ArithmeticOperationsFuseActivationFixture<TensorType, AccessorType, FunctionType, T>::setup(Arithm… in setup()
508 …void setup(const TensorShape &shape, DataType data_type0, DataType data_type1, DataType output_dat… in setup() function
510 …ArithmeticOperationsFuseActivationFixture<TensorType, AccessorType, FunctionType, T>::setup(Arithm… in setup()
521 …void setup(const TensorShape &shape, DataType data_type0, DataType data_type1, DataType output_dat… in setup() function
525 …ArithmeticOperationsGenericFixture<TensorType, AccessorType, FunctionType, T>::setup(ArithmeticOpe… in setup()
536 …void setup(const TensorShape &shape0, const TensorShape &shape1, DataType data_type0, DataType dat… in setup() function
540 …ArithmeticOperationsGenericFixture<TensorType, AccessorType, FunctionType, T>::setup(ArithmeticOpe… in setup()
551 …void setup(const TensorShape &shape0, const TensorShape &shape1, DataType data_type0, DataType dat… in setup() function
553 …ArithmeticOperationsGenericFixture<TensorType, AccessorType, FunctionType, T>::setup(ArithmeticOpe… in setup()
564 …void setup(const TensorShape &shape, DataType data_type0, DataType data_type1, DataType output_dat… in setup() function
566 …ArithmeticOperationsGenericFixture<TensorType, AccessorType, FunctionType, T>::setup(ArithmeticOpe… in setup()
577 …void setup(const TensorShape &shape0, const TensorShape &shape1, DataType data_type0, DataType dat… in setup() function
579 …ArithmeticOperationsFuseActivationFixture<TensorType, AccessorType, FunctionType, T>::setup(Arithm… in setup()
590 …void setup(const TensorShape &shape, DataType data_type0, DataType data_type1, DataType output_dat… in setup() function
592 …ArithmeticOperationsFuseActivationFixture<TensorType, AccessorType, FunctionType, T>::setup(Arithm… in setup()
603 …void setup(const TensorShape &shape, DataType data_type0, DataType data_type1, DataType output_dat… in setup() function
607 …ArithmeticOperationsGenericFixture<TensorType, AccessorType, FunctionType, T>::setup(ArithmeticOpe… in setup()
618 …void setup(const TensorShape &shape0, const TensorShape &shape1, DataType data_type0, DataType dat… in setup() function
622 …ArithmeticOperationsGenericFixture<TensorType, AccessorType, FunctionType, T>::setup(ArithmeticOpe… in setup()
633 …void setup(const TensorShape &shape0, const TensorShape &shape1, DataType data_type0, DataType dat… in setup() function
635 …ArithmeticOperationsGenericFixture<TensorType, AccessorType, FunctionType, T>::setup(ArithmeticOpe… in setup()
646 …void setup(const TensorShape &shape, DataType data_type0, DataType data_type1, DataType output_dat… in setup() function
648 …ArithmeticOperationsGenericFixture<TensorType, AccessorType, FunctionType, T>::setup(ArithmeticOpe… in setup()
659 …void setup(const TensorShape &shape, DataType data_type0, DataType data_type1, DataType output_dat… in setup() function
663 …ArithmeticOperationsGenericFixture<TensorType, AccessorType, FunctionType, T>::setup(ArithmeticOpe… in setup()
674 …void setup(const TensorShape &shape0, const TensorShape &shape1, DataType data_type0, DataType dat… in setup() function
678 …ArithmeticOperationsGenericFixture<TensorType, AccessorType, FunctionType, T>::setup(ArithmeticOpe… in setup()
689 …void setup(const TensorShape &shape0, const TensorShape &shape1, DataType data_type0, DataType dat… in setup() function
691 …ArithmeticOperationsGenericFixture<TensorType, AccessorType, FunctionType, T>::setup(ArithmeticOpe… in setup()
702 …void setup(const TensorShape &shape, DataType data_type0, DataType data_type1, DataType output_dat… in setup() function
704 …ArithmeticOperationsGenericFixture<TensorType, AccessorType, FunctionType, T>::setup(ArithmeticOpe… in setup()
715 …void setup(const TensorShape &shape0, const TensorShape &shape1, DataType data_type0, DataType dat… in setup() function
717 …ArithmeticOperationsFuseActivationFixture<TensorType, AccessorType, FunctionType, T>::setup(Arithm… in setup()
728 …void setup(const TensorShape &shape, DataType data_type0, DataType data_type1, DataType output_dat… in setup() function
730 …ArithmeticOperationsFuseActivationFixture<TensorType, AccessorType, FunctionType, T>::setup(Arithm… in setup()