MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / resize_uninitialized

Method resize_uninitialized

tensorflow/core/platform/tstring.h:160–162  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

158 void resize(size_t new_size) { str_.resize(new_size); }
159
160 void resize_uninitialized(size_t new_size) {
161 ResizeUninitialized<decltype(str_)>::Resize(str_, new_size);
162 }
163
164 tstring& assign(const char* str, size_t len) {
165 str_.assign(str, len);

Callers 5

DecodeStringListFunction · 0.80
SerializeToTStringFunction · 0.80
ParseBytesFeatureFunction · 0.80
ReadBytesFunction · 0.80
TESTFunction · 0.80

Calls 1

ResizeFunction · 0.50

Tested by 1

TESTFunction · 0.64