Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ARM-software/ComputeLibrary
/ fill_tensor
Function
fill_tensor
tests/validation/CPP/TopKV.cpp:52–55 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
50
{
51
template <typename U, typename T>
52
inline void fill_tensor(U &&tensor, const std::vector<T> &v)
53
{
54
std::memcpy(tensor.data(), v.data(), sizeof(T) * v.size());
55
}
56
} // namespace
57
58
TEST_SUITE(CPP)
Callers
4
TEST_CASE
Function · 0.70
access_tensor
Method · 0.50
do_setup
Method · 0.50
do_setup
Method · 0.50
Calls
2
data
Method · 0.45
size
Method · 0.45
Tested by
no test coverage detected