Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DeepRec-AI/DeepRec
/ Clear
Method
Clear
tensorflow/core/framework/tensor_shape.cc:337–340 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
335
}
336
337
void TensorShapeRep::Clear() {
338
ClearAllButDataType();
339
set_data_type(DT_INVALID);
340
}
341
342
void TensorShapeRep::ClearAllButDataType() {
343
if (tag() == REP_OUT_OF_LINE) {
Callers
15
Fill
Method · 0.45
Fill
Method · 0.45
AsProtoField
Method · 0.45
AsProtoTensorContent
Method · 0.45
TEST
Function · 0.45
SaveBaseState
Method · 0.45
TEST
Function · 0.45
AsProto
Method · 0.45
MakeShapeHelper
Function · 0.45
MergeWith
Method · 0.45
EXCLUSIVE_LOCKS_REQUIRED
Method · 0.45
ParseAttrValue
Function · 0.45
Calls
no outgoing calls
Tested by
2
TEST
Function · 0.36
TEST
Function · 0.36