MCPcopy 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
84std::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_strFunction · 0.85
sizesMethod · 0.45

Tested by

no test coverage detected