Searched refs:allocated_content (Results 1 – 2 of 2) sorted by relevance
214 std::unique_ptr<char[]> allocated_content( in MaybeMergeConstNodes() local216 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()
409 auto allocated_content = absl::make_unique<T[]>(num_elements); in NodeWithTensorContent() local422 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()