Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/lite/delegates/gpu/metal/
Dmetal_arguments.cc276 const_data_.resize(aligned_pos * 4); in ScalarArgumentsToStructWithScalarFields()
280 reinterpret_cast<float*>(&const_data_[it.second.bytes_offset]); in ScalarArgumentsToStructWithScalarFields()
287 reinterpret_cast<int32_t*>(&const_data_[it.second.bytes_offset]); in ScalarArgumentsToStructWithScalarFields()
351 const_data_.resize(aligned_pos * 4); in ScalarArgumentsToStructWithVec4Fields()
355 reinterpret_cast<float*>(&const_data_[it.second.bytes_offset]); in ScalarArgumentsToStructWithVec4Fields()
362 reinterpret_cast<int32_t*>(&const_data_[it.second.bytes_offset]); in ScalarArgumentsToStructWithVec4Fields()
381 reinterpret_cast<int32_t*>(&const_data_[it->second.bytes_offset]); in SetInt()
395 reinterpret_cast<float*>(&const_data_[it->second.bytes_offset]); in SetFloat()
410 reinterpret_cast<float*>(&const_data_[it->second.bytes_offset]); in SetHalf()
451 if (!const_data_.empty()) { in Encode()
[all …]
Dmetal_arguments.h142 std::vector<uint8_t> const_data_; variable