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

Method ForEachElement

tensorflow/compiler/xla/shape_tree.h:623–631  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

621template <typename T>
622template <typename Fn>
623void ShapeTree<T>::ForEachElement(const Fn& func) const {
624 return ForEachHelper(
625 [&func](const ShapeIndex& index, const T& data) {
626 func(index, data);
627 return Status::OK();
628 },
629 nodes_)
630 .IgnoreError();
631}
632
633template <typename T>
634template <typename Fn>

Callers 5

MakeSubBufferMethod · 0.45
MakeTupleMethod · 0.45
TestShapeConstructorMethod · 0.45
TEST_FFunction · 0.45

Calls 2

funcFunction · 0.50
IgnoreErrorMethod · 0.45

Tested by 3

TestShapeConstructorMethod · 0.36
TEST_FFunction · 0.36