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

Method push_front

tensorflow/compiler/xla/shape_util.h:82–82  ·  view source on GitHub ↗

push_front is O(n), but shapes don't usually have a ton of dimensions.

Source from the content-addressed store, hash-verified

80
81 // push_front is O(n), but shapes don't usually have a ton of dimensions.
82 void push_front(int64 value) { indices_.insert(indices_.begin(), value); }
83
84 using container_type = absl::InlinedVector<int64, 2>;
85

Callers 15

HandleTupleMethod · 0.80
PropagateConstraintsMethod · 0.80
MakeNodeFromToFilterFunction · 0.80
AddToCacheMethod · 0.80
GetExecGraphMethod · 0.80
GetHloBufferSlicesFunction · 0.80
emplaceMethod · 0.80
TouchNoCheckMethod · 0.80
PushMethod · 0.80
PushBatchMethod · 0.80
AllocateMethod · 0.80

Calls 2

insertMethod · 0.45
beginMethod · 0.45

Tested by

no test coverage detected