MCPcopy Create free account
hub / github.com/Samsung/ONE / data

Method data

compiler/nnc/utils/input_gen/tensor_gen.cpp:50–50  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

48 int rank() const { return _shape.size(); }
49 int dim(int d) const { return _shape[d]; }
50 float *data() { return _data; }
51 float numElems() const { return _num_elems; }
52
53 float &at(const vector<int> &coords)

Callers 9

fillTensorFunction · 0.45
writeTensorToDatFileFunction · 0.45
writeTensorToHDF5FileFunction · 0.45
writeTensorToHDF5FileFunction · 0.45
packDataMethod · 0.45
createAndRunTestGraphFunction · 0.45
TESTFunction · 0.45
ConvBackendMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected