Home
last modified time | relevance | path

Searched refs:KeepDims (Results 1 – 16 of 16) sorted by relevance

/external/tensorflow/tensorflow/lite/delegates/xnnpack/
Dmean_test.cc45 .KeepDims(false) in TEST()
66 .KeepDims(true) in TEST()
87 .KeepDims(false) in TEST()
108 .KeepDims(true) in TEST()
129 .KeepDims(false) in TEST()
150 .KeepDims(true) in TEST()
171 .KeepDims(false)
177 .KeepDims(false)
198 .KeepDims(true)
204 .KeepDims(true)
[all …]
Dreduce_tester.h59 inline ReduceTester& KeepDims(bool keep_dims) { in KeepDims() function
64 inline bool KeepDims() const { return keep_dims_; } in KeepDims() function
72 if (KeepDims()) { in OutputShape()
Dfully_connected_tester.h67 inline FullyConnectedTester& KeepDims(bool keep_dims) { in KeepDims() function
72 inline bool KeepDims() const { return keep_dims_; } in KeepDims() function
Dfully_connected_test.cc63 .KeepDims(true)
108 .KeepDims(true)
178 .KeepDims(true)
227 .KeepDims(true)
Dfully_connected_tester.cc40 if (KeepDims()) { in OutputShape()
245 KeepDims()); in CreateTfLiteModel()
Dreduce_tester.cc136 CreateReducerOptions(builder, KeepDims()); in CreateTfLiteModel()
/external/tensorflow/tensorflow/lite/kernels/
Dreduce_test.cc276 TEST(ConstFloatMeanOpTest, KeepDims) { in TEST() argument
415 TEST(DynamicFloatMeanOpTest, KeepDims) { in TEST() argument
456 TEST(ConstUint8MeanOpTest, KeepDims) { in TEST() argument
608 TEST(DynamicUint8MeanOpTest, KeepDims) { in TEST() argument
666 TEST(ConstFloatSumOpTest, KeepDims) { in TEST() argument
725 TEST(DynamicFloatSumOpTest, KeepDims) { in TEST() argument
778 TEST(ConstUint8SumOpTest, KeepDims) { in TEST() argument
807 TEST(DynamicUint8SumOpTest, KeepDims) { in TEST() argument
854 TEST(ConstFloatProdOpTest, KeepDims) { in TEST() argument
895 TEST(DynamicFloatProdOpTest, KeepDims) { in TEST() argument
[all …]
/external/tensorflow/tensorflow/core/grappler/optimizers/
Dshape_optimizer_test.cc41 Output e = ops::ReduceProd(s.WithOpName("e"), c, d, attrs.KeepDims(false)); in TEST_F()
42 Output f = ops::ReduceProd(s.WithOpName("f"), c, d, attrs.KeepDims(true)); in TEST_F()
104 attrs.KeepDims(false)); in TEST_F()
Dlayout_optimizer.cc1949 if (KeepDims()) { in AddLayoutTransposeToOutputs()
1957 return KeepDims() || ((IsAlongAllFourDims() || IsAlongHWC() || in IsReduceAxisSupported()
1959 !KeepDims()); in IsReduceAxisSupported()
1994 bool KeepDims() const { return node_->attr().at("keep_dims").b(); } in KeepDims() function in tensorflow::grappler::__anon5a8ea6d90111::ReduceProcessor
Dgeneric_layout_optimizer_transposer.h430 bool KeepDims(const utils::MutableNodeView& node);
Dgeneric_layout_optimizer_transposer.cc1465 bool ReduceTransposer::KeepDims(const utils::MutableNodeView& node) { in KeepDims() function in tensorflow::grappler::ReduceTransposer
1506 if (KeepDims(node)) { in IsReduceAxisSupported()
1560 if (KeepDims(*node)) { in TransposeNode()
Dconstant_folding_test.cc2734 attr = attr.KeepDims(true); in TEST_F()
2803 attr = attr.KeepDims(false); in TEST_F()
2806 one_axis, attr.KeepDims(false)); in TEST_F()
2808 multiple_axes, attr.KeepDims(false)); in TEST_F()
2811 one_axis, attr.KeepDims(false)); in TEST_F()
2814 variable_axis, attr.KeepDims(false)); in TEST_F()
2817 multiple_axes, attr.KeepDims(true)); in TEST_F()
Dgeneric_layout_optimizer_transposer_test.cc392 auto attrs = ops::Sum::Attrs().KeepDims(true); in ReduceTransposerKeepDims()
/external/tensorflow/tensorflow/tools/graph_transforms/
Dquantize_nodes_test.cc528 dequantize_reduction_dims, Min::Attrs().KeepDims(false)); in TestRemoveRedundantQuantization()
532 dequantize_reduction_dims, Max::Attrs().KeepDims(false)); in TestRemoveRedundantQuantization()
627 dequantize_reduction_dims, Min::Attrs().KeepDims(false)); in TestRemoveRedundantQuantizationWithBiasAdd()
631 dequantize_reduction_dims, Max::Attrs().KeepDims(false)); in TestRemoveRedundantQuantizationWithBiasAdd()
753 dequantize_reduction_dims, Min::Attrs().KeepDims(false)); in TestRemoveRedundantQuantizationWithMultipleOutputs()
757 dequantize_reduction_dims, Max::Attrs().KeepDims(false)); in TestRemoveRedundantQuantizationWithMultipleOutputs()
1167 quantize_reduction_dims1, Min::Attrs().KeepDims(false)); in TestMergeDuplicateQuantizes()
1171 quantize_reduction_dims1, Max::Attrs().KeepDims(false)); in TestMergeDuplicateQuantizes()
1194 quantize_reduction_dims2, Min::Attrs().KeepDims(false)); in TestMergeDuplicateQuantizes()
1198 quantize_reduction_dims2, Max::Attrs().KeepDims(false)); in TestMergeDuplicateQuantizes()
/external/tensorflow/tensorflow/cc/gradients/
Dnn_grad.cc120 auto sum = Sum(scope, grad_inputs[0], {1}, Sum::KeepDims(true)); in LogSoftmaxGrad()
/external/tensorflow/tensorflow/lite/toco/graph_transformations/
Dpropagate_fixed_sizes.cc533 bool KeepDims(const Operator& op) { in KeepDims() function
564 const bool keep_dims = KeepDims(*op); in ProcessTensorFlowReductionOperator()