MCPcopy Create free account
hub / github.com/ARM-software/ComputeLibrary / access_tensor

Method access_tensor

utils/GraphUtils.cpp:149–162  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

147}
148
149bool PPMWriter::access_tensor(ITensor &tensor)
150{
151 std::stringstream ss;
152 ss << _name << _iterator << ".ppm";
153
154 arm_compute::utils::save_to_ppm(tensor, ss.str());
155
156 _iterator++;
157 if (_maximum == 0)
158 {
159 return true;
160 }
161 return _iterator < _maximum;
162}
163
164DummyAccessor::DummyAccessor(unsigned int maximum) : _iterator(0), _maximum(maximum)
165{

Callers 1

NumPyAccessorMethod · 0.45

Calls 15

save_to_ppmFunction · 0.85
save_to_npyFunction · 0.85
strMethod · 0.80
widthMethod · 0.80
heightMethod · 0.80
fill_planar_tensorMethod · 0.80
preprocessMethod · 0.80
dimensionMethod · 0.45
infoMethod · 0.45
data_typeMethod · 0.45
printMethod · 0.45

Tested by

no test coverage detected