Searched refs:sparse_data (Results 1 – 5 of 5) sorted by relevance
/external/libtextclassifier/native/utils/container/ |
D | bit-vector.cc | 35 bit_vector_data_->sparse_data()->sorted_indices_32()->begin(), in GetFromSparseData() 36 bit_vector_data_->sparse_data()->sorted_indices_32()->end(), index); in GetFromSparseData() 65 bit_vector_data->sparse_data = in CreateSparseBitVectorData() 67 bit_vector_data->sparse_data->sorted_indices_32 = indices; in CreateSparseBitVectorData()
|
D | bit-vector.fbs | 21 sparse_data:SparseBitVectorData;
|
/external/tensorflow/tensorflow/lite/tools/optimize/sparsity/python/ |
D | format_converter_extension_test.py | 66 sparse_data = converter.GetData() 67 self.assertTrue(np.allclose(expected_data, sparse_data)) 69 converter.SparseToDense(np.asarray(sparse_data, dtype=np.float32).data)
|
/external/tensorflow/tensorflow/lite/kernels/ |
D | test_util.h | 229 const auto& sparse_data = converter.GetData(); in AddConstSparseInput() local 272 reinterpret_cast<const uint8_t*>(sparse_data.data()), in AddConstSparseInput() 273 sparse_data.size()); in AddConstSparseInput() 301 const auto sparse_data = converter.GetData(); 345 const int length = sparse_data.size(); 349 sparse_data.data(), length, q.data(), &min, &max, &scaling_factor); 358 reinterpret_cast<const uint8_t*>(sparse_data.data()), 359 sizeof(T) * sparse_data.size());
|
/external/tensorflow/tensorflow/python/kernel_tests/ |
D | sets_test.py | 155 def _set_size(self, sparse_data): argument 158 sets.set_size(sparse_data, validate_indices=True), 159 sets.set_size(sparse_data, validate_indices=False)
|