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

Method data

src/argument.cpp:139–144  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

137}
138
139char* argument::data() const
140{
141 assert(m_shape.type() != shape::tuple_type);
142 assert(not this->empty());
143 return m_data.get();
144}
145
146bool argument::empty() const { return not m_data.get and m_data.sub.empty(); }
147

Callers 2

copyMethod · 0.95
elementMethod · 0.95

Calls 3

emptyMethod · 0.95
typeMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected