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

Method num_elements

tensorflow/core/framework/dataset.h:589–592  ·  view source on GitHub ↗

Returns the number of elements produced by this itertaor.

Source from the content-addressed store, hash-verified

587
588 // Returns the number of elements produced by this itertaor.
589 int64 num_elements() const {
590 if (node_) return node_->num_elements();
591 return 0;
592 }
593
594 private:
595 friend class DatasetBase; // for access to `AddCleanupFunction`

Callers 15

IsInnerDimsSizeAlignedFunction · 0.45
IsInitializedMethod · 0.45
CopyFromInternalMethod · 0.45
BitcastFromMethod · 0.45
TensorMethod · 0.45
FromProtoMethod · 0.45
AsProtoFieldMethod · 0.45
AsProtoTensorContentMethod · 0.45
TotalBytesMethod · 0.45
TESTFunction · 0.45
TEST_PFunction · 0.45
TESTFunction · 0.45

Calls

no outgoing calls

Tested by 3

TESTFunction · 0.36
TEST_PFunction · 0.36
TESTFunction · 0.36