/external/tensorflow/tensorflow/python/data/kernel_tests/ |
D | interleave_test.py | 103 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/ |
D | arg_min_max_test.cc | 73 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 …]
|
D | pad_test.cc | 250 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 …]
|
D | depthwise_conv_test.cc | 257 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 …]
|
D | ceil_test.cc | 76 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/ |
D | generate_testspec.cc | 44 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/ |
D | unidirectional_sequence_rnn.py | 41 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 …]
|
D | unidirectional_sequence_lstm.py | 42 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 …]
|
D | resolve_constant_strided_slice.py | 39 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})
|
D | expand_dims.py | 67 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)))
|
D | gather.py | 73 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)))
|
D | one_hot.py | 65 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)))
|
D | mirror_pad.py | 102 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)))
|
D | pool.py | 91 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])))
|
D | lstm.py | 84 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
|
D | elu.py | 48 input_values = create_tensor_data( 50 return [input_values], sess.run( 51 outputs, feed_dict=dict(zip(inputs, [input_values])))
|
D | abs.py | 44 input_values = create_tensor_data( 46 return [input_values], sess.run( 47 outputs, feed_dict=dict(zip(inputs, [input_values])))
|
D | matrix_diag.py | 46 input_values = create_tensor_data(parameters["input_dtype"], 48 return [input_values], sess.run( 49 outputs, feed_dict=dict(zip(inputs, [input_values])))
|
D | leaky_relu.py | 48 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/ |
D | interleave_dataset_serialization_test.py | 36 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/ |
D | parallel_interleave_test.py | 58 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/ |
D | parser.py | 55 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/ |
D | serialize_sparse_op.cc | 58 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/ |
D | fuse_auto_input.cc | 59 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/ |
D | dynamic_ops_test.cc | 126 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 …]
|