Searched refs:ElementByteSize (Results 1 – 5 of 5) sorted by relevance
42 ptrdiff_t ElementByteSize) { in testFullDeviceMemorySpan() argument44 EXPECT_GT(ElementByteSize, 0); in testFullDeviceMemorySpan()49 EXPECT_EQ(Length * ElementByteSize, Span.byte_size()); in testFullDeviceMemorySpan()58 EXPECT_EQ(2 * ElementByteSize, First2.byte_size()); in testFullDeviceMemorySpan()75 EXPECT_EQ(2 * ElementByteSize, Last2.byte_size()); in testFullDeviceMemorySpan()77 EXPECT_EQ((Length - 2) * ElementByteSize, Last2.byte_offset()); in testFullDeviceMemorySpan()85 EXPECT_EQ(Length * ElementByteSize, Last0.byte_offset()); in testFullDeviceMemorySpan()92 EXPECT_EQ(2 * ElementByteSize, Middle2.byte_size()); in testFullDeviceMemorySpan()94 EXPECT_EQ(4 * ElementByteSize, Middle2.byte_offset()); in testFullDeviceMemorySpan()102 EXPECT_EQ(4 * ElementByteSize, Middle0.byte_offset()); in testFullDeviceMemorySpan()[all …]
72 size_t ElementByteSize(TfLiteType data_type) { in ElementByteSize() function111 size_t to_copy = num_elements * ElementByteSize(type); in WriteOneDimensionalArray()167 const size_t size = len * ElementByteSize(data_type); in ReadOneDimensionalArray()345 size_t src_size = ElementByteSize(type); in WriteScalar()
1965 unsigned ElementByteSize = CDS->getElementByteSize(); in emitGlobalConstantDataSequential() local1972 ElementByteSize); in emitGlobalConstantDataSequential()
2440 unsigned ElementByteSize = CDS->getElementByteSize(); in emitGlobalConstantDataSequential() local2447 ElementByteSize); in emitGlobalConstantDataSequential()
2578 unsigned ElementByteSize = CDS->getElementByteSize(); in emitGlobalConstantDataSequential() local2585 ElementByteSize); in emitGlobalConstantDataSequential()