MCPcopy Create free account
hub / github.com/PaddlePaddle/Paddle / initialized

Function initialized

paddle/phi/core/string_tensor.h:107–107  ·  view source on GitHub ↗

\brief Test whether the storage is allocated. return Whether the storage is allocated.

Source from the content-addressed store, hash-verified

105 /// \brief Test whether the storage is allocated.
106 /// return Whether the storage is allocated.
107 bool initialized() const override { return holder_ && holder_->ptr(); }
108
109 /// \brief Check if storage is shared with other objects.
110 /// \return Whether the storage is shared with other objects.

Callers

nothing calls this directly

Calls 1

ptrMethod · 0.45

Tested by

no test coverage detected