Home
last modified time | relevance | path

Searched refs:TensorData (Results 1 – 25 of 55) sorted by relevance

123

/external/tensorflow/tensorflow/lite/kernels/
Dmaximum_minimum_test.cc28 MaxMinOpModel(tflite::BuiltinOperator op, const TensorData& input1, in MaxMinOpModel()
29 const TensorData& input2, const TensorType& output) { in MaxMinOpModel()
61 void TestModel(tflite::BuiltinOperator op, const TensorData& input1, in TestModel()
62 const TensorData& input2, const TensorData& output, in TestModel()
75 void TestModel(tflite::BuiltinOperator op, const TensorData& input1, in TestModel()
76 const TensorData& input2, const TensorData& output, in TestModel()
Ddetection_postprocess_test.cc40 BaseDetectionPostprocessOpModel(const TensorData& input1, in BaseDetectionPostprocessOpModel()
41 const TensorData& input2, in BaseDetectionPostprocessOpModel()
42 const TensorData& input3, in BaseDetectionPostprocessOpModel()
43 const TensorData& output1, in BaseDetectionPostprocessOpModel()
44 const TensorData& output2, in BaseDetectionPostprocessOpModel()
45 const TensorData& output3, in BaseDetectionPostprocessOpModel()
46 const TensorData& output4) { in BaseDetectionPostprocessOpModel()
252 const TensorData& input1, const TensorData& input2, in DetectionPostprocessOpModelwithRegularNMS()
253 const TensorData& input3, const TensorData& output1, in DetectionPostprocessOpModelwithRegularNMS()
254 const TensorData& output2, const TensorData& output3, in DetectionPostprocessOpModelwithRegularNMS()
[all …]
Dreduce_test.cc60 MeanOpConstModel(const TensorData& input, const TensorData& output, in MeanOpConstModel()
75 MeanOpDynamicModel(const TensorData& input, const TensorData& output, in MeanOpDynamicModel()
76 const TensorData& axis, bool keep_dims) { in MeanOpDynamicModel()
89 SumOpConstModel(const TensorData& input, const TensorData& output, in SumOpConstModel()
104 SumOpDynamicModel(const TensorData& input, const TensorData& output, in SumOpDynamicModel()
105 const TensorData& axis, bool keep_dims) { in SumOpDynamicModel()
118 ProdOpConstModel(const TensorData& input, const TensorData& output, in ProdOpConstModel()
133 ProdOpDynamicModel(const TensorData& input, const TensorData& output, in ProdOpDynamicModel()
134 const TensorData& axis, bool keep_dims) { in ProdOpDynamicModel()
147 MaxOpConstModel(const TensorData& input, const TensorData& output, in MaxOpConstModel()
[all …]
Dpad_test.cc72 PadV2OpConstModel(const TensorData& input, in PadV2OpConstModel()
75 const TensorData& output) { in PadV2OpConstModel()
89 PadV2OpConstModel(const TensorData& input, in PadV2OpConstModel()
92 const TensorData& constant_values, in PadV2OpConstModel()
93 const TensorData& output) { in PadV2OpConstModel()
115 PadOpConstModel(const TensorData& input, in PadOpConstModel()
118 const TensorData& output) { in PadOpConstModel()
134 PadV2OpDynamicModel(const TensorData& input, in PadV2OpDynamicModel()
137 const TensorData& output) { in PadV2OpDynamicModel()
148 PadV2OpDynamicModel(const TensorData& input, in PadV2OpDynamicModel()
[all …]
Dtest_util.h87 struct TensorData { struct
88 TensorData(TensorType type = TensorType_FLOAT32, std::vector<int> shape = {},
159 return AddInput(TensorData{type}, is_variable);
161 int AddInput(const TensorData& t, bool is_variable = false);
167 int id = AddTensor(TensorData{type, shape}, data); in AddConstInput()
176 int AddOutput(TensorType type) { return AddOutput(TensorData{type}); } in AddOutput()
177 int AddOutput(const TensorData& t);
362 int AddTensorPerChannelQuant(TensorData t) { in AddTensorPerChannelQuant()
381 int AddTensor(TensorData t, std::initializer_list<T> data,
469 std::map<int, TensorData> tensor_data_;
Dmfcc_test.cc40 BaseMfccOpModel(const TensorData& input1, const TensorData& input2, in BaseMfccOpModel()
41 const TensorData& output) { in BaseMfccOpModel()
Dfloor_div_test.cc29 FloorDivModel(const TensorData& input1, const TensorData& input2, in FloorDivModel()
30 const TensorData& output) { in FloorDivModel()
Dpow_test.cc30 PowOpModel(const TensorData& input1, const TensorData& input2, in PowOpModel()
31 const TensorData& output) { in PowOpModel()
Ddepthwise_conv_test.cc44 const TensorData& input, in BaseDepthwiseConvolutionOpModel()
45 const TensorData& filter, in BaseDepthwiseConvolutionOpModel()
46 const TensorData& output, in BaseDepthwiseConvolutionOpModel()
71 TensorData bias{TensorType_INT32, in BaseDepthwiseConvolutionOpModel()
85 TensorData bias{TensorType_INT32, {bias_size}, 0, 0, bias_scale}; in BaseDepthwiseConvolutionOpModel()
Dfloor_mod_test.cc29 FloorModModel(const TensorData& input1, const TensorData& input2, in FloorModModel()
30 const TensorData& output) { in FloorModModel()
Dsquared_difference_test.cc28 BaseSquaredDifferenceOpModel(const TensorData& input1, in BaseSquaredDifferenceOpModel()
29 const TensorData& input2, in BaseSquaredDifferenceOpModel()
30 const TensorData& output) { in BaseSquaredDifferenceOpModel()
Dtranspose_conv_test.cc41 const TensorData& filter, const TensorData& input, in TransposeConvOpModel()
42 const TensorData& output, Padding padding, int stride_w, in TransposeConvOpModel()
Dspace_to_batch_nd_test.cc71 SpaceToBatchNDOpConstModel(const TensorData& input, in SpaceToBatchNDOpConstModel()
74 const TensorData& output) { in SpaceToBatchNDOpConstModel()
97 SpaceToBatchNDOpDynamicModel(const TensorData& input, in SpaceToBatchNDOpDynamicModel()
98 const TensorData& output) { in SpaceToBatchNDOpDynamicModel()
Dactivations_test.cc31 BaseActivationsOpModel(BuiltinOperator type, TensorData input) { in BaseActivationsOpModel()
45 BaseActivationsOpModel(float softmax_beta, TensorData input) { in BaseActivationsOpModel()
59 BaseActivationsOpModel(BuiltinOperator type, const TensorData& input, in BaseActivationsOpModel()
60 const TensorData& output) { in BaseActivationsOpModel()
839 BasePReluOpModel(const TensorData& input, const TensorData& alpha) { in BasePReluOpModel()
943 LeakyReluOpModel(const TensorData& input, float alpha) { in LeakyReluOpModel()
Dfully_connected_test.cc138 const TensorData& input, const TensorData& output = {TensorType_FLOAT32}, in BaseFullyConnectedOpModel()
163 TensorData bias{TensorType_INT32, {units_}, 0, 0, bias_scale};
276 HybridFullyConnectedOpModel(int units, int batches, const TensorData& input, in HybridFullyConnectedOpModel()
277 const TensorData& weights, in HybridFullyConnectedOpModel()
278 const TensorData& output = {TensorType_FLOAT32}) in HybridFullyConnectedOpModel()
289 TensorData bias{TensorType_FLOAT32, {units_}};
Dneg_test.cc28 NegOpModel(const TensorData& input, const TensorData& output) { in NegOpModel()
Ddiv_test.cc28 BaseDivOpModel(const TensorData& input1, const TensorData& input2, in BaseDivOpModel()
29 const TensorData& output, in BaseDivOpModel()
Dmirror_pad_test.cc29 BaseMirrorPadOpModel(const TensorData& input, in BaseMirrorPadOpModel()
30 const TensorData& padding_matrix, in BaseMirrorPadOpModel()
31 const TensorData& output, in BaseMirrorPadOpModel()
Dadd_n_test.cc30 BaseAddNOpModel(const std::vector<TensorData>& inputs, in BaseAddNOpModel()
31 const TensorData& output) { in BaseAddNOpModel()
Daudio_spectrogram_test.cc40 BaseAudioSpectrogramOpModel(const TensorData& input1, in BaseAudioSpectrogramOpModel()
41 const TensorData& output, int window_size, in BaseAudioSpectrogramOpModel()
Dsqueeze_test.cc29 BaseSqueezeOpModel(const TensorData& input, const TensorData& output, in BaseSqueezeOpModel()
Dfill_test.cc29 explicit FillOpModel(const TensorData& input1, const TensorData& input2) { in FillOpModel()
Dconcatenation_test.cc32 BaseConcatenationOpModel(const TensorData& input_template, int axis, in BaseConcatenationOpModel()
64 QuantizedConcatenationOpModel(const std::vector<TensorData>& input_template, in QuantizedConcatenationOpModel()
66 const TensorData& output_template) { in QuantizedConcatenationOpModel()
Dwhere_test.cc30 BaseWhereOpModel(const TensorData& input, const TensorData& output) { in BaseWhereOpModel()
/external/tensorflow/tensorflow/lite/delegates/nnapi/
Dnnapi_delegate_test.cc91 FloatAddOpModel(const TensorData& input1, const TensorData& input2, in FloatAddOpModel()
92 const TensorData& output, in FloatAddOpModel()
163 FloatMulOpModel(const TensorData& input1, const TensorData& input2, in FloatMulOpModel()
164 const TensorData& output, in FloatMulOpModel()
198 FloatPoolingOpModel(BuiltinOperator type, const TensorData& input, in FloatPoolingOpModel()
200 const TensorData& output) { in FloatPoolingOpModel()
266 const TensorData& input, const TensorData& filter, in ConvolutionOpModel()
267 const TensorData& output, int stride_width = 2, int stride_height = 2, in ConvolutionOpModel()
283 TensorData bias{TensorType_INT32, {bias_size}, 0, 0, bias_scale}; in ConvolutionOpModel()
449 DepthwiseConvolutionOpModel(const TensorData& input, const TensorData& filter, in DepthwiseConvolutionOpModel()
[all …]

123