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

Method fill

tests/AssetsLibrary.cpp:277–282  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

275}
276
277void AssetsLibrary::fill(RawTensor &raw, const std::string &name, Format format) const
278{
279 //FIXME: Should be done by swapping cached buffers
280 const RawTensor &src = get(name, format);
281 std::copy_n(src.data(), raw.size(), raw.data());
282}
283
284void AssetsLibrary::fill(RawTensor &raw, const std::string &name, Channel channel) const
285{

Callers

nothing calls this directly

Calls 4

fillFunction · 0.85
get_format_for_channelFunction · 0.85
dataMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected