Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/deepspeedai/DeepSpeed
/ tensorDimToString
Function
tensorDimToString
csrc/compile/util.cpp:84–88 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
82
}
83
84
std::string tensorDimToString(const at::Tensor& t)
85
{
86
const auto dim = t.sizes();
87
return join_as_str(dim);
88
}
89
} // namespace dc
Callers
nothing calls this directly
Calls
2
join_as_str
Function · 0.85
sizes
Method · 0.45
Tested by
no test coverage detected