Home
last modified time | relevance | path

Searched refs:PopulateTensor (Results 1 – 25 of 160) sorted by relevance

1234567

/external/tensorflow/tensorflow/lite/kernels/
Dselect_test.cc90 model.PopulateTensor<bool>(model.input1(), {true, false, true, false}); in TEST()
91 model.PopulateTensor<bool>(model.input2(), {false, false, false, false}); in TEST()
92 model.PopulateTensor<bool>(model.input3(), {true, true, true, true}); in TEST()
104 model.PopulateTensor<bool>(model.input1(), {true, false, true, false}); in TEST()
105 model.PopulateTensor<float>(model.input2(), {0.1, 0.2, 0.3, 0.4}); in TEST()
106 model.PopulateTensor<float>(model.input3(), {0.5, 0.6, 0.7, 0.8}); in TEST()
117 model.PopulateTensor<bool>(model.input1(), {false, true, false, false}); in TEST()
118 model.PopulateTensor<uint8_t>(model.input2(), {1, 2, 3, 4}); in TEST()
119 model.PopulateTensor<uint8_t>(model.input3(), {5, 6, 7, 8}); in TEST()
130 model.PopulateTensor<bool>(model.input1(), {false, true, false, false}); in TEST()
[all …]
Dsparse_to_dense_test.cc48 PopulateTensor<T>(default_value_, {default_value}); in SparseToDenseOpModel()
69 m.PopulateTensor<int32_t>(m.indices(), {3}); in TEST()
70 m.PopulateTensor<int32_t>(m.output_shape(), {5}); in TEST()
71 m.PopulateTensor<float>(m.values(), {7}); in TEST()
81 m.PopulateTensor<int32_t>(m.indices(), {1, 3, 5}); in TEST()
82 m.PopulateTensor<int32_t>(m.output_shape(), {7}); in TEST()
83 m.PopulateTensor<float>(m.values(), {2, 4, 6}); in TEST()
93 m.PopulateTensor<int32_t>(m.indices(), {0, 0, 0, 1, 2, 1, 2, 0, 1}); in TEST()
94 m.PopulateTensor<int32_t>(m.output_shape(), {3, 3, 3}); in TEST()
95 m.PopulateTensor<float>(m.values(), {2, 4, 6}); in TEST()
[all …]
Dmirror_pad_test.cc57 model.PopulateTensor<int>(model.input_tensor_id(), {1, 2, 3, 4, 5, 6}); in TEST()
58 model.PopulateTensor<int>(model.padding_matrix_tensor_id(), {0, 0, 0, 0}); in TEST()
67 model.PopulateTensor<int>(model.input_tensor_id(), {1, 2, 3, 4, 5, 6}); in TEST()
68 model.PopulateTensor<int>(model.padding_matrix_tensor_id(), {0, 1, 0, 1}); in TEST()
78 model.PopulateTensor<int>(model.input_tensor_id(), {1, 2, 3, 4, 5, 6}); in TEST()
79 model.PopulateTensor<int>(model.padding_matrix_tensor_id(), {1, 0, 1, 0}); in TEST()
89 model.PopulateTensor<int>(model.input_tensor_id(), {1, 2, 3, 4, 5, 6}); in TEST()
90 model.PopulateTensor<int>(model.padding_matrix_tensor_id(), {0, 1, 0, 1}); in TEST()
100 model.PopulateTensor<int>(model.input_tensor_id(), {1, 2, 3, 4, 5, 6}); in TEST()
101 model.PopulateTensor<int>(model.padding_matrix_tensor_id(), {1, 0, 1, 0}); in TEST()
[all …]
Drange_test.cc57 model.PopulateTensor<int32_t>(model.start(), {0}); in TEST()
58 model.PopulateTensor<int32_t>(model.limit(), {4}); in TEST()
59 model.PopulateTensor<int32_t>(model.delta(), {1}); in TEST()
67 model.PopulateTensor<int32_t>(model.start(), {2}); in TEST()
68 model.PopulateTensor<int32_t>(model.limit(), {9}); in TEST()
69 model.PopulateTensor<int32_t>(model.delta(), {2}); in TEST()
77 model.PopulateTensor<int32_t>(model.start(), {10}); in TEST()
78 model.PopulateTensor<int32_t>(model.limit(), {3}); in TEST()
79 model.PopulateTensor<int32_t>(model.delta(), {-3}); in TEST()
87 model.PopulateTensor<float>(model.start(), {0}); in TEST()
[all …]
Dreverse_test.cc59 model.PopulateTensor<float>(model.input(), {1, 2, 3, 4}); in TEST()
60 model.PopulateTensor<int32_t>(model.axis(), {0}); in TEST()
70 model.PopulateTensor<float>(model.input(), in TEST()
73 model.PopulateTensor<int32_t>(model.axis(), {1}); in TEST()
87 model.PopulateTensor<int32_t>(model.input(), {1, 2, 3, 4}); in TEST()
88 model.PopulateTensor<int32_t>(model.axis(), {0}); in TEST()
98 model.PopulateTensor<int32_t>( in TEST()
101 model.PopulateTensor<int32_t>(model.axis(), {1}); in TEST()
115 model.PopulateTensor<int64_t>(model.input(), {1, 2, 3, 4}); in TEST()
116 model.PopulateTensor<int32_t>(model.axis(), {0}); in TEST()
[all …]
Dsegment_sum_test.cc53 model.PopulateTensor<int32_t>(model.data(), in TEST()
55 model.PopulateTensor<int32_t>(model.segment_ids(), {0, 0, 1}); in TEST()
64 model.PopulateTensor<int32_t>(model.data(), {1, 2, 3}); in TEST()
65 model.PopulateTensor<int32_t>(model.segment_ids(), {0, 0, 1}); in TEST()
74 model.PopulateTensor<int32_t>(model.data(), {1, 2, 3, 4, 5, 6}); in TEST()
75 model.PopulateTensor<int32_t>(model.segment_ids(), {0, 0, 1}); in TEST()
84 model.PopulateTensor<float>(model.data(), in TEST()
86 model.PopulateTensor<int>(model.segment_ids(), {0, 0, 1}); in TEST()
96 model.PopulateTensor<float>(model.data(), {1, 2, 3}); in TEST()
97 model.PopulateTensor<int32_t>(model.segment_ids(), {0, 0, 1}); in TEST()
[all …]
Dreverse_sequence_test.cc61 model.PopulateTensor<float>(model.input(), in TEST()
64 model.PopulateTensor<int32_t>(model.seq_lengths(), {3, 2, 3, 3}); in TEST()
76 model.PopulateTensor<float>(model.input(), in TEST()
79 model.PopulateTensor<int32_t>(model.seq_lengths(), {3, 4}); in TEST()
91 model.PopulateTensor<int32_t>( in TEST()
94 model.PopulateTensor<int32_t>(model.seq_lengths(), {3, 2, 3, 3}); in TEST()
106 model.PopulateTensor<int32_t>( in TEST()
109 model.PopulateTensor<int32_t>(model.seq_lengths(), {3, 4}); in TEST()
121 model.PopulateTensor<int64_t>( in TEST()
124 model.PopulateTensor<int32_t>(model.seq_lengths(), {3, 2, 3, 3}); in TEST()
[all …]
Dcomparisons_test.cc105 model.PopulateTensor<bool>(model.input1(), {true, false, true, false}); in TEST()
106 model.PopulateTensor<bool>(model.input2(), {true, true, false, false}); in TEST()
116 model.PopulateTensor<float>(model.input1(), {0.1, 0.9, 0.7, 0.3}); in TEST()
117 model.PopulateTensor<float>(model.input2(), {0.1, 0.2, 0.6, 0.5}); in TEST()
127 model.PopulateTensor<int>(model.input1(), {-1, 9, 7, 3}); in TEST()
128 model.PopulateTensor<int>(model.input2(), {1, 2, 7, 5}); in TEST()
141 model.PopulateTensor<std::string>(model.input1(), {"A", "B", "C", "D"}); in TEST()
142 model.PopulateTensor<std::string>(model.input2(), {"A", "C", "B", "D"}); in TEST()
152 model.PopulateTensor<int>(model.input1(), {-1, 9, 7, 3}); in TEST()
153 model.PopulateTensor<int>(model.input2(), {7}); in TEST()
[all …]
Dcumsum_test.cc62 m.PopulateTensor<int>(m.input(), {1, 2, 3, 4, 5, 6, 7, 8}); in TEST()
63 m.PopulateTensor<int>(m.axis(), {1}); in TEST()
75 m.PopulateTensor<int64_t>( in TEST()
78 m.PopulateTensor<int>(m.axis(), {1}); in TEST()
92 m.PopulateTensor<int>(m.input(), {1, 2, 3, 4, 5, 6, 7, 8}); in TEST()
93 m.PopulateTensor<int>(m.axis(), {0}); in TEST()
105 m.PopulateTensor<int>(m.input(), {1, 2, 3, 4, 5, 6, 7, 8}); in TEST()
106 m.PopulateTensor<int>(m.axis(), {0}); in TEST()
118 m.PopulateTensor<int>(m.input(), {1, 2, 3, 4, 5, 6, 7, 8}); in TEST()
119 m.PopulateTensor<int>(m.axis(), {1}); in TEST()
[all …]
Doptional_tensor_test.cc112 PopulateTensor(input_to_input_weights_, f); in SetInputToInputWeights()
116 PopulateTensor(input_to_forget_weights_, f); in SetInputToForgetWeights()
120 PopulateTensor(input_to_cell_weights_, f); in SetInputToCellWeights()
124 PopulateTensor(input_to_output_weights_, f); in SetInputToOutputWeights()
128 PopulateTensor(recurrent_to_input_weights_, f); in SetRecurrentToInputWeights()
132 PopulateTensor(recurrent_to_forget_weights_, f); in SetRecurrentToForgetWeights()
136 PopulateTensor(recurrent_to_cell_weights_, f); in SetRecurrentToCellWeights()
140 PopulateTensor(recurrent_to_output_weights_, f); in SetRecurrentToOutputWeights()
144 PopulateTensor(cell_to_input_weights_, f); in SetCellToInputWeights()
148 PopulateTensor(cell_to_forget_weights_, f); in SetCellToForgetWeights()
[all …]
Dfloor_mod_test.cc58 model.PopulateTensor<int32_t>(model.input1(), {10, 9, 11, 3}); in TEST()
59 model.PopulateTensor<int32_t>(model.input2(), {2, 2, 3, 4}); in TEST()
69 model.PopulateTensor<int32_t>(model.input1(), {10, -9, -11, 7}); in TEST()
70 model.PopulateTensor<int32_t>(model.input2(), {2, 2, -3, -4}); in TEST()
79 model.PopulateTensor<int32_t>(model.input1(), {10, -9, -11, 7}); in TEST()
80 model.PopulateTensor<int32_t>(model.input2(), {-3}); in TEST()
89 model.PopulateTensor<int64_t>(model.input1(), {10, -9, -11, (1LL << 34) + 9}); in TEST()
90 model.PopulateTensor<int64_t>(model.input2(), {-(1LL << 33)}); in TEST()
101 model.PopulateTensor<float>(model.input1(), {10, 9, 11, 3}); in TEST()
102 model.PopulateTensor<float>(model.input2(), {2, 2, 3, 4}); in TEST()
[all …]
Dpow_test.cc61 model.PopulateTensor<int32_t>(model.input1(), {12, 2, 7, 8}); in TEST()
62 model.PopulateTensor<int32_t>(model.input2(), {1, 2, 3, 1}); in TEST()
72 model.PopulateTensor<int32_t>(model.input1(), {0, 2, -7, 8}); in TEST()
73 model.PopulateTensor<int32_t>(model.input2(), {1, 2, 3, 0}); in TEST()
83 model.PopulateTensor<float>(model.input1(), {0.3, 0.4, 0.7, 5.8}); in TEST()
84 model.PopulateTensor<float>(model.input2(), {0.5, 2.7, 3.1, 3.2}); in TEST()
96 model.PopulateTensor<float>(model.input1(), {0.3, 0.4, 0.7, 5.8}); in TEST()
97 model.PopulateTensor<float>(model.input2(), {0.5, -2.7, 3.1, -3.2}); in TEST()
108 model.PopulateTensor<int32_t>(model.input1(), {12, 2, 7, 8}); in TEST()
109 model.PopulateTensor<int32_t>(model.input2(), {4}); in TEST()
[all …]
Dfloor_div_test.cc58 model.PopulateTensor<int32_t>(model.input1(), {10, 9, 11, 3}); in TEST()
59 model.PopulateTensor<int32_t>(model.input2(), {2, 2, 3, 4}); in TEST()
69 model.PopulateTensor<int32_t>(model.input1(), {10, -9, -11, 7}); in TEST()
70 model.PopulateTensor<int32_t>(model.input2(), {2, 2, -3, -4}); in TEST()
79 model.PopulateTensor<int32_t>(model.input1(), {10, -9, -11, 7}); in TEST()
80 model.PopulateTensor<int32_t>(model.input2(), {-3}); in TEST()
90 model.PopulateTensor<float>(model.input1(), {10.05, 9.09, 11.9, 3.01}); in TEST()
91 model.PopulateTensor<float>(model.input2(), {2.05, 2.03, 3.03, 4.03}); in TEST()
101 model.PopulateTensor<float>(model.input1(), {10.03, -9.9, -11.0, 7.0}); in TEST()
102 model.PopulateTensor<float>(model.input2(), {2.0, 2.3, -3.0, -4.1}); in TEST()
[all …]
Dcast_test.cc51 m.PopulateTensor<int16_t>(m.input(), {100, 200, 300, 400, 500, 600}); in TEST()
59 m.PopulateTensor<int16_t>(m.input(), {100, 200, 300, 400, 500, 600}); in TEST()
67 m.PopulateTensor<int32_t>(m.input(), {100, 200, 300, 400, 500, 600}); in TEST()
75 m.PopulateTensor<float>(m.input(), {100.f, 20.f, 3.f, 0.4f, 0.999f, 1.1f}); in TEST()
83 m.PopulateTensor<float>(m.input(), {100.f, 20.f, 3.f, 0.4f, 0.999f, 1.1f}); in TEST()
91 m.PopulateTensor<int64_t>(m.input(), {100, 200, 300, 400, 500, 600}); in TEST()
99 m.PopulateTensor<float>(m.input(), {100.f, 20.f, 3.f, 0.4f, 0.999f, 1.1f}); in TEST()
107 m.PopulateTensor<float>(m.input(), {100.f, -1.0f, 0.f, 0.4f, 0.999f, 1.1f}); in TEST()
115 m.PopulateTensor<bool>(m.input(), {true, true, false, true, false, true}); in TEST()
123 m.PopulateTensor<float>(m.input(), {100.f, 1.0f, 0.f, 0.4f, 1.999f, 1.1f}); in TEST()
[all …]
Ddiv_test.cc89 m.PopulateTensor<float>(m.input1(), {-0.2, 0.2, -1.2, 0.8}); in TEST()
90 m.PopulateTensor<float>(m.input2(), {0.5, 0.2, -1.5, 0.5}); in TEST()
100 m.PopulateTensor<float>(m.input1(), {-0.2, 0.2, -1.2, 0.8}); in TEST()
101 m.PopulateTensor<float>(m.input2(), {0.1, 0.2, -1.5, 0.5}); in TEST()
114 m.PopulateTensor<float>(m.input1(), {-2.0, 0.2, 0.3, 0.8, 1.1, -2.0}); in TEST()
115 m.PopulateTensor<float>(m.input2(), {0.1, 0.2, 0.6, 0.5, -1.1, -0.1}); in TEST()
131 m.PopulateTensor<float>(m.input1(), in TEST()
133 m.PopulateTensor<float>(m.input2(), {0.1}); in TEST()
148 m.PopulateTensor<float>(m.input1(), in TEST()
150 m.PopulateTensor<float>(m.input2(), {0.1}); in TEST()
[all …]
Dmul_test.cc97 m.PopulateTensor<float>(m.input1(), {-2.0, 0.2, 0.7, 0.8}); in TEST()
98 m.PopulateTensor<float>(m.input2(), {0.1, 0.2, 0.3, 0.5}); in TEST()
108 m.PopulateTensor<float>(m.input1(), {-2.0, 0.2, 0.7, 0.8}); in TEST()
109 m.PopulateTensor<float>(m.input2(), {0.1, 0.2, 0.3, 5}); in TEST()
122 m.PopulateTensor<float>(m.input1(), {-2.0, 0.2, 0.7, 0.8, 1.1, 2.0}); in TEST()
123 m.PopulateTensor<float>(m.input2(), {0.1, 0.2, 0.3, 0.5, 1.1, 0.1}); in TEST()
139 m.PopulateTensor<float>(m.input1(), {-2.0, 0.2, 0.7, 0.8, 1.1, 2.0}); in TEST()
140 m.PopulateTensor<float>(m.input2(), {0.1}); in TEST()
156 m.PopulateTensor<float>(m.input1(), in TEST()
158 m.PopulateTensor<float>(m.input2(), {0.1, 0.2, 0.3, 0.4}); in TEST()
[all …]
Drfft2d_test.cc64 model.PopulateTensor<float>(model.input(), in TEST()
70 model.PopulateTensor<int32_t>(model.fft_lengths(), {4, 4}); in TEST()
82 model.PopulateTensor<float>(model.input(), in TEST()
88 model.PopulateTensor<int32_t>(model.fft_lengths(), {4, 4}); in TEST()
100 model.PopulateTensor<float>(model.input(), in TEST()
105 model.PopulateTensor<int32_t>(model.fft_lengths(), {4, 8}); in TEST()
125 model.PopulateTensor<float>(model.input(), in TEST()
131 model.PopulateTensor<int32_t>(model.fft_lengths(), {2, 4}); in TEST()
Dlogical_test.cc70 model.PopulateTensor<bool>(model.input1(), {true, false, false, true}); in TEST()
71 model.PopulateTensor<bool>(model.input2(), {true, false, true, false}); in TEST()
80 model.PopulateTensor<bool>(model.input1(), {true, false, false, true}); in TEST()
81 model.PopulateTensor<bool>(model.input2(), {false}); in TEST()
90 model.PopulateTensor<bool>(model.input1(), {true, false, false, true}); in TEST()
91 model.PopulateTensor<bool>(model.input2(), {true, false, true, false}); in TEST()
100 model.PopulateTensor<bool>(model.input1(), {true, false, false, true}); in TEST()
101 model.PopulateTensor<bool>(model.input2(), {true}); in TEST()
Dwhere_test.cc80 m.PopulateTensor<bool>(m.input(), {false, false, false}); in TEST()
87 m.PopulateTensor<bool>(m.input(), {true, false, true}); in TEST()
94 m.PopulateTensor<bool>(m.input(), {false, false, false, // in TEST()
103 m.PopulateTensor<bool>(m.input(), {true, false, true}); in TEST()
111 m.PopulateTensor<bool>(m.input(), {true, true, false, // in TEST()
124 m.PopulateTensor<bool>(m.input(), {true, false, false, true, true, // in TEST()
139 m.PopulateTensor<bool>(m.input(), {false, false, false, false, // in TEST()
147 m.PopulateTensor<bool>(m.input(), {true, false, true, // in TEST()
157 m.PopulateTensor<bool>(m.input(), {true, true, false, true, // in TEST()
169 m.PopulateTensor<bool>(m.input(), {true, true, false, true, false, false, // in TEST()
Darg_min_max_test.cc67 PopulateTensor<int32_t>(axis(), {axis_value_}); in PopulateAxisIfNeeded()
69 PopulateTensor<int64_t>(axis(), {axis_value_}); in PopulateAxisIfNeeded()
145 model.PopulateTensor<float>(model.input(), {0.1, 0.9, 0.7, 0.3}); in TEST_P()
155 model.PopulateTensor<uint8_t>(model.input(), {1, 9, 7, 3}); in TEST_P()
165 model.PopulateTensor<int8_t>(model.input(), {-1, -9, 7, 3}); in TEST_P()
175 model.PopulateTensor<int>(model.input(), {1, 9, 7, 3}); in TEST_P()
185 model.PopulateTensor<int>(model.input(), {1, 2, 7, 8, 1, 9, 7, 3}); in TEST_P()
195 model.PopulateTensor<int>(model.input(), {1, 2, 7, 8, 1, 9, 7, 3}); in TEST_P()
205 model.PopulateTensor<int>(model.input(), {10, 2, 7, 8, 1, 9, 7, 3}); in TEST_P()
215 model.PopulateTensor<float>(model.input(), {0.1, 0.9, 0.7, 0.3}); in TEST_P()
[all …]
Dbatch_matmul_test.cc83 model.PopulateTensor<float>(model.lhs(), {1, 2, 3, 4, 5, 6}); in TEST_P()
84 model.PopulateTensor<float>(model.rhs(), in TEST_P()
95 model.PopulateTensor<float>(model.lhs(), {1, 2, 3, 4, 5, 6}); in TEST_P()
96 model.PopulateTensor<float>(model.rhs(), in TEST_P()
107 model.PopulateTensor<float>(model.lhs(), {1, 4, 2, 5, 3, 6}); in TEST_P()
108 model.PopulateTensor<float>(model.rhs(), in TEST_P()
119 model.PopulateTensor<float>(model.lhs(), in TEST_P()
121 model.PopulateTensor<float>(model.rhs(), in TEST_P()
135 model.PopulateTensor<float>(model.lhs(), in TEST_P()
137 model.PopulateTensor<float>(model.rhs(), in TEST_P()
[all …]
/external/tensorflow/tensorflow/lite/micro/kernels/
Dfloor_mod_test.cc35 model.PopulateTensor<int32_t>(model.input1(), {10, 9, 11, 3}); in TF_LITE_MICRO_TEST()
36 model.PopulateTensor<int32_t>(model.input2(), {2, 2, 3, 4}); in TF_LITE_MICRO_TEST()
46 model.PopulateTensor<int32_t>(model.input1(), {10, -9, -11, 7}); in TF_LITE_MICRO_TEST()
47 model.PopulateTensor<int32_t>(model.input2(), {2, 2, -3, -4}); in TF_LITE_MICRO_TEST()
56 model.PopulateTensor<int32_t>(model.input1(), {10, -9, -11, 7}); in TF_LITE_MICRO_TEST()
57 model.PopulateTensor<int32_t>(model.input2(), {-3}); in TF_LITE_MICRO_TEST()
66 model.PopulateTensor<int64_t>(model.input1(), {10, -9, -11, (1LL << 34) + 9}); in TF_LITE_MICRO_TEST()
67 model.PopulateTensor<int64_t>(model.input2(), {-(1LL << 33)}); in TF_LITE_MICRO_TEST()
78 model.PopulateTensor<float>(model.input1(), {10, 9, 11, 3}); in TF_LITE_MICRO_TEST()
79 model.PopulateTensor<float>(model.input2(), {2, 2, 3, 4}); in TF_LITE_MICRO_TEST()
[all …]
Dfloor_div_test.cc35 model.PopulateTensor<int32_t>(model.input1(), {10, 9, 11, 3}); in TF_LITE_MICRO_TEST()
36 model.PopulateTensor<int32_t>(model.input2(), {2, 2, 3, 4}); in TF_LITE_MICRO_TEST()
46 model.PopulateTensor<int32_t>(model.input1(), {10, -9, -11, 7}); in TF_LITE_MICRO_TEST()
47 model.PopulateTensor<int32_t>(model.input2(), {2, 2, -3, -4}); in TF_LITE_MICRO_TEST()
56 model.PopulateTensor<int32_t>(model.input1(), {10, -9, -11, 7}); in TF_LITE_MICRO_TEST()
57 model.PopulateTensor<int32_t>(model.input2(), {-3}); in TF_LITE_MICRO_TEST()
67 model.PopulateTensor<float>(model.input1(), {10.05, 9.09, 11.9, 3.01}); in TF_LITE_MICRO_TEST()
68 model.PopulateTensor<float>(model.input2(), {2.05, 2.03, 3.03, 4.03}); in TF_LITE_MICRO_TEST()
78 model.PopulateTensor<float>(model.input1(), {10.03, -9.9, -11.0, 7.0}); in TF_LITE_MICRO_TEST()
79 model.PopulateTensor<float>(model.input2(), {2.0, 2.3, -3.0, -4.1}); in TF_LITE_MICRO_TEST()
[all …]
Ddiv_test.cc87 m.PopulateTensor<float>(m.input1(), {-0.2, 0.2, -1.2, 0.8}); in TEST()
88 m.PopulateTensor<float>(m.input2(), {0.5, 0.2, -1.5, 0.5}); in TEST()
98 m.PopulateTensor<float>(m.input1(), {-0.2, 0.2, -1.2, 0.8}); in TEST()
99 m.PopulateTensor<float>(m.input2(), {0.1, 0.2, -1.5, 0.5}); in TEST()
112 m.PopulateTensor<float>(m.input1(), {-2.0, 0.2, 0.3, 0.8, 1.1, -2.0}); in TEST()
113 m.PopulateTensor<float>(m.input2(), {0.1, 0.2, 0.6, 0.5, -1.1, -0.1}); in TEST()
129 m.PopulateTensor<float>(m.input1(), in TEST()
131 m.PopulateTensor<float>(m.input2(), {0.1}); in TEST()
146 m.PopulateTensor<float>(m.input1(), in TEST()
148 m.PopulateTensor<float>(m.input2(), {0.1}); in TEST()
[all …]
/external/tensorflow/tensorflow/lite/delegates/gpu/gl/kernels/
Delementwise_test.cc46 ASSERT_TRUE(model.PopulateTensor(0, {0.0, -6.2, 2.0, 4.0})); in TEST()
58 ASSERT_TRUE(model.PopulateTensor(0, {0.0, 3.1415926, -3.1415926, 1})); in TEST()
70 ASSERT_TRUE(model.PopulateTensor(0, {0.0, -6.2, 2.0, 4.0})); in TEST()
81 ASSERT_TRUE(model.PopulateTensor( in TEST()
96 ASSERT_TRUE(model.PopulateTensor( in TEST()
113 model.PopulateTensor(0, {-4.5f, -3.0f, -1.5f, 0.0f, 1.5f, 3.0f, 4.5f})); in TEST()
126 ASSERT_TRUE(model.PopulateTensor(0, {1.0, 3.1415926, 1.0, 1.0})); in TEST()
138 ASSERT_TRUE(model.PopulateTensor(0, {1.0, -3.1415926, 0.0, 1.0})); in TEST()
150 ASSERT_TRUE(model.PopulateTensor(0, {1.0, 2.0, 4.0, 9.0})); in TEST()
162 ASSERT_TRUE(model.PopulateTensor(0, {0.0, -6.0, 2.0, 4.0})); in TEST()
[all …]

1234567