MCPcopy 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
337void TensorShapeRep::Clear() {
338 ClearAllButDataType();
339 set_data_type(DT_INVALID);
340}
341
342void TensorShapeRep::ClearAllButDataType() {
343 if (tag() == REP_OUT_OF_LINE) {

Callers 15

FillMethod · 0.45
FillMethod · 0.45
AsProtoFieldMethod · 0.45
AsProtoTensorContentMethod · 0.45
TESTFunction · 0.45
SaveBaseStateMethod · 0.45
TESTFunction · 0.45
AsProtoMethod · 0.45
MakeShapeHelperFunction · 0.45
MergeWithMethod · 0.45
ParseAttrValueFunction · 0.45

Calls

no outgoing calls

Tested by 2

TESTFunction · 0.36
TESTFunction · 0.36