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

Method Clear

tensorflow/compiler/xla/shape.h:152–157  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

150 }
151
152 void Clear() {
153 element_type_ = PRIMITIVE_TYPE_INVALID;
154 clear_dimensions();
155 tuple_shapes_.clear();
156 clear_layout();
157 }
158
159 string SerializeAsString() const { return ToProto().SerializeAsString(); }
160 string ShortDebugString() const { return ToProto().ShortDebugString(); }

Callers 8

ExtractTfVersionsFunction · 0.45
ParseTextProtoFunction · 0.45
TESTFunction · 0.45
PopulateShapeMethod · 0.45
clear_layoutMethod · 0.45
CopyTensorElementsFunction · 0.45
TestConvertConstFunction · 0.45
TEST_FFunction · 0.45

Calls 1

clearMethod · 0.45

Tested by 4

TESTFunction · 0.36
CopyTensorElementsFunction · 0.36
TestConvertConstFunction · 0.36
TEST_FFunction · 0.36