Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
SplitNode
Method · 0.45
RunCppShapeInferenceImpl
Function · 0.45
PredictCosts
Method · 0.45
XRTAllocateFromTensorOp
Method · 0.45
GraphdefToMlirImport
Function · 0.45
ConvertMlirHloToHlo
Function · 0.45
ReshapeLiteral
Method · 0.45
Encapsulate
Function · 0.45
Encapsulate
Function · 0.45
Build
Method · 0.45
ToProto
Method · 0.45
MakeHloProto
Function · 0.45
Calls
no outgoing calls
Tested by
2
Encapsulate
Function · 0.36
Encapsulate
Function · 0.36