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

Method is_static

tensorflow/compiler/xla/shape.cc:86–95  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

84}
85
86bool Shape::is_static() const {
87 if (IsTuple()) {
88 for (const Shape& subshape : tuple_shapes_) {
89 if (!subshape.is_static()) {
90 return false;
91 }
92 }
93 }
94 return !absl::c_any_of(dynamic_dimensions_, [](bool b) { return b; });
95}
96
97void Shape::DeleteDimension(int64 dim_to_delete) {
98 CHECK(IsArray());

Callers 7

TEST_FFunction · 0.80
InferPadShapeMethod · 0.80
DefaultActionMethod · 0.80
RunMethod · 0.80
GetSizeOfShapeMethod · 0.80

Calls

no outgoing calls

Tested by 1

TEST_FFunction · 0.64