MCPcopy Create free account
hub / github.com/ROCm/AMDMIGraphX / is_dynamic

Method is_dynamic

src/op/builder/convolution.cpp:117–123  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

115 }
116
117 bool is_dynamic(const shape& s) const
118 {
119 return s.dynamic() and
120 std::any_of(s.dyn_dims().begin() + 2, s.dyn_dims().end(), [](const auto& dyn_dim) {
121 return not dyn_dim.is_fixed();
122 });
123 }
124
125 operation make_conv_op(const std::string& name) const
126 {

Callers

nothing calls this directly

Calls 5

dynamicMethod · 0.80
is_fixedMethod · 0.80
any_ofFunction · 0.50
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected