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

Method leaves

tensorflow/compiler/xla/shape_tree.h:208–210  ·  view source on GitHub ↗

range-based iterator for leaf_begin()/leaf_end().

Source from the content-addressed store, hash-verified

206 }
207 // range-based iterator for leaf_begin()/leaf_end().
208 tensorflow::gtl::iterator_range<iterator> leaves() {
209 return tensorflow::gtl::make_range(leaf_begin(), leaf_end());
210 }
211 tensorflow::gtl::iterator_range<const_iterator> leaves() const {
212 return tensorflow::gtl::make_range(leaf_begin(), leaf_end());
213 }

Callers 7

TEST_FFunction · 0.80
TupleFunction · 0.80
CopyToDeviceMethod · 0.80
TEST_FFunction · 0.80
TupleMethod · 0.80
AsShapeTreeMethod · 0.80
ValidateTupleMethod · 0.80

Calls 1

make_rangeFunction · 0.85

Tested by 2

TEST_FFunction · 0.64
TEST_FFunction · 0.64