MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / ReshapeTensor

Method ReshapeTensor

tensorflow/lite/testing/tf_driver.cc:214–219  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

212}
213
214void TfDriver::ReshapeTensor(int id, const string& values_as_string) {
215 input_shapes_[id] = Split<int64_t>(values_as_string, ",");
216 input_tensors_[input_names_[id]] =
217 CreateTensor(input_types_[id], input_shapes_[id]);
218 ResetTensor(id);
219}
220
221string TfDriver::ReadOutput(const tensorflow::Tensor& tensor) {
222 switch (tensor.dtype()) {

Callers 3

SetFieldMethod · 0.45
TESTFunction · 0.45
TESTFunction · 0.45

Calls 2

ResetTensorFunction · 0.85
CreateTensorFunction · 0.70

Tested by 3

SetFieldMethod · 0.36
TESTFunction · 0.36
TESTFunction · 0.36