/external/tensorflow/tensorflow/python/kernel_tests/ |
D | regex_replace_op_test.py | 54 input_vector = constant_op.constant(values, dtypes.string) 55 stripped = op(input_vector, "^(a:|b:)", "", replace_global=False).eval() 63 input_vector = constant_op.constant(values, dtypes.string) 64 stripped = op(input_vector, "a.*a", "(\\0)").eval() 71 input_vector = constant_op.constant(values, dtypes.string) 72 stripped = op(input_vector, "", "x").eval() 79 input_vector = constant_op.constant(values, dtypes.string) 81 replace = op(input_vector, invalid_pattern, "x") 89 input_vector = constant_op.constant(values, dtypes.string) 90 stripped = op(input_vector, "ab", "abc", True).eval() [all …]
|
D | unicode_script_op_test.py | 39 input_vector = constant_op.constant(inputs, dtypes.int32) 40 outputs = string_ops.unicode_script(input_vector).eval() 54 input_vector = constant_op.constant(inputs, dtypes.int32) 55 outputs = string_ops.unicode_script(input_vector).eval()
|
/external/tensorflow/tensorflow/lite/kernels/internal/reference/ |
D | portable_tensor_utils.cc | 313 void PortableReductionSumVector(const float* input_vector, float* output_vector, in PortableReductionSumVector() argument 315 const float* input_vector_ptr = input_vector; in PortableReductionSumVector() 323 void PortableMeanStddevNormalization(const float* input_vector, in PortableMeanStddevNormalization() argument 330 sum += input_vector[i]; in PortableMeanStddevNormalization() 331 sum_sq += input_vector[i] * input_vector[i]; in PortableMeanStddevNormalization() 342 output_vector[i] = (input_vector[i] - mean) * stddev_inv; in PortableMeanStddevNormalization() 344 input_vector += v_size; in PortableMeanStddevNormalization()
|
D | portable_tensor_utils.h | 139 void PortableReductionSumVector(const float* input_vector, float* output_vector, 144 void PortableMeanStddevNormalization(const float* input_vector, 279 void ReductionSumVector(const float* input_vector, float* output_vector, in ReductionSumVector() argument 281 PortableReductionSumVector(input_vector, output_vector, output_size, in ReductionSumVector() 285 void MeanStddevNormalization(const float* input_vector, float* output_vector, in MeanStddevNormalization() argument 288 PortableMeanStddevNormalization(input_vector, output_vector, v_size, n_batch, in MeanStddevNormalization()
|
/external/tensorflow/tensorflow/compiler/xrt/kernels/ |
D | xrt_state_ops.h | 71 std::vector<XRTTupleAllocation::ExpandedTupleInput>* input_vector, in ParseTupleNode() argument 81 tuple_node.tuples(i), input_tensor_list, input_vector, in ParseTupleNode() 87 if (input_index < 0 || input_index >= input_vector->size()) { in ParseTupleNode() 90 input_vector->size(), " inputs."); in ParseTupleNode() 94 input_vector->at(input_index); in ParseTupleNode() 123 std::vector<XRTTupleAllocation::ExpandedTupleInput>* input_vector, in ParseTupleTree() argument 131 input_vector, &tuple_tree_shape, rm)); in ParseTupleTree() 149 *element = input_vector->at(input_index); in ParseTupleTree() 399 std::vector<XRTTupleAllocation::ExpandedTupleInput> input_vector( in Compute() 401 auto cleanup = gtl::MakeCleanup([&input_vector] { in Compute() [all …]
|
/external/tensorflow/tensorflow/compiler/xla/tests/ |
D | reverse_test.cc | 82 std::vector<float> input_vector( in TEST_P() local 84 std::iota(input_vector.begin(), input_vector.end(), 0.0); in TEST_P() 85 auto r1_literal = LiteralUtil::CreateR1<float>(input_vector); in TEST_P()
|
D | reduce_window_test.cc | 482 std::vector<float> input_vector(128 * 9, 1); in XLA_TEST_P() local 484 LiteralUtil::CreateR1<float>(input_vector), &builder_); in XLA_TEST_P() 493 std::vector<float> input_vector{ in XLA_TEST_P() local 503 LiteralUtil::CreateR1<float>(input_vector), &builder_); in XLA_TEST_P() 510 std::vector<float> input_vector{ in XLA_TEST_P() local 520 LiteralUtil::CreateR1<float>(input_vector), &builder_); in XLA_TEST_P() 1355 std::vector<float> input_vector(param.base_bounds[0]); in TEST_P() local 1356 std::iota(std::begin(input_vector), std::end(input_vector), 0); in TEST_P() 1358 LiteralUtil::CreateR1(absl::Span<const float>(input_vector)); in TEST_P() 1385 /*operand=*/absl::Span<const float>(input_vector), in TEST_P()
|
/external/tensorflow/tensorflow/lite/kernels/internal/optimized/ |
D | neon_tensor_utils.h | 158 void ReductionSumVector(const float* input_vector, float* output_vector, in ReductionSumVector() argument 160 NEON_OR_PORTABLE(ReductionSumVector, input_vector, output_vector, output_size, in ReductionSumVector() 164 void MeanStddevNormalization(const float* input_vector, float* output_vector, in MeanStddevNormalization() argument 167 PortableMeanStddevNormalization(input_vector, output_vector, v_size, n_batch, in MeanStddevNormalization()
|
D | tensor_utils_impl.h | 193 void PortableReductionSumVector(const float* input_vector, float* output_vector, 195 void NeonReductionSumVector(const float* input_vector, float* output_vector, 198 void PortableMeanStddevNormalization(const float* input_vector,
|
D | neon_tensor_utils.cc | 999 void NeonReductionSumVector(const float* input_vector, float* output_vector, in NeonReductionSumVector() argument 1001 const float* input_vector_ptr = input_vector; in NeonReductionSumVector()
|
/external/perf_data_converter/src/quipper/ |
D | buffer_reader_test.cc | 201 std::vector<char> input_vector(input.begin(), input.end()); in TEST() local 202 input_vector.resize(input.size() + 10, '\0'); in TEST() 204 BufferReader vector_reader(input_vector.data(), input_vector.size()); in TEST() 207 vector_reader.ReadString(input_vector.size(), &vector_reader_output)); in TEST() 209 EXPECT_EQ(input_vector.size(), vector_reader.Tell()); in TEST()
|
/external/tensorflow/tensorflow/lite/kernels/internal/ |
D | tensor_utils.h | 189 void ReductionSumVector(const float* input_vector, float* output_vector, 194 void MeanStddevNormalization(const float* input_vector, float* output_vector,
|
/external/webrtc/webrtc/modules/audio_coding/neteq/ |
D | merge.cc | 55 AudioMultiVector input_vector(num_channels_); in Process() local 56 input_vector.PushBackInterleaved(input, input_length); in Process() 57 size_t input_length_per_channel = input_vector.Size(); in Process() 64 int16_t* input_channel = &input_vector[channel][0]; in Process()
|
/external/tensorflow/tensorflow/core/common_runtime/eager/ |
D | kernel_and_device.cc | 339 std::vector<Tensor> input_vector; in Run() local 340 input_vector.reserve(inputs.size()); in Run() 342 input_vector.push_back(*tensor_value.tensor); in Run() 345 pflr_->Run(opts, handle_, input_vector, outputs, in Run()
|
D | execute.cc | 934 gtl::InlinedVector<TensorValue, 4> input_vector(op_inputs.size()); in EagerKernelExecute() local 936 TF_RETURN_IF_ERROR(op_inputs[i]->TensorValue(&input_vector[i])); in EagerKernelExecute() 944 TF_RETURN_IF_ERROR(kernel->Run(input_vector, &outputs, maybe_stats, in EagerKernelExecute() 947 TF_RETURN_IF_ERROR(kernel->Run(container, input_vector, &outputs, in EagerKernelExecute()
|
/external/tensorflow/tensorflow/core/common_runtime/ |
D | executor.cc | 1350 void DumpPendingNodeState(const int node_id, const Entry* input_vector, 1352 void DumpActiveNodeState(const int node_id, const Entry* input_vector); 2322 const int node_id, const Entry* input_vector, in DumpPendingNodeState() argument 2330 const Entry& input = input_vector[input_base + i]; in DumpPendingNodeState() 2343 const Entry& input = input_vector[input_base + i]; in DumpPendingNodeState() 2357 const Entry* input_vector) { in DumpActiveNodeState() argument 2363 const Entry& input = input_vector[input_base + i]; in DumpActiveNodeState()
|