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 string(reinterpret_cast<const char*>(allocated_content.get()), in MaybeMergeConstNodes()
/external/tensorflow/tensorflow/lite/toco/
Dimport_tensorflow_test.cc409 auto allocated_content = absl::make_unique<T[]>(num_elements); in NodeWithTensorContent() local
422 allocated_content[i] = i / 10000.0 + 1; in NodeWithTensorContent()
427 allocated_content[i] = i % std::numeric_limits<int>::max() + 1; in NodeWithTensorContent()
432 allocated_content[i] = i % std::numeric_limits<uint8_t>::max() + 1; in NodeWithTensorContent()
437 allocated_content[i] = i + 1; in NodeWithTensorContent()
444 allocated_content[i] = ((i % 2) == 0); in NodeWithTensorContent()
451 string(reinterpret_cast<const char*>(allocated_content.get()), in NodeWithTensorContent()
458 allocated_content.reset(); in NodeWithTensorContent()