Home
last modified time | relevance | path

Searched refs:kTfLiteDimSparseCSR (Results 1 – 13 of 13) sorted by relevance

/external/tensorflow/tensorflow/lite/tools/optimize/sparsity/
Dformat_converter_test.cc58 const std::vector<TfLiteDimensionType> format = {kTfLiteDimSparseCSR, in TEST()
90 kTfLiteDimSparseCSR}; in TEST()
120 const std::vector<TfLiteDimensionType> format = {kTfLiteDimSparseCSR, in TEST()
121 kTfLiteDimSparseCSR}; in TEST()
183 kTfLiteDimSparseCSR}; in TEST()
213 const std::vector<TfLiteDimensionType> format = {kTfLiteDimSparseCSR, in TEST()
244 const std::vector<TfLiteDimensionType> format = {kTfLiteDimSparseCSR, in TEST()
245 kTfLiteDimSparseCSR}; in TEST()
278 kTfLiteDimSparseCSR, kTfLiteDimDense, kTfLiteDimSparseCSR};
314 kTfLiteDimDense, kTfLiteDimDense, kTfLiteDimSparseCSR};
[all …]
Dformat_converter.cc125 if (format_[i] == kTfLiteDimSparseCSR) { in DenseToSparse()
182 } else if (format_[dst_dim_idx] == kTfLiteDimSparseCSR) { in DenseToSparse()
201 if (format_[dst_dim_idx] == kTfLiteDimSparseCSR) { in DenseToSparse()
/external/tensorflow/tensorflow/lite/kernels/
Ddensify_test.cc73 input.format = {kTfLiteDimDense, kTfLiteDimSparseCSR}; in TEST()
87 input.format = {kTfLiteDimDense, kTfLiteDimDense, kTfLiteDimSparseCSR}; in TEST()
101 input.format = {kTfLiteDimDense, kTfLiteDimSparseCSR}; in TEST()
Dfully_connected_test.cc1254 weight.format = {kTfLiteDimDense, kTfLiteDimSparseCSR}; in TEST_P()
1279 weight.format = {kTfLiteDimDense, kTfLiteDimSparseCSR}; in TEST_P()
1306 weight.format = {kTfLiteDimDense, kTfLiteDimSparseCSR}; in TEST_P()
1336 weight.format = {kTfLiteDimDense, kTfLiteDimSparseCSR}; in TEST_P()
1369 weight.format = {kTfLiteDimDense, kTfLiteDimSparseCSR}; in TEST_P()
1428 weight.format = {kTfLiteDimDense, kTfLiteDimSparseCSR}; in TEST_P()
1484 weight.format = {kTfLiteDimDense, kTfLiteDimSparseCSR}; in TEST_P()
Dtest_util.h237 t.format[t.traversal_order[i]] == kTfLiteDimSparseCSR) { in AddConstSparseInput()
309 t.format[t.traversal_order[i]] == kTfLiteDimSparseCSR) {
Dlstm_test.cc2648 input_weight.format = {kTfLiteDimDense, kTfLiteDimSparseCSR}; in TEST_F()
2655 recurrent_weight.format = {kTfLiteDimDense, kTfLiteDimSparseCSR}; in TEST_F()
Dfully_connected.cc46 sparsity.dim_metadata[1].format == kTfLiteDimSparseCSR) { in SupportedSparsityFormat()
/external/tensorflow/tensorflow/lite/tools/optimize/sparsity/python/
Dformat_converter_extension.cc42 .value("TF_LITE_DIM_SPARSE_CSR", TfLiteDimensionType::kTfLiteDimSparseCSR) in PYBIND11_MODULE()
/external/tensorflow/tensorflow/lite/c/
Dcommon_test.cc134 t.sparsity->dim_metadata[1].format = kTfLiteDimSparseCSR; in TEST()
Dcommon.c128 if (metadata.format == kTfLiteDimSparseCSR) { in TfLiteSparsityFree()
Dcommon.h349 kTfLiteDimSparseCSR, enumerator
/external/tensorflow/tensorflow/compiler/mlir/lite/transforms/
Ddense_to_sparse.cc63 (*format)[dims_count - 1] = kTfLiteDimSparseCSR; in PopulateEncodingParams()
/external/tensorflow/tensorflow/lite/
Dmodel_test.cc446 ASSERT_EQ(t1->sparsity->dim_metadata[1].format, kTfLiteDimSparseCSR); in TEST()