Home
last modified time | relevance | path

Searched refs:kOutput (Results 1 – 25 of 55) sorted by relevance

123

/external/tensorflow/tensorflow/core/kernels/image/
Dmirror_pad_op_test.cc93 const int kOutput = kInput + 2 * kPad; in REGISTER_TEST() local
106 Tensor expected(allocator(), DT_FLOAT, TensorShape({1, kOutput, kOutput, 1})); in REGISTER_TEST()
108 i = i % kOutput; in REGISTER_TEST()
113 else if (kInput + kPad <= i && i < kOutput) in REGISTER_TEST()
127 const int kOutput = kInput + 2 * kPad; in TEST_F() local
140 Tensor expected(allocator(), DT_FLOAT, TensorShape({1, kOutput, kOutput, 1})); in TEST_F()
142 i = i % kOutput; in TEST_F()
147 else if (kInput + kPad <= i && i < kOutput) in TEST_F()
/external/tensorflow/tensorflow/lite/kernels/
Dsubgraph_test_util.cc98 const int kOutput = 2; in BuildAddSubgraph() local
109 ASSERT_EQ(subgraph->SetOutputs({kOutput}), kTfLiteOk); in BuildAddSubgraph()
113 SetupTensor(subgraph, kOutput, kTfLiteInt32); in BuildAddSubgraph()
121 subgraph->AddNodeWithParameters({kInput1, kInput2}, {kOutput}, {}, nullptr, 0, in BuildAddSubgraph()
129 const int kOutput = 2; in BuildMulSubgraph() local
140 ASSERT_EQ(subgraph->SetOutputs({kOutput}), kTfLiteOk); in BuildMulSubgraph()
144 SetupTensor(subgraph, kOutput, kTfLiteInt32); in BuildMulSubgraph()
152 subgraph->AddNodeWithParameters({kInput1, kInput2}, {kOutput}, {}, nullptr, 0, in BuildMulSubgraph()
160 const int kOutput = 2; in BuildPadSubgraph() local
171 ASSERT_EQ(subgraph->SetOutputs({kOutput}), kTfLiteOk); in BuildPadSubgraph()
[all …]
/external/tensorflow/tensorflow/core/profiler/
Dtfprof_options.cc40 *output_type = kOutput[1]; in ParseOutput()
44 std::set<string> output_types(kOutput, in ParseOutput()
45 kOutput + sizeof(kOutput) / sizeof(*kOutput)); in ParseOutput()
70 if (*output_type == kOutput[0]) { in ParseOutput()
78 } else if (*output_type == kOutput[2]) { in ParseOutput()
84 } else if (*output_type == kOutput[3]) { in ParseOutput()
146 output_type = kOutput[2]; in FromProtoStr()
/external/openscreen/third_party/abseil/src/absl/strings/internal/
Dostringstream_benchmark.cc30 template <StringType kOutput>
41 switch (kOutput) { in BM_StdStream()
67 template <StringType kOutput>
79 switch (kOutput) { in BM_CustomStream()
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/strings/internal/
Dostringstream_benchmark.cc30 template <StringType kOutput>
41 switch (kOutput) { in BM_StdStream()
67 template <StringType kOutput>
79 switch (kOutput) { in BM_CustomStream()
/external/libtextclassifier/abseil-cpp/absl/strings/internal/
Dostringstream_benchmark.cc30 template <StringType kOutput>
41 switch (kOutput) { in BM_StdStream()
67 template <StringType kOutput>
79 switch (kOutput) { in BM_CustomStream()
/external/webrtc/third_party/abseil-cpp/absl/strings/internal/
Dostringstream_benchmark.cc30 template <StringType kOutput>
41 switch (kOutput) { in BM_StdStream()
67 template <StringType kOutput>
79 switch (kOutput) { in BM_CustomStream()
/external/angle/third_party/abseil-cpp/absl/strings/internal/
Dostringstream_benchmark.cc30 template <StringType kOutput>
41 switch (kOutput) { in BM_StdStream()
67 template <StringType kOutput>
79 switch (kOutput) { in BM_CustomStream()
/external/abseil-cpp/absl/strings/internal/
Dostringstream_benchmark.cc30 template <StringType kOutput>
41 switch (kOutput) { in BM_StdStream()
67 template <StringType kOutput>
79 switch (kOutput) { in BM_CustomStream()
/external/rust/crates/quiche/deps/boringssl/src/crypto/chacha/
Dchacha_test.cc132 static const uint8_t kOutput[] = { variable
221 static_assert(sizeof(kInput) == sizeof(kOutput),
231 EXPECT_EQ(Bytes(kOutput, len), Bytes(buf.get(), len)); in TEST()
236 EXPECT_EQ(Bytes(kOutput, len), Bytes(buf.get(), len)); in TEST()
/external/boringssl/src/crypto/chacha/
Dchacha_test.cc132 static const uint8_t kOutput[] = { variable
221 static_assert(sizeof(kInput) == sizeof(kOutput),
231 EXPECT_EQ(Bytes(kOutput, len), Bytes(buf.get(), len)); in TEST()
236 EXPECT_EQ(Bytes(kOutput, len), Bytes(buf.get(), len)); in TEST()
/external/skia/tests/
DImageFilterCacheTest.cpp55 skif::FilterResult<For::kOutput>(image, skif::LayerSpace<SkIPoint>(offset))); in test_find_existing()
57 skif::FilterResult<For::kOutput> foundImage; in test_find_existing()
84 skif::FilterResult<For::kOutput>(image, skif::LayerSpace<SkIPoint>(offset))); in test_dont_find_if_diff_key()
86 skif::FilterResult<For::kOutput> foundImage; in test_dont_find_if_diff_key()
106 skif::FilterResult<For::kOutput>(image, skif::LayerSpace<SkIPoint>(offset))); in test_internal_purge()
108 skif::FilterResult<For::kOutput> foundImage; in test_internal_purge()
114 skif::FilterResult<For::kOutput>(image, skif::LayerSpace<SkIPoint>(offset))); in test_internal_purge()
135 skif::FilterResult<For::kOutput>(image, skif::LayerSpace<SkIPoint>(offset))); in test_explicit_purging()
137 skif::FilterResult<For::kOutput>(image, skif::LayerSpace<SkIPoint>(offset))); in test_explicit_purging()
140 skif::FilterResult<For::kOutput> foundImage; in test_explicit_purging()
/external/skia/src/core/
DSkImageFilterCache.cpp38 Value(const Key& key, const skif::FilterResult<For::kOutput>& image, in Value()
43 skif::FilterResult<For::kOutput> fImage;
54 bool get(const Key& key, skif::FilterResult<For::kOutput>* result) const override { in get()
71 const skif::FilterResult<For::kOutput>& result) override { in set()
DSkImageFilterCache.h65 skif::FilterResult<For::kOutput>* result) const = 0;
69 const skif::FilterResult<For::kOutput>& result) = 0;
DSkImageFilter.cpp220 skif::FilterResult<For::kOutput> SkImageFilter_Base::filterImage(const skif::Context& context) cons… in filterImage()
227 skif::FilterResult<For::kOutput> result; in filterImage()
312 skif::FilterResult<For::kOutput> SkImageFilter_Base::onFilterImage(const skif::Context& context) co… in onFilterImage()
315 return skif::FilterResult<For::kOutput>(std::move(image), skif::LayerSpace<SkIPoint>(origin)); in onFilterImage()
562 skif::FilterResult<For::kOutput> result = as_IFB(input)->filterImage(this->mapContext(ctx)); in filterInput()
DSkImageFilter_Base.h42 skif::FilterResult<For::kOutput> filterImage(const skif::Context& context) const;
398 virtual skif::FilterResult<For::kOutput> onFilterImage(const skif::Context& context) const;
/external/tensorflow/tensorflow/core/profiler/internal/
Dtfprof_show_multi.cc32 if (opts.output_type == kOutput[0]) { in Show()
37 if (opts.output_type == kOutput[1]) { in Show()
40 } else if (opts.output_type == kOutput[2]) { in Show()
47 } else if (opts.output_type == kOutput[3] || in Show()
48 opts.output_type == kOutput[4]) { in Show()
Dtfprof_show.cc30 if (opts.output_type == kOutput[0]) { in Show()
35 if (opts.output_type == kOutput[1]) { in Show()
38 } else if (opts.output_type == kOutput[2]) { in Show()
45 } else if (opts.output_type == kOutput[3] || in Show()
46 opts.output_type == kOutput[4]) { in Show()
Dtfprof_op.cc105 if (opts.output_type == kOutput[3]) { in ShowInternal()
109 if (opts.output_type == kOutput[1] || opts.output_type == kOutput[2]) { in ShowInternal()
173 if (opts.output_type == kOutput[1] || opts.output_type == kOutput[2]) { in ShowInternal()
Dtfprof_code.cc473 if (opts.output_type == kOutput[3]) { in ShowInternal()
508 if (opts.output_type == kOutput[3]) { in ShowInternal()
531 if (nodes.empty() && root->has_trace() && opts.output_type == kOutput[3]) { in Format()
536 if (root->has_trace() && opts.output_type == kOutput[3]) { in Format()
544 if (root->has_trace() && opts.output_type == kOutput[3]) { in Format()
/external/libtextclassifier/native/utils/grammar/utils/
Dir_test.cc124 constexpr CallbackId kOutput = 1; in TEST() local
131 ir.Add(Ir::Lhs{verb, {kOutput}}, "bring"); in TEST()
148 EXPECT_THAT(rules.lhs.front().callback_id(), kOutput); in TEST()
/external/tensorflow/tensorflow/lite/experimental/kernels/
Dunidirectional_sequence_gru.cc99 kOutput = 0, enumerator
178 TF_LITE_ENSURE_OK(context, GetOutputSafe(context, node, kOutput, &output)); in Prepare()
244 TF_LITE_ENSURE_OK(context, GetOutputSafe(context, node, kOutput, &output)); in Eval()
/external/tensorflow/tensorflow/lite/tools/optimize/calibration/
Dcalibration_common.h53 enum class OperatorTensorType { kNone, kInput, kOutput, kIntermediate }; enumerator
/external/skqp/src/sksl/
DSkSLPipelineStageCodeGenerator.cpp124 fFormatArgs->push_back(Compiler::FormatArg(Compiler::FormatArg::Kind::kOutput)); in writeVariableReference()
187 fFormatArgs->push_back(Compiler::FormatArg(Compiler::FormatArg::Kind::kOutput)); in writeFunction()
/external/tensorflow/tensorflow/core/profiler/convert/
Dop_stats_to_pod_stats.cc60 add_event(kOutput, {DEVICE_TO_HOST}); in CreatePodStatsRecord()

123