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

Method empty

src/value.cpp:295–295  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

293 return a->size();
294}
295bool value::empty() const { return size() == 0; }
296const value* value::data() const
297{
298 auto* a = if_array_impl(x);

Callers 15

quantize_int8_wrapFunction · 0.45
compute_shape_opFunction · 0.45
mod_compute_shape_opFunction · 0.45
compute_opFunction · 0.45
from_value_opFunction · 0.45
verify_commonFunction · 0.45
TEST_CASEFunction · 0.45
TEST_CASEFunction · 0.45
compute_shapeMethod · 0.45
TEST_CASEFunction · 0.45

Calls 1

sizeFunction · 0.85

Tested by 15

compute_shapeMethod · 0.36
TEST_CASEFunction · 0.36
TEST_CASEFunction · 0.36
computeMethod · 0.36
compute_shapeMethod · 0.36
computeMethod · 0.36
compute_shapeMethod · 0.36
TEST_CASEFunction · 0.36
computeMethod · 0.36
compute_shapeMethod · 0.36
computeMethod · 0.36
compute_shapeMethod · 0.36