Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NVIDIA/FasterTransformer
/ insertIfValid
Method
insertIfValid
src/fastertransformer/utils/Tensor.h:340–345 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
338
}
339
340
inline void insertIfValid(const std::string& key, const Tensor& value)
341
{
342
if (isValid(value)) {
343
insert({key, value});
344
}
345
}
346
347
inline void insert(std::pair<std::string, Tensor> p)
348
{
Callers
11
forward
Method · 0.80
forward
Method · 0.80
forward
Method · 0.80
forward
Method · 0.80
forward
Method · 0.80
forward
Method · 0.80
forward
Method · 0.80
forward
Method · 0.80
forward
Method · 0.80
forward
Method · 0.80
forward
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected