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

Function construct_dims_state

tests/Utils.h:594–599  ·  view source on GitHub ↗

Construct and return object for dimensions' state filled with the given value * * @param[in] value The value to fill * * @return Constructed class */

Source from the content-addressed store, hash-verified

592 * @return Constructed class
593 */
594inline ITensorInfo::TensorDimsState construct_dims_state(int32_t value)
595{
596 auto states = ITensorInfo::TensorDimsState{};
597 std::fill(states.begin(), states.end(), value);
598 return states;
599}
600
601/** Construct and return object for dimensions' state filled with the value for dynamic state
602 *

Callers 2

Calls 3

fillFunction · 0.85
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected