Home
last modified time | relevance | path

Searched refs:input_values (Results 1 – 25 of 104) sorted by relevance

12345

/external/tensorflow/tensorflow/python/data/kernel_tests/
Dinterleave_test.py103 input_values=[[4, 5, 6]],
110 input_values=[[4, 5, 6]],
117 input_values=[[4, 5, 6]],
124 input_values=[[4, 5, 6]],
132 input_values=[[4, 0, 6]],
138 def testPythonImplementation(self, input_values, cycle_length, block_length, argument
140 input_lists = _repeat(input_values, 2)
151 input_values=[np.int64([4, 5, 6])],
155 input_values=[np.int64([4, 5, 6])],
159 input_values=[np.int64([4, 5, 6])],
[all …]
/external/tensorflow/tensorflow/lite/micro/kernels/
Darg_min_max_test.cc73 void TestArgMinMaxFloat(const int* input_dims_data, const float* input_values, in TestArgMinMaxFloat() argument
86 CreateFloatTensor(input_values, input_dims, "input_tensor"), in TestArgMinMaxFloat()
97 const float* input_values, T* input_quantized, in TestArgMinMaxQuantized() argument
112 CreateQuantizedTensor(input_values, input_quantized, input_dims, in TestArgMinMaxQuantized()
131 const float input_values[] = {0.1, 0.9, 0.7, 0.3}; in TF_LITE_MICRO_TEST() local
137 tflite::testing::TestArgMinMaxFloat(input_dims, input_values, axis_dims, in TF_LITE_MICRO_TEST()
145 const float input_values[] = {0.1, 0.9, 0.7, 0.3}; in TF_LITE_MICRO_TEST() local
151 tflite::testing::TestArgMinMaxFloat(input_dims, input_values, axis_dims, in TF_LITE_MICRO_TEST()
160 const float input_values[] = {1, 9, 7, 3}; in TF_LITE_MICRO_TEST() local
171 input_dims, input_values, input_quantized, input_scale, input_zero_point, in TF_LITE_MICRO_TEST()
[all …]
Dpad_test.cc250 const float input_values[] = {1, 2, 3, 4}; in TF_LITE_MICRO_TEST() local
258 tflite::testing::TestPadFloat(input_dims, input_values, pad_dims, pad_values, in TF_LITE_MICRO_TEST()
264 const float input_values[] = {42}; in TF_LITE_MICRO_TEST() local
276 tflite::testing::TestPadFloat(input_dims, input_values, pad_dims, pad_values, in TF_LITE_MICRO_TEST()
283 const float input_values[] = {1, 2, 3, 4}; in TF_LITE_MICRO_TEST() local
292 tflite::testing::TestPadV2Float(input_dims, input_values, pad_dims, in TF_LITE_MICRO_TEST()
299 const float input_values[] = {1, 2, 3, 4}; in TF_LITE_MICRO_TEST() local
314 input_dims, input_values, input_quantized, input_scale, input_zero_point, in TF_LITE_MICRO_TEST()
321 const float input_values[] = {1, 2, 3, 4}; in TF_LITE_MICRO_TEST() local
339 input_dims, input_values, input_quantized, input_scale, input_zero_point, in TF_LITE_MICRO_TEST()
[all …]
Ddepthwise_conv_test.cc257 const float input_values[] = {1, 2, 7, 8, 3, 4, 9, 10, 5, 6, 11, 12}; in TF_LITE_MICRO_TEST() local
273 input_shape, input_values, filter_shape, filter_values, bias_shape, in TF_LITE_MICRO_TEST()
280 const float input_values[] = {1, 2, 7, 8, 3, 4, 9, 10, 5, 6, 11, 12}; in TF_LITE_MICRO_TEST() local
309 input_shape, input_values, input_quantized, input_scale, input_zero_point, in TF_LITE_MICRO_TEST()
319 const float input_values[] = {1, 2, 7, 8, 3, 4, 9, 10, 5, 6, 11, 12}; in TF_LITE_MICRO_TEST() local
334 input_shape, input_values, filter_shape, filter_values, bias_shape, in TF_LITE_MICRO_TEST()
341 const float input_values[] = {1, 2, 7, 8, 3, 4, 9, 10, 5, 6, 11, 12}; in TF_LITE_MICRO_TEST() local
368 input_shape, input_values, input_quantized, input_scale, input_zero_point, in TF_LITE_MICRO_TEST()
377 const float input_values[] = {1, 2, 7, 8, 3, 4, 9, 10, 5, 6, 11, 12}; in TF_LITE_MICRO_TEST() local
406 input_shape, input_values, input_quantized, input_scale, input_zero_point, in TF_LITE_MICRO_TEST()
[all …]
Dceil_test.cc76 const float input_values[] = {8.5, 0.0}; in TF_LITE_MICRO_TEST() local
78 tflite::testing::TestCeil(input_dims, input_values, golden, output_data); in TF_LITE_MICRO_TEST()
84 const float input_values[] = { in TF_LITE_MICRO_TEST() local
89 tflite::testing::TestCeil(input_dims, input_values, golden, output_data); in TF_LITE_MICRO_TEST()
/external/tensorflow/tensorflow/lite/testing/
Dgenerate_testspec.cc44 std::vector<string> input_values; in GenerateInputValues() local
45 input_values.resize(input_layer.size()); in GenerateInputValues()
55 &input_values[i]); in GenerateInputValues()
60 &input_values[i]); in GenerateInputValues()
65 &input_values[i]); in GenerateInputValues()
70 &input_values[i]); in GenerateInputValues()
75 &input_values[i]); in GenerateInputValues()
80 input_values.clear(); in GenerateInputValues()
81 return input_values; in GenerateInputValues()
84 return input_values; in GenerateInputValues()
[all …]
/external/tensorflow/tensorflow/lite/testing/op_tests/
Dunidirectional_sequence_rnn.py41 input_values = []
49 input_values.append(input_value)
59 input_values.append(input_value)
61 outs, _ = tf.nn.static_rnn(rnn_cell, input_values, dtype=tf.float32)
65 return input_values, [real_output]
69 input_values = []
76 input_values.append(input_value)
81 input_values.append(input_value)
88 tflite_input_values = input_values
91 input_values[0].reshape(
[all …]
Dunidirectional_sequence_lstm.py42 input_values = []
50 input_values.append(input_value)
61 input_values.append(input_value)
64 outs, _ = tf.nn.static_rnn(lstm_cell, input_values, dtype=tf.float32)
68 return input_values, [real_output]
72 input_values = []
79 input_values.append(input_value)
84 input_values.append(input_value)
91 tflite_input_values = input_values
94 input_values[0].reshape(
[all …]
Dresolve_constant_strided_slice.py39 input_values = tf.compat.v1.placeholder(dtype=tf.float32, shape=[4, 2])
43 return [input_values], [input_values + data[:, :2]]
47 input_values = np.zeros([4, 2], dtype=np.float32)
48 return [input_values], sess.run(
49 outputs, feed_dict={inputs[0]: input_values})
Dexpand_dims.py67 input_values = []
68 input_values.append(
75 input_values.append(np.array([parameters["axis_value"]], dtype=np.int32))
76 return input_values, sess.run(
77 outputs, feed_dict=dict(zip(inputs, input_values)))
Dgather.py73 input_values = []
77 input_values.append(params)
81 input_values.append(indices)
82 return input_values, sess.run(
83 outputs, feed_dict=dict(zip(inputs, input_values)))
Done_hot.py65 input_values = [
75 input_values.append(
78 input_values.append(
82 return input_values, sess.run(
83 outputs, feed_dict=dict(zip(inputs, input_values)))
Dmirror_pad.py102 input_values = [create_tensor_data(tf.int32, parameters["input_shape"])]
104 input_values.append(np.array(parameters["padding_matrix"]))
105 return input_values, sess.run(
106 outputs, feed_dict=dict(zip(inputs, input_values)))
Dpool.py91 input_values = create_tensor_data(
94 input_values = create_tensor_data(tf.float32, parameters["input_shape"])
95 return [input_values], sess.run(
96 outputs, feed_dict=dict(zip(inputs, [input_values])))
Dlstm.py84 input_values = []
88 input_values.append(tensor_data)
89 out = sess.run(outputs, feed_dict=dict(zip(inputs, input_values)))
90 return input_values, out
Delu.py48 input_values = create_tensor_data(
50 return [input_values], sess.run(
51 outputs, feed_dict=dict(zip(inputs, [input_values])))
Dabs.py44 input_values = create_tensor_data(
46 return [input_values], sess.run(
47 outputs, feed_dict=dict(zip(inputs, [input_values])))
Dmatrix_diag.py46 input_values = create_tensor_data(parameters["input_dtype"],
48 return [input_values], sess.run(
49 outputs, feed_dict=dict(zip(inputs, [input_values])))
Dleaky_relu.py48 input_values = create_tensor_data(
50 return [input_values], sess.run(
51 outputs, feed_dict=dict(zip(inputs, [input_values])))
/external/tensorflow/tensorflow/python/data/experimental/kernel_tests/serialization/
Dinterleave_dataset_serialization_test.py36 def _build_iterator_graph(self, input_values, cycle_length, block_length, argument
39 return dataset_ops.Dataset.from_tensor_slices(input_values).repeat(
53 input_values = np.array([4, 5, 6], dtype=np.int64)
54 num_outputs = np.sum(input_values) * 2
58 input_values, cycle_length, block_length, num_parallel_calls),
/external/tensorflow/tensorflow/python/data/experimental/kernel_tests/
Dparallel_interleave_test.py58 def dataset_fn(self, input_values, cycle_length, block_length, sloppy, argument
79 return dataset_ops.Dataset.from_tensor_slices(input_values).repeat(
182 input_values=np.int64([4, 5, 6]),
203 input_values=np.int64([3, 7, 4]),
235 input_values=np.int64([4, 5, 6]),
275 input_values=np.int64([4, 5, 6]),
313 input_values=np.int64([4, 5, 6]),
354 input_values=np.int64([4, 5, 6]),
389 input_values=np.int64([]),
406 input_values=np.int64([0, 0, 0]),
[all …]
/external/vixl/tools/test_generator/
Dparser.py55 input_values): argument
59 self.input_values = input_values
78 values, default = self.input_values[identifier]
155 input_values = {
160 return DataTypeBuilder(operand_types, operand_variants, input_types, input_values)
/external/tensorflow/tensorflow/core/kernels/
Dserialize_sparse_op.cc58 const Tensor* input_values; in Compute() local
62 OP_REQUIRES_OK(context, context->input("sparse_values", &input_values)); in Compute()
69 OP_REQUIRES(context, TensorShapeUtils::IsVector(input_values->shape()), in Compute()
72 input_values->shape().DebugString())); in Compute()
84 OP_REQUIRES_OK(context, Serialize(*input_values, &serialized_sparse_t(1))); in Compute()
340 const Tensor* input_values; in Compute() local
343 OP_REQUIRES_OK(context, context->input("sparse_values", &input_values)); in Compute()
350 OP_REQUIRES(context, TensorShapeUtils::IsVector(input_values->shape()), in Compute()
353 input_values->shape().DebugString())); in Compute()
371 OP_REQUIRES_OK(context, SparseTensor::Create(*input_indices, *input_values, in Compute()
/external/tensorflow/tensorflow/lite/delegates/gpu/gl/compiler/
Dfuse_auto_input.cc59 std::vector<std::pair<ValueId, int>> input_values; in ApplyToNode() local
64 input_values.push_back({input_id, input_num}); in ApplyToNode()
96 input_values.pop_back(); // this value will not be used as input. in ApplyToNode()
209 for (int i = 0; i < input_values.size(); i++) { in ApplyToNode()
211 absl::StrAppend(&values, " value_", input_values[i].second, in ApplyToNode()
215 if (!graph->AddConsumer(node->id, input_values[i].first).ok()) { in ApplyToNode()
/external/tensorflow/tensorflow/compiler/xla/tests/
Ddynamic_ops_test.cc126 Literal input_values = in RunR1() local
141 auto input = ConstantLiteral(&builder, input_values); in RunR1()
152 Literal input_values = in RunR2() local
171 auto input = ConstantLiteral(&builder, input_values); in RunR2()
187 Literal input_values = in RunR3() local
205 auto input = ConstantLiteral(&builder, input_values); in RunR3()
405 Literal input_values = in RunR1() local
424 auto input = ConstantLiteral(&builder, input_values); in RunR1()
436 Literal input_values = in RunR2() local
458 auto input = ConstantLiteral(&builder, input_values); in RunR2()
[all …]

12345