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

Method Swap

tensorflow/compiler/xla/shape.h:147–150  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

145 }
146
147 void Swap(Shape* other) {
148 using std::swap;
149 swap(*this, *other);
150 }
151
152 void Clear() {
153 element_type_ = PRIMITIVE_TYPE_INVALID;

Callers 15

SplitNodeMethod · 0.45
RunCppShapeInferenceImplFunction · 0.45
PredictCostsMethod · 0.45
GraphdefToMlirImportFunction · 0.45
ConvertMlirHloToHloFunction · 0.45
ReshapeLiteralMethod · 0.45
EncapsulateFunction · 0.45
EncapsulateFunction · 0.45
BuildMethod · 0.45
ToProtoMethod · 0.45
MakeHloProtoFunction · 0.45

Calls

no outgoing calls

Tested by 2

EncapsulateFunction · 0.36
EncapsulateFunction · 0.36