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

Method packed

src/shape.cpp:509–517  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

507}
508
509bool shape::packed() const
510{
511 if(this->dynamic())
512 {
513 return false;
514 }
515 return this->sub_shapes().empty() and not impl->skips() and
516 this->elements() == this->element_space();
517}
518
519bool shape::transposed() const
520{

Callers 5

TEST_CASEFunction · 0.45
TEST_CASEFunction · 0.45
test_create_shapeFunction · 0.45
as_packedFunction · 0.45

Calls 5

dynamicMethod · 0.95
elementsMethod · 0.95
element_spaceMethod · 0.95
emptyMethod · 0.45
skipsMethod · 0.45

Tested by 3

TEST_CASEFunction · 0.36
test_create_shapeFunction · 0.36