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

Method empty

paddle/phi/core/tensor_array.h:99–99  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

97 bool fake_alloc = false) override;
98
99 bool empty() const { return tensors_.empty(); }
100
101 /// \brief Returns the number of tensors in TensorArray.
102 size_t size() const { return tensors_.size(); }

Callers 13

share_lodMethod · 0.45
ToAbsOffsetFunction · 0.45
AppendLegacyLoDFunction · 0.45
~RawTensorMethod · 0.45
RawTensorClass · 0.45
GetMutableMethod · 0.45
GetCurrentThreadNameFunction · 0.45
SetCurrentThreadNameFunction · 0.45
TaskLoopMethod · 0.45
has_allocationMethod · 0.45
initializedMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected