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

Function get_random_accessor

utils/GraphUtils.h:467–471  ·  view source on GitHub ↗

Generates appropriate random accessor * * @param[in] lower Lower random values bound * @param[in] upper Upper random values bound * @param[in] seed Random generator seed * * @return A ramdom accessor */

Source from the content-addressed store, hash-verified

465 * @return A ramdom accessor
466 */
467inline std::unique_ptr<graph::ITensorAccessor>
468get_random_accessor(PixelValue lower, PixelValue upper, const std::random_device::result_type seed = 0)
469{
470 return std::make_unique<RandomAccessor>(lower, upper, seed);
471}
472
473/** Generates appropriate weights accessor according to the specified path
474 *

Callers 15

GraphFunctionLayerMethod · 0.85
do_setupMethod · 0.85
block_mixed_5bMethod · 0.85
block_mixed_6aMethod · 0.85
block_mixed_7aMethod · 0.85
block35_repeatMethod · 0.85
block17_repeatMethod · 0.85
block8_repeatMethod · 0.85
do_setupMethod · 0.85
block35_repeatMethod · 0.85
block17_repeatMethod · 0.85
block8_repeatMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected