Home
last modified time | relevance | path

Searched refs:allocated_content (Results 1 – 2 of 2) sorted by relevance

/external/tensorflow/tensorflow/lite/toco/tensorflow_graph_matching/
Dresolve_svdf.cc214 std::unique_ptr<char[]> allocated_content( in MaybeMergeConstNodes() local
216 char* content_ptr = allocated_content.get(); in MaybeMergeConstNodes()
231 Transpose2DTensor(reinterpret_cast<float*>(allocated_content.get()), in MaybeMergeConstNodes()
246 std::string(reinterpret_cast<const char*>(allocated_content.get()), in MaybeMergeConstNodes()
/external/tensorflow/tensorflow/lite/toco/
Dimport_tensorflow_test.cc453 auto allocated_content = absl::make_unique<T[]>(num_elements); in NodeWithTensorContent() local
466 allocated_content[i] = i / 10000.0 + 1; in NodeWithTensorContent()
471 allocated_content[i] = i % std::numeric_limits<int>::max() + 1; in NodeWithTensorContent()
476 allocated_content[i] = i % std::numeric_limits<uint8_t>::max() + 1; in NodeWithTensorContent()
481 allocated_content[i] = i + 1; in NodeWithTensorContent()
488 allocated_content[i] = ((i % 2) == 0); in NodeWithTensorContent()
495 std::string(reinterpret_cast<const char*>(allocated_content.get()), in NodeWithTensorContent()
502 allocated_content.reset(); in NodeWithTensorContent()