Home
last modified time | relevance | path

Searched refs:SparseWeights (Results 1 – 18 of 18) sorted by relevance

/external/tensorflow/tensorflow/lite/delegates/xnnpack/
Dconv_2d_tester.cc128 if (SparseWeights()) { in CreateTfLiteModel()
184 {SparseWeights() ? 1 : 0}}; in CreateTfLiteModel()
186 {SparseWeights() ? 4 : 3}}; in CreateTfLiteModel()
194 {SparseWeights() ? 2 : 1}}; in CreateTfLiteModel()
196 {SparseWeights() ? 5 : 4}}; in CreateTfLiteModel()
250 if (SparseWeights()) { in CreateTfLiteModel()
279 TensorType_FLOAT16, /*buffer=*/SparseWeights() ? 0 : 1)); in CreateTfLiteModel()
292 TensorType_FLOAT32, /*buffer=*/FP16Weights() || SparseWeights() ? 0 : 1)); in CreateTfLiteModel()
Dprelu_tester.h65 inline PreluTester& SparseWeights() { in SparseWeights() function
70 inline bool SparseWeights() const { return sparse_weights_; } in SparseWeights() function
Dprelu_tester.cc112 } else if (SparseWeights()) { in CreateTfLiteModel()
147 } else if (SparseWeights()) { in CreateTfLiteModel()
175 } else if (SparseWeights()) { in CreateTfLiteModel()
193 /*buffer=*/(FP16Weights() || SparseWeights()) ? 0 : 1)); in CreateTfLiteModel()
Dbinary_elementwise_tester.cc197 } else if (SparseWeights()) { in CreateTfLiteModel()
221 if (!SparseWeights()) { in CreateTfLiteModel()
246 if (!SparseWeights()) { in CreateTfLiteModel()
265 } else if (SparseWeights() && Input1Static()) { in CreateTfLiteModel()
291 } else if (SparseWeights() && Input2Static()) { in CreateTfLiteModel()
320 } else if (SparseWeights()) { in CreateTfLiteModel()
Dbinary_elementwise_tester.h84 inline BinaryElementwiseTester& SparseWeights() { in SparseWeights() function
89 inline bool SparseWeights() const { return sparse_weights_; } in SparseWeights() function
Dconv_2d_tester.h158 inline Conv2DTester& SparseWeights() { in SparseWeights() function
163 inline bool SparseWeights() const { return sparse_weights_; } in SparseWeights() function
Ddepthwise_conv_2d_tester.h162 inline DepthwiseConv2DTester& SparseWeights() { in SparseWeights() function
167 inline bool SparseWeights() const { return sparse_weights_; } in SparseWeights() function
Ddepthwise_conv_2d_tester.cc220 if (SparseWeights()) { in CreateTfLiteModel()
252 } else if (SparseWeights()) { in CreateTfLiteModel()
283 TensorType_FLOAT32, /*buffer=*/FP16Weights() || SparseWeights() ? 0 : 1)); in CreateTfLiteModel()
Dconv_2d_test.cc324 TEST(Conv2D, SparseWeights) { in TEST() argument
352 .SparseWeights() in TEST()
384 .SparseWeights() in TEST()
Dmaximum_test.cc711 TEST(Maximum, SparseWeights) { in TEST() argument
729 .SparseWeights() in TEST()
736 .SparseWeights() in TEST()
Dsquared_difference_test.cc711 TEST(SquaredDifference, SparseWeights) { in TEST() argument
729 .SparseWeights() in TEST()
736 .SparseWeights() in TEST()
Dminimum_test.cc711 TEST(Minimum, SparseWeights) { in TEST() argument
729 .SparseWeights() in TEST()
736 .SparseWeights() in TEST()
Dprelu_test.cc538 TEST(Prelu, SparseWeights) { in TEST() argument
555 .SparseWeights() in TEST()
Dsub_test.cc711 TEST(Sub, SparseWeights) { in TEST() argument
729 .SparseWeights() in TEST()
736 .SparseWeights() in TEST()
Dadd_test.cc711 TEST(Add, SparseWeights) { in TEST() argument
729 .SparseWeights() in TEST()
736 .SparseWeights() in TEST()
Ddiv_test.cc711 TEST(Div, SparseWeights) { in TEST() argument
729 .SparseWeights() in TEST()
736 .SparseWeights() in TEST()
Dmul_test.cc711 TEST(Mul, SparseWeights) { in TEST() argument
729 .SparseWeights() in TEST()
736 .SparseWeights() in TEST()
Ddepthwise_conv_2d_test.cc405 TEST(DepthwiseConv2D, SparseWeights) { in TEST() argument
432 .SparseWeights() in TEST()