| /external/tensorflow/tensorflow/core/framework/ |
| common_shape_fns_test.cc | 43 b.Output(strings::StrCat("o", i, ": float")); 75 .Output("t: float") 86 ShapeHandle output = c.output(0); local 87 EXPECT_EQ(0, c.Rank(output)); 94 ShapeHandle output = c.output(0); local 95 EXPECT_EQ(0, c.Rank(output)); 104 .Output("c: float") 122 ShapeHandle output = c.output(0) local 132 ShapeHandle output = c.output(0); local 153 ShapeHandle output = c.output(0); local 194 ShapeHandle output = c.output(0); local 212 ShapeHandle output = c.output(0); local 237 ShapeHandle output = c.output(0); local 247 ShapeHandle output = c.output(0); local 256 ShapeHandle output = c.output(0); local 270 ShapeHandle output = c.output(0); local 284 ShapeHandle output = c.output(0); local 298 ShapeHandle output = c.output(0); local 340 ShapeHandle output = c.output(0); local 349 ShapeHandle output = c.output(0); local 362 ShapeHandle output = c.output(0); local 375 ShapeHandle output = c.output(0); local 388 ShapeHandle output = c.output(0); local [all...] |
| /external/tensorflow/tensorflow/core/grappler/ |
| graph_view_test.cc | 49 GraphView::OutputPort output = graph.GetOutputPort("AddN", 0); local 50 EXPECT_EQ("AddN", output.node->name()); 51 EXPECT_EQ(0, output.port_id); 52 EXPECT_EQ(2, graph.GetFanout(output).size()); 53 for (auto fanout : graph.GetFanout(output)) { 81 Output a = ops::Const(s.WithOpName("a"), 0.0f, {10, 10}); 82 Output b = ops::Square(s.WithOpName("b"), {a}); 83 Output c = ops::Sqrt(s.WithOpName("c"), {b}); 84 Output d = ops::AddN(s.WithOpName("d").WithControlDependencies(a), {b, c}); 90 GraphView::OutputPort output = graph.GetOutputPort("a", -1) local [all...] |
| /external/tensorflow/tensorflow/core/kernels/ |
| attention_ops.cc | 80 Tensor* output = nullptr; variable 81 OP_REQUIRES_OK(context, context->allocate_output(0, output_shape, &output)); 82 if (output->NumElements() == 0) { 97 output->tensor<float, 4>().swap_layout().device(
|
| cholesky_op.cc | 70 // Output the lower triangular in a dense form. 85 typename TTypes<T, 3>::Tensor output); \ 123 // Allocate output. 126 Tensor* output; variable 129 {0}, 0, input.shape(), &output), 132 // Copy the lower triangular part of the input matrices to the output and 137 auto output_reshaped = output->template flat_inner_dims<Scalar, 3>();
|
| colorspace_op.cc | 58 // Create the output Tensor with the same dimensions as the input Tensor. 59 Tensor* output = nullptr; variable 61 context->allocate_output(0, input.shape(), &output)); 66 typename TTypes<T, 2>::Tensor output_data = output->flat_inner_dims<T>(); 97 // Create the output Tensor with the same dimensions as the input Tensor. 98 Tensor* output = nullptr; variable 100 context->allocate_output(0, input.shape(), &output)); 103 typename TTypes<T, 2>::Tensor output_data = output->flat_inner_dims<T>();
|
| decode_csv_op.cc | 60 OpOutputList output; variable 61 OP_REQUIRES_OK(ctx, ctx->output_list("output", &output)); 65 OP_REQUIRES_OK(ctx, output.allocate(i, records->shape(), &out)); 90 output[f]->flat<int32>()(i) = record_defaults[f].flat<int32>()(0); 97 output[f]->flat<int32>()(i) = value; 110 output[f]->flat<int64>()(i) = record_defaults[f].flat<int64>()(0); 117 output[f]->flat<int64>()(i) = value; 129 output[f]->flat<float>()(i) = record_defaults[f].flat<float>()(0); 136 output[f]->flat<float>()(i) = value [all...] |
| decode_wav_op.cc | 70 Tensor* output = nullptr; variable 75 &output)); 77 auto output_matrix = output->matrix<float>();
|
| fake_quant_ops_test.cc | 71 Tensor* output = GetOutput(0); local 74 ExpectClose(expected, *output); 100 Tensor* output = GetOutput(0); local 103 ExpectClose(expected, *output); 130 Tensor* output = GetOutput(0); local 133 ExpectClose(expected, *output); 378 Tensor* output = GetOutput(0); local 383 ExpectClose(expected, *output); 408 Tensor* output = GetOutput(0); local 413 ExpectClose(expected, *output); 439 Tensor* output = GetOutput(0); local 470 Tensor* output = GetOutput(0); local [all...] |
| quantize_down_and_shrink_range.cc | 45 Tensor* output = nullptr; variable 46 OP_REQUIRES_OK(ctx, ctx->allocate_output(0, input.shape(), &output)); 75 auto output_array = output->flat<T2>(); 88 actual_max_float, output->flat<quint8>().data()); 92 input_max_float, actual_min_float, actual_max_float, output);
|
| quantized_bias_add_op.cc | 60 Tensor* output = nullptr; variable 62 context->allocate_output(0, input.shape(), &output)); 77 output->flat<qint32>().data()); 81 input_max, bias, bias_min, bias_max, output, &total_min, &total_max);
|
| random_crop_op.cc | 57 Tensor* output = nullptr; variable 60 OP_REQUIRES_OK(context, context->allocate_output(0, output_shape, &output)); 64 *output = context->input(0); 67 // TODO(shlens): Implement edge case to guarantee output size dimensions. 96 typename TTypes<T, 3>::Tensor output_data(output->tensor<T, 3>());
|
| sparse_to_dense_op.cc | 93 Tensor* output = nullptr; variable 94 OP_REQUIRES_OK(c, c->allocate_output(0, output_tensor_shape, &output)); 120 gtl::InlinedVector<int64, 8> order(output->shape().dims()); 122 sparse::SparseTensor st(indices_shaped, sparse_values_b, output->shape(), 129 output->flat<T>().setConstant(default_value.scalar<T>()()); 130 OP_REQUIRES(c, st.template ToDense<T>(output, false /* initialize */), 133 output->shape().DebugString()));
|
| /external/tensorflow/tensorflow/core/lib/io/snappy/ |
| snappy_outputbuffer.cc | 35 // The deflated output is accumulated in output_buffer_ and gets written to 158 string output; local 159 if (!port::Snappy_Compress(next_in_, avail_in_, &output)) { 163 // Write length of compressed block to output buffer. 168 compressed_length_array[i] = output.size() >> (8 * (3 - i)); 172 // Write compressed output to buffer. 173 TF_RETURN_IF_ERROR(AddToOutputBuffer(output.data(), output.size()));
|
| /external/webrtc/webrtc/modules/audio_coding/neteq/ |
| audio_multi_vector_unittest.cc | 194 int16_t* output = new int16_t[interleaved_length_]; local 198 vec.ReadInterleaved(read_samples, output)); 200 memcmp(array_interleaved_, output, read_samples * sizeof(int16_t))); 204 vec.ReadInterleaved(array_length() + 1, output)); 206 memcmp(array_interleaved_, output, read_samples * sizeof(int16_t))); 208 delete [] output; 215 int16_t* output = NULL; local 218 EXPECT_EQ(0u, vec.ReadInterleaved(read_samples, output));
|
| /external/webrtc/webrtc/test/testsupport/ |
| perf_test.cc | 75 void AppendResult(std::string& output, 84 output += ResultsToString(measurement, modifier, trace, 99 void AppendResult(std::string& output, 106 output += ResultsToString(measurement, modifier, trace, value, "", "", units, 120 void AppendResultMeanAndError(std::string& output, 127 output += ResultsToString(measurement, modifier, trace, mean_and_error, 141 void AppendResultList(std::string& output, 148 output += ResultsToString(measurement, modifier, trace, values, 170 std::string output; local 171 AppendResult(output, "commit_charge", "", "cc" + trace_name, charge, "kb" [all...] |
| /frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/include/ |
| FwdLockEngine.h | 288 * the output converted data and offset. In this case the 518 FwdLockConv_Output_t output; member in class:android::FwdLockEngine::ConvertSession 522 memset(&output, 0, sizeof(FwdLockConv_Output_t));
|
| /frameworks/base/cmds/statsd/src/ |
| HashableDimensionKey.cpp | 63 HashableDimensionKey* output) { 71 output->addValue(value); 72 output->mutableValue(num_matches)->mField.setTag(value.mField.getTag()); 73 output->mutableValue(num_matches)->mField.setField( 83 const std::vector<FieldValue>& values, std::vector<FieldValue>* output) { 87 output->push_back(value); 170 std::string output; local 172 output += StringPrintf("(%d)%#x->%s ", value.mField.getTag(), value.mField.getField(), 175 return output;
|
| /frameworks/base/cmds/statsd/tests/ |
| StatsLogProcessor_test.cpp | 160 ConfigMetricsReportList output; local 161 output.ParseFromArray(bytes.data(), bytes.size()); 162 EXPECT_TRUE(output.reports_size() > 0); 163 auto uidmap = output.reports(0).uid_map(); 185 ConfigMetricsReportList output; local 186 output.ParseFromArray(bytes.data(), bytes.size()); 187 EXPECT_TRUE(output.reports_size() > 0); 188 EXPECT_FALSE(output.reports(0).has_uid_map()); 211 ConfigMetricsReportList output; local 212 output.ParseFromArray(bytes.data(), bytes.size()) [all...] |
| /frameworks/base/libs/hwui/ |
| DisplayList.cpp | 132 void DisplayList::output(std::ostream& output, uint32_t level) { function in class:android::uirenderer::DisplayList 134 OpDumper::dump(*op, output, level + 1); 137 rnOp->renderNode->output(output, level + 1); 139 output << std::endl;
|
| /frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/license/ |
| LicenseHtmlGeneratorFromXmlTest.java | 118 StringWriter output = new StringWriter(); local 120 fileNameToContentIdMap, contentIdToFileContentMap, new PrintWriter(output)); 121 assertThat(output.toString()).isEqualTo(EXPECTED_HTML_STRING);
|
| /frameworks/ml/nn/runtime/test/generated/models/ |
| strided_slice.model.cpp | 15 auto output = model->addOperand(&type3); local 29 model->addOperation(ANEURALNETWORKS_STRIDED_SLICE, {input, begins, ends, strides, beginMask, endMask, shrinkAxisMask}, {output}); 33 {output});
|
| strided_slice_float_1.model.cpp | 15 auto output = model->addOperand(&type3); local 29 model->addOperation(ANEURALNETWORKS_STRIDED_SLICE, {input, begins, ends, strides, beginMask, endMask, shrinkAxisMask}, {output}); 33 {output});
|
| strided_slice_float_10.model.cpp | 15 auto output = model->addOperand(&type3); local 29 model->addOperation(ANEURALNETWORKS_STRIDED_SLICE, {input, begins, ends, strides, beginMask, endMask, shrinkAxisMask}, {output}); 33 {output});
|
| strided_slice_float_10_relaxed.model.cpp | 15 auto output = model->addOperand(&type3); local 29 model->addOperation(ANEURALNETWORKS_STRIDED_SLICE, {input, begins, ends, strides, beginMask, endMask, shrinkAxisMask}, {output}); 33 {output});
|
| strided_slice_float_11.model.cpp | 15 auto output = model->addOperand(&type3); local 29 model->addOperation(ANEURALNETWORKS_STRIDED_SLICE, {input, begins, ends, strides, beginMask, endMask, shrinkAxisMask}, {output}); 33 {output});
|