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

Method mutable_element

tensorflow/compiler/xla/shape_tree.h:563–565  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

561
562template <typename T>
563T* ShapeTree<T>::mutable_element(ShapeIndexView index) {
564 return &Lookup(index)->data.second;
565}
566
567template <typename T>
568internal::ShapeTreeNode<T>* ShapeTree<T>::Lookup(ShapeIndexView index) {

Callers 6

MakeSubBufferMethod · 0.45
MakeTupleMethod · 0.45
AliasBufferFromMethod · 0.45
ToDeviceMemoryTreeMethod · 0.45
MapMethod · 0.45
TEST_FFunction · 0.45

Calls

no outgoing calls

Tested by 1

TEST_FFunction · 0.36