MCPcopy Create free account
hub / github.com/ARM-software/ComputeLibrary / Steps

Class Steps

arm_compute/core/Steps.h:44–67  ·  view source on GitHub ↗

Class to describe a number of elements in each dimension. Similar to @ref * Strides but not in bytes but number of elements. */

Source from the content-addressed store, hash-verified

42 * Strides but not in bytes but number of elements.
43 */
44class Steps : public Dimensions<uint32_t>
45{
46public:
47 /** Constructor to initialize the steps.
48 *
49 * @param[in] steps Values to initialize the steps.
50 */
51 template <typename... Ts>
52 Steps(Ts... steps) : Dimensions{steps...}
53 {
54 // Initialize empty dimensions to 1
55 std::fill(_id.begin() + _num_dimensions, _id.end(), 1);
56 }
57 /** Allow instances of this class to be copy constructed */
58 constexpr Steps(const Steps &) = default;
59 /** Allow instances of this class to be copied */
60 Steps &operator=(const Steps &) = default;
61 /** Allow instances of this class to be move constructed */
62 constexpr Steps(Steps &&) = default;
63 /** Allow instances of this class to be moved */
64 Steps &operator=(Steps &&) = default;
65 /** Default destructor */
66 ~Steps() = default;
67};
68} // namespace arm_compute
69#endif // ACL_ARM_COMPUTE_CORE_STEPS_H

Callers 15

configureMethod · 0.85
configureMethod · 0.85
configureMethod · 0.85
configureMethod · 0.85
configureMethod · 0.85
configureMethod · 0.85
configureMethod · 0.85
configureMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected