ID
stringlengths
36
36
Language
stringclasses
1 value
Repository Name
stringclasses
13 values
File Name
stringlengths
2
48
File Path in Repository
stringlengths
11
111
File Path for Unit Test
stringlengths
13
116
Code
stringlengths
0
278k
Unit Test - (Ground Truth)
stringlengths
78
663k
Code Url
stringlengths
91
198
Test Code Url
stringlengths
93
203
Commit Hash
stringclasses
13 values
5bd54841-8a92-4042-9218-e8e29fc3ef54
cpp
tensorflow/tensorflow
generate_testspec
tensorflow/lite/testing/generate_testspec.cc
tensorflow/lite/testing/generate_testspec_test.cc
#include "tensorflow/lite/testing/generate_testspec.h" #include <iostream> #include <random> #include <string> #include <utility> #include "absl/log/check.h" #include "tensorflow/core/framework/types.h" #include "tensorflow/core/framework/types.pb.h" #include "tensorflow/lite/string_type.h" #include "tensorflow/lite/te...
#include "tensorflow/lite/testing/generate_testspec.h" #include <random> #include <gtest/gtest.h> namespace tflite { namespace testing { namespace { TEST(GenerateRandomTensor, FloatValue) { std::mt19937 random_engine; auto random_func = [&]() { return std::uniform_real_distribution<float>(-0.5, 0.5)(random_engi...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/testing/generate_testspec.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/testing/generate_testspec_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
a5d35579-b3e4-43f1-ab9f-4b67dee50526
cpp
tensorflow/tensorflow
tflite_driver
tensorflow/lite/testing/tflite_driver.cc
tensorflow/lite/testing/tflite_driver_test.cc
#include "tensorflow/lite/testing/tflite_driver.h" #include <algorithm> #include <complex> #include <cstdint> #include <cstring> #include <iostream> #include <map> #include <memory> #include <ostream> #include <string> #include <utility> #include <vector> #include "absl/strings/escaping.h" #include "absl/strings/str_ca...
#include "tensorflow/lite/testing/tflite_driver.h" #include <memory> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "tensorflow/lite/testing/test_runner.h" namespace tflite { namespace testing { namespace { using ::testing::ElementsAre; TEST(TfliteDriverTest, SimpleTest) { std::unique_ptr<TestRunner> runn...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/testing/tflite_driver.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/testing/tflite_driver_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
2f2dd5f2-a8cd-4856-b362-5cee75f05ca3
cpp
tensorflow/tensorflow
message
tensorflow/lite/testing/message.cc
tensorflow/lite/testing/message_test.cc
#include "tensorflow/lite/testing/message.h" #include <stack> #include <string> #include "tensorflow/lite/testing/tokenize.h" namespace tflite { namespace testing { class MessageStack : public TokenProcessor { public: explicit MessageStack(Message* first_node) { nodes_.push(first_node); valid_ = true; } ...
#include "tensorflow/lite/testing/message.h" #include <map> #include <string> #include <gtest/gtest.h> namespace tflite { namespace testing { namespace { class TestMessage : public Message { public: TestMessage() {} explicit TestMessage(const std::string& text_to_parse) { std::stringstream ss(text_to_parse); ...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/testing/message.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/testing/message_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
dc4bf973-daf3-4afb-ac93-1887b4320c70
cpp
tensorflow/tensorflow
tf_driver
tensorflow/lite/testing/tf_driver.cc
tensorflow/lite/testing/tf_driver_test.cc
#include "tensorflow/lite/testing/tf_driver.h" #include <fstream> #include <iostream> #include <string> #include "absl/log/check.h" #include "absl/strings/escaping.h" #include "absl/strings/str_cat.h" #include "absl/types/span.h" #include "tensorflow/core/framework/graph.pb.h" #include "tensorflow/core/framework/tensor...
#include "tensorflow/lite/testing/tf_driver.h" #include <algorithm> #include <string> #include <gtest/gtest.h> #include "absl/strings/escaping.h" #include "absl/strings/string_view.h" #include "absl/types/span.h" #include "tensorflow/core/framework/tensor.h" #include "tensorflow/core/framework/tensor_shape.h" #include ...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/testing/tf_driver.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/testing/tf_driver_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
4b147009-6a3e-4072-8cc5-d9ee8044f788
cpp
tensorflow/tensorflow
diff_analyzer
tensorflow/lite/testing/kernel_test/diff_analyzer.cc
tensorflow/lite/testing/kernel_test/diff_analyzer_test.cc
#include "tensorflow/lite/testing/kernel_test/diff_analyzer.h" #include <algorithm> #include <cmath> #include <fstream> #include <string> #include "tensorflow/lite/core/c/c_api_types.h" #include "tensorflow/lite/testing/split.h" namespace tflite { namespace testing { namespace { float CalculateNormalizedMaxDiff(const s...
#include "tensorflow/lite/testing/kernel_test/diff_analyzer.h" #include <fstream> #include <string> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "tensorflow/core/lib/io/path.h" namespace tflite { namespace testing { namespace { TEST(DiffAnalyzerTest, ZeroDiff) { DiffAnalyzer diff_analyzer; string file...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/testing/kernel_test/diff_analyzer.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/testing/kernel_test/diff_analyzer_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
2c06befe-7026-4dfe-9872-70e10918a4b2
cpp
tensorflow/tensorflow
input_generator
tensorflow/lite/testing/kernel_test/input_generator.cc
tensorflow/lite/testing/kernel_test/input_generator_test.cc
#include "tensorflow/lite/testing/kernel_test/input_generator.h" #include <cstdio> #include <fstream> #include <limits> #include <random> #include <string> #include <unordered_map> #include <utility> #include "tensorflow/lite/core/c/c_api_types.h" #include "tensorflow/lite/core/c/common.h" #include "tensorflow/lite/cor...
#include "tensorflow/lite/testing/kernel_test/input_generator.h" #include <fstream> #include <map> #include <string> #include <unordered_map> #include <gmock/gmock.h> #include <gtest/gtest.h> namespace tflite { namespace testing { namespace { TEST(InputGeneratorTest, LoadModel) { InputGenerator input_generator; ASS...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/testing/kernel_test/input_generator.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/testing/kernel_test/input_generator_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
db9bf754-48fc-47e9-953c-1b2d185fbf79
cpp
tensorflow/tensorflow
generator
tensorflow/lite/schema/builtin_ops_header/generator.cc
tensorflow/lite/schema/builtin_ops_header/generator_test.cc
#include "tensorflow/lite/schema/builtin_ops_header/generator.h" #include <string> #include "tensorflow/lite/schema/schema_generated.h" namespace tflite { namespace builtin_ops_header { namespace { const char* kFileHeader = R"( #ifndef TENSORFLOW_LITE_BUILTIN_OPS_H_ #define TENSORFLOW_LITE_BUILTIN_OPS_H_ #ifdef __c...
#include "tensorflow/lite/schema/builtin_ops_header/generator.h" #include <fstream> #include <gtest/gtest.h> namespace { using tflite::builtin_ops_header::ConstantizeVariableName; using tflite::builtin_ops_header::IsValidInputEnumName; TEST(TestIsValidInputEnumName, TestWithValidInputNames) { EXPECT_TRUE(IsValidInput...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/schema/builtin_ops_header/generator.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/schema/builtin_ops_header/generator_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
49a0b7e1-3c93-45c7-a6f6-1ca098732f77
cpp
tensorflow/tensorflow
nnapi_handler
tensorflow/lite/nnapi/nnapi_handler.cc
tensorflow/lite/nnapi/nnapi_handler_test.cc
#include "tensorflow/lite/nnapi/nnapi_handler.h" #include <cstdio> #include <string> #include "tensorflow/lite/nnapi/nnapi_implementation.h" namespace tflite { namespace nnapi { const char NnApiHandler::kNnapiReferenceDeviceName[] = "nnapi-reference"; const int NnApiHandler::kNnapiReferenceDevice = 1; const int NnApiHa...
#include "tensorflow/lite/nnapi/nnapi_handler.h" #include <cstdint> #include <cstdio> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "tensorflow/lite/nnapi/nnapi_implementation.h" namespace tflite { namespace nnapi { using testing::Eq; using testing::Ne; using testing::NotNull; void ExpectEquals(const NnApi...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/nnapi/nnapi_handler.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/nnapi/nnapi_handler_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
2f828fe0-405a-42a5-8483-81e379c54f44
cpp
tensorflow/tensorflow
nnapi_implementation
tensorflow/lite/nnapi/nnapi_implementation.cc
tensorflow/lite/nnapi/nnapi_implementation_test.cc
#include "tensorflow/lite/nnapi/nnapi_implementation.h" #include <dlfcn.h> #include <fcntl.h> #include <sys/mman.h> #include <sys/stat.h> #include <unistd.h> #include <algorithm> #include <cstdlib> #include <memory> #include "tensorflow/lite/nnapi/sl/public/NeuralNetworksSupportLibraryImpl.h" #ifdef __ANDROID__ #includ...
#include "tensorflow/lite/nnapi/nnapi_implementation.h" #include <gtest/gtest.h> namespace { TEST(NnapiLibTest, NnApiImplementation) { const NnApi* nnapi = NnApiImplementation(); EXPECT_NE(nnapi, nullptr); #ifdef __ANDROID__ EXPECT_GT(nnapi->android_sdk_version, 0); if (nnapi.android_sdk_version < 27) { EXP...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/nnapi/nnapi_implementation.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/nnapi/nnapi_implementation_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
387b62c0-4dcf-4a70-bea4-c87442267e17
cpp
tensorflow/tensorflow
subgraph_tensor_profiler
tensorflow/lite/profiling/subgraph_tensor_profiler.cc
tensorflow/lite/profiling/subgraph_tensor_profiler_test.cc
#include "tensorflow/lite/profiling/subgraph_tensor_profiler.h" #include <cstring> #include "tensorflow/lite/core/subgraph.h" #include "tensorflow/lite/interpreter.h" namespace tflite::profiling { SubgraphTensorProfiler::SubgraphTensorProfiler(const Interpreter& interpreter, ...
#include "tensorflow/lite/profiling/subgraph_tensor_profiler.h" #include <functional> #include <string> #include <unordered_set> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "tensorflow/lite/core/api/profiler.h" #include "tensorflow/lite/core/c/common.h" #include "tensorflow/lite/core/subgraph.h" #include...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/profiling/subgraph_tensor_profiler.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/profiling/subgraph_tensor_profiler_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
19a510be-3fd3-4823-a79c-06b9ca26c3ec
cpp
tensorflow/tensorflow
model_runtime_info
tensorflow/lite/profiling/model_runtime_info.cc
tensorflow/lite/profiling/model_runtime_info_test.cc
#include "tensorflow/lite/profiling/model_runtime_info.h" #include <cstdint> #include <cstdio> #include <fstream> #include <ios> #include <iostream> #include <string> #include <utility> #include <vector> #include "absl/strings/string_view.h" #include "google/protobuf/repeated_field.h" #include "tensorflow/lite/c/c_api_...
#include "tensorflow/lite/profiling/model_runtime_info.h" #include <algorithm> #include <cstddef> #include <cstdint> #include <fstream> #include <ios> #include <iostream> #include <memory> #include <string> #include <tuple> #include <vector> #include <gtest/gtest.h> #include "tensorflow/lite/c/c_api_types.h" #include "...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/profiling/model_runtime_info.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/profiling/model_runtime_info_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
9b79f15a-5ad8-4f05-b7e9-569a601d059c
cpp
tensorflow/tensorflow
profile_summary_formatter
tensorflow/lite/profiling/profile_summary_formatter.cc
tensorflow/lite/profiling/profile_summary_formatter_test.cc
#include "tensorflow/lite/profiling/profile_summary_formatter.h" #include <fstream> #include <iomanip> #include <ios> #include <map> #include <memory> #include <ostream> #include <queue> #include <sstream> #include <string> #include <utility> #include <vector> #include "tensorflow/core/util/stat_summarizer_options.h" #...
#include "tensorflow/lite/profiling/profile_summary_formatter.h" #include <cstddef> #include <fstream> #include <ios> #include <map> #include <memory> #include <string> #include <tuple> #include <gtest/gtest.h> #include "absl/strings/match.h" #include "tensorflow/core/util/stat_summarizer_options.h" #include "tensorflo...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/profiling/profile_summary_formatter.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/profiling/profile_summary_formatter_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
fae8d13e-8242-493d-860a-3755cf23bf05
cpp
tensorflow/tensorflow
profile_summarizer
tensorflow/lite/profiling/profile_summarizer.cc
tensorflow/lite/profiling/profile_summarizer_test.cc
#include "tensorflow/lite/profiling/profile_summarizer.h" #include <memory> #include <sstream> #include <string> #include "tensorflow/core/util/stats_calculator.h" #include "tensorflow/lite/c/common.h" #include "tensorflow/lite/core/api/profiler.h" #include "tensorflow/lite/interpreter.h" #include "tensorflow/lite/prof...
#include "tensorflow/lite/profiling/profile_summarizer.h" #include <string> #include <vector> #include <gtest/gtest.h> #include "tensorflow/lite/c/c_api_types.h" #include "tensorflow/lite/c/common.h" #include "tensorflow/lite/interpreter.h" #include "tensorflow/lite/kernels/kernel_util.h" #include "tensorflow/lite/kern...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/profiling/profile_summarizer.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/profiling/profile_summarizer_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
ab694cd8-38e1-4516-a33b-db2d3a7779e5
cpp
tensorflow/tensorflow
memory_info
tensorflow/lite/profiling/memory_info.cc
tensorflow/lite/profiling/memory_info_test.cc
#include "tensorflow/lite/profiling/memory_info.h" #include <stddef.h> #include <ostream> #ifdef __linux__ #include <malloc.h> #include <sys/resource.h> #include <sys/time.h> #elif defined(__APPLE__) #include <mach/mach.h> #include <malloc/malloc.h> #endif namespace tflite { namespace profiling { namespace memory { con...
#include "tensorflow/lite/profiling/memory_info.h" #include <memory> #include <new> #include <sstream> #include <string> #include <gtest/gtest.h> namespace tflite { namespace profiling { namespace memory { TEST(MemoryUsage, AddAndSub) { MemoryUsage mem1, mem2; mem1.mem_footprint_kb = 5; mem1.total_allocated_bytes...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/profiling/memory_info.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/profiling/memory_info_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
2f0272bc-020c-4677-9fbd-22418cfd65da
cpp
tensorflow/tensorflow
atrace_profiler
tensorflow/lite/profiling/atrace_profiler.cc
tensorflow/lite/profiling/atrace_profiler_test.cc
#include "tensorflow/lite/profiling/atrace_profiler.h" #include <dlfcn.h> #include "tensorflow/lite/core/api/profiler.h" #if defined(__ANDROID__) #include <sys/system_properties.h> #endif #include <string> #include <type_traits> namespace tflite { namespace profiling { class ATraceProfiler : public tflite::Profiler { ...
#include "tensorflow/lite/profiling/atrace_profiler.h" #if defined(__ANDROID__) #include <sys/system_properties.h> #endif #include <gtest/gtest.h> namespace tflite { namespace profiling { namespace { TEST(ATraceProfilerTest, MaybeCreateATraceProfiler) { auto initial_state_profiler = MaybeCreateATraceProfiler(); #if !...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/profiling/atrace_profiler.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/profiling/atrace_profiler_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
8fe449ec-1b51-4dea-84dc-1db9f8e42aac
cpp
tensorflow/tensorflow
memory_usage_monitor
tensorflow/lite/profiling/memory_usage_monitor.cc
tensorflow/lite/profiling/memory_usage_monitor_test.cc
#include "tensorflow/lite/profiling/memory_usage_monitor.h" #include <memory> #include <utility> #include "absl/synchronization/notification.h" #include "absl/time/time.h" #include "tensorflow/lite/logger.h" #include "tensorflow/lite/minimal_logging.h" #include "tensorflow/lite/profiling/memory_info.h" namespace tflite...
#include "tensorflow/lite/profiling/memory_usage_monitor.h" #include <memory> #include <gtest/gtest.h> #include "absl/time/clock.h" #include "absl/time/time.h" #include "tensorflow/lite/profiling/memory_info.h" namespace tflite { namespace profiling { namespace memory { class MemoryUsageNotSupportedSampler : public Mem...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/profiling/memory_usage_monitor.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/profiling/memory_usage_monitor_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
a9341881-a6be-430e-8b9b-db2749301f2e
cpp
tensorflow/tensorflow
profile_buffer
tensorflow/lite/profiling/profile_buffer.cc
tensorflow/lite/profiling/profile_buffer_test.cc
#include "tensorflow/lite/profiling/profile_buffer.h" #include <utility> #include "tensorflow/lite/core/api/profiler.h" #include "tensorflow/lite/logger.h" #include "tensorflow/lite/minimal_logging.h" #include "tensorflow/lite/profiling/memory_info.h" #include "tensorflow/lite/profiling/time.h" namespace tflite { names...
#include "tensorflow/lite/profiling/profile_buffer.h" #include <algorithm> #include <cstdint> #include <string> #include <vector> #include <gtest/gtest.h> namespace tflite { namespace profiling { namespace { std::vector<const ProfileEvent*> GetProfileEvents(const ProfileBuffer& buffer) { std::vector<const ProfileEven...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/profiling/profile_buffer.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/profiling/profile_buffer_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
67244fbc-8978-44b7-bdd5-90b0b63a64ce
cpp
tensorflow/tensorflow
root_profiler
tensorflow/lite/profiling/root_profiler.cc
tensorflow/lite/profiling/root_profiler_test.cc
#include "tensorflow/lite/profiling/root_profiler.h" #include <memory> #include <utility> #include <vector> #include "tensorflow/lite/core/api/profiler.h" namespace tflite { namespace profiling { void RootProfiler::AddProfiler(Profiler* profiler) { if (profiler == nullptr) return; profilers_.push_back(profiler); } ...
#include "tensorflow/lite/profiling/root_profiler.h" #include <memory> #include <utility> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "tensorflow/lite/core/api/profiler.h" using ::testing::_; using ::testing::StrictMock; namespace tflite { namespace profiling { namespace { constexpr char kTag[] = "tag"; ...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/profiling/root_profiler.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/profiling/root_profiler_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
f22e62fc-1f6e-4485-be68-31adc5cae6ff
cpp
tensorflow/tensorflow
time
tensorflow/lite/profiling/time.cc
tensorflow/lite/profiling/time_test.cc
#include "tensorflow/lite/profiling/time.h" #if defined(_MSC_VER) #include <chrono> #include <thread> #else #include <sys/time.h> #include <time.h> #endif namespace tflite { namespace profiling { namespace time { #if defined(_MSC_VER) uint64_t NowMicros() { return static_cast<uint64_t>( std::chrono::duratio...
#include "tensorflow/lite/profiling/time.h" #include <gtest/gtest.h> namespace tflite { namespace profiling { namespace time { TEST(TimeTest, NowMicros) { auto now0 = NowMicros(); EXPECT_GT(now0, 0); auto now1 = NowMicros(); EXPECT_GE(now1, now0); } TEST(TimeTest, SleepForMicros) { SleepForMicros(0); auto n...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/profiling/time.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/profiling/time_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
573359dd-8239-415a-9913-bdd322cdacc7
cpp
tensorflow/tensorflow
telemetry
tensorflow/lite/delegates/telemetry.cc
tensorflow/lite/delegates/telemetry_test.cc
#include "tensorflow/lite/delegates/telemetry.h" #include "tensorflow/lite/acceleration/configuration/configuration_generated.h" #include "tensorflow/lite/core/api/profiler.h" #include "tensorflow/lite/core/c/common.h" namespace tflite { namespace delegates { TfLiteStatus ReportDelegateSettings(TfLiteContext* context, ...
#include "tensorflow/lite/delegates/telemetry.h" #include <cstdint> #include <string> #include <gtest/gtest.h> #include "flatbuffers/buffer.h" #include "flatbuffers/flatbuffer_builder.h" #include "tensorflow/lite/acceleration/configuration/configuration_generated.h" #include "tensorflow/lite/core/api/profiler.h" #i...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/delegates/telemetry.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/delegates/telemetry_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
7efae547-41ee-469e-b08b-82b375f6c277
cpp
tensorflow/tensorflow
label_image
tensorflow/lite/examples/label_image/label_image.cc
tensorflow/lite/examples/label_image/label_image_test.cc
#include "tensorflow/lite/examples/label_image/label_image.h" #include <fcntl.h> #include <getopt.h> #include <sys/time.h> #include <sys/types.h> #include <sys/uio.h> #include <unistd.h> #include <cstdio> #include <cstdlib> #include <fstream> #include <iomanip> #include <iostream> #include <mem...
#include "tensorflow/lite/examples/label_image/label_image.h" #include <string> #include <gtest/gtest.h> #include "tensorflow/lite/c/c_api_types.h" #include "tensorflow/lite/examples/label_image/bitmap_helpers.h" #include "tensorflow/lite/examples/label_image/get_top_n.h" namespace tflite { namespace label_image { TEST...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/examples/label_image/label_image.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/examples/label_image/label_image_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
9ed64317-64de-4f9b-a9f5-58e30cb2b26b
cpp
tensorflow/tensorflow
serialization
tensorflow/lite/delegates/gpu/gl/serialization.cc
tensorflow/lite/delegates/gpu/gl/serialization_test.cc
#include "tensorflow/lite/delegates/gpu/gl/serialization.h" #include <string> #include <utility> #include <variant> #include "absl/types/variant.h" #include "tensorflow/lite/delegates/gpu/common/data_type.h" #include "tensorflow/lite/delegates/gpu/common/status.h" #include "tensorflow/lite/delegates/gpu/common/types.h"...
#include "tensorflow/lite/delegates/gpu/gl/serialization.h" #include <stddef.h> #include <sys/types.h> #include <cstdint> #include <string> #include <variant> #include <vector> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "absl/types/span.h" #include "tensorflow/lite/delegates/gpu/common/shape.h" #include...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/delegates/gpu/gl/serialization.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/delegates/gpu/gl/serialization_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
0dfe0675-3405-4e60-9aaa-06befc7c3acc
cpp
tensorflow/tensorflow
interpreter_utils
tensorflow/lite/delegates/gpu/common/testing/interpreter_utils.cc
tensorflow/lite/delegates/interpreter_utils_test.cc
#include "tensorflow/lite/delegates/gpu/common/testing/interpreter_utils.h" #include <cstring> #include <memory> #include <string> #include <vector> #include "tensorflow/lite/core/api/op_resolver.h" #include "tensorflow/lite/core/interpreter_builder.h" #include "tensorflow/lite/core/kernels/register.h" #include "tensor...
#include "tensorflow/lite/delegates/interpreter_utils.h" #include <string.h> #include <memory> #include <vector> #include <gtest/gtest.h> #include "tensorflow/lite/delegates/delegate_test_util.h" #include "tensorflow/lite/interpreter.h" namespace tflite { namespace delegates { using test_utils::SimpleDelegate; using te...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/delegates/gpu/common/testing/interpreter_utils.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/delegates/interpreter_utils_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
5130d7d4-9f23-4265-be36-863bc3775da5
cpp
tensorflow/tensorflow
api
tensorflow/lite/delegates/gpu/cl/api.cc
tensorflow/core/api_def/api_test.cc
#include "tensorflow/lite/delegates/gpu/cl/api.h" #include <utility> #ifndef CL_DELEGATE_NO_GL #define CL_DELEGATE_ALLOW_GL #endif #include <algorithm> #include <cstring> #include <memory> #include <variant> #include <vector> #include "absl/memory/memory.h" #include "absl/types/span.h" #include "tensorflow/lite/delegat...
#include <ctype.h> #include <algorithm> #include <string> #include <unordered_map> #include <vector> #include "tensorflow/core/api_def/excluded_ops.h" #include "tensorflow/core/framework/api_def.pb.h" #include "tensorflow/core/framework/op.h" #include "tensorflow/core/framework/op_def.pb.h" #include "tensorflow/core/fr...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/delegates/gpu/cl/api.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/api_def/api_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
f8fa38a8-c603-4c99-9ab0-8297cb05f5a3
cpp
tensorflow/tensorflow
delegate
tensorflow/lite/delegates/flex/delegate.cc
tensorflow/lite/delegates/flex/delegate_test.cc
#include "tensorflow/lite/delegates/flex/delegate.h" #include <memory> #include <utility> #include <vector> #include "absl/strings/str_cat.h" #include "tensorflow/core/framework/variant.h" #include "tensorflow/core/lib/core/status.h" #include "tensorflow/lite/context_util.h" #include "tensorflow/lite/core/c/common.h" #...
#include "tensorflow/lite/delegates/flex/delegate.h" #include <cstdint> #include <memory> #include <vector> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "tensorflow/lite/delegates/flex/test_util.h" #include "tensorflow/lite/shared_library.h" namespace tflite { namespace flex { namespace { using ::testing:...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/delegates/flex/delegate.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/delegates/flex/delegate_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
edecf673-cc94-4a5f-b4eb-dbb5af005541
cpp
tensorflow/tensorflow
async_buffers
tensorflow/lite/delegates/gpu/async_buffers.cc
tensorflow/lite/delegates/gpu/async_buffers_test.cc
#include "tensorflow/lite/delegates/gpu/async_buffers.h" #include <EGL/egl.h> #include <EGL/eglext.h> #include <GLES2/gl2ext.h> #include <GLES3/gl31.h> #include "absl/status/status.h" #include "tensorflow/lite/delegates/gpu/android_hardware_buffer.h" #include "tensorflow/lite/delegates/gpu/gl/gl_errors.h" namespace { P...
#include "tensorflow/lite/delegates/gpu/async_buffers.h" #include <memory> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "tensorflow/lite/delegates/gpu/android_hardware_buffer.h" #include "tensorflow/lite/delegates/gpu/api.h" #include "tensorflow/lite/delegates/gpu/common/data_type.h" #include "tensorflow/...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/delegates/gpu/async_buffers.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/delegates/gpu/async_buffers_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
94a1be68-c733-423d-b882-6f72879d2d5f
cpp
tensorflow/tensorflow
android_hardware_buffer
tensorflow/lite/delegates/gpu/android_hardware_buffer.cc
tensorflow/lite/delegates/gpu/android_hardware_buffer_test.cc
#include "tensorflow/lite/delegates/gpu/android_hardware_buffer.h" #include <dlfcn.h> namespace tflite::gpu { OptionalAndroidHardwareBuffer::OptionalAndroidHardwareBuffer() { #ifdef __ANDROID__ dlopen_handle_ = dlopen("libnativewindow.so", RTLD_NOW); if (dlopen_handle_ == nullptr) { supported_ = false; retu...
#include "tensorflow/lite/delegates/gpu/android_hardware_buffer.h" #include <gtest/gtest.h> using tflite::gpu::OptionalAndroidHardwareBuffer; auto Instance = OptionalAndroidHardwareBuffer::Instance; namespace { #ifndef __ANDROID__ TEST(OptionalAndroidHardwareBufferTest, NotSupportedOnNonAndroid) { EXPECT_EQ(Instance(...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/delegates/gpu/android_hardware_buffer.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/delegates/gpu/android_hardware_buffer_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
f71fad68-e03b-400c-b9ab-ee61e52d3905
cpp
tensorflow/tensorflow
buffer
tensorflow/lite/delegates/gpu/cl/buffer.cc
tensorflow/lite/delegates/gpu/cl/buffer_test.cc
#include "tensorflow/lite/delegates/gpu/cl/buffer.h" #include <string> #include "absl/status/status.h" #include "tensorflow/lite/delegates/gpu/common/data_type.h" #include "tensorflow/lite/delegates/gpu/common/status.h" namespace tflite { namespace gpu { namespace cl { namespace { absl::Status CreateBuffer(size_t size_...
#include "tensorflow/lite/delegates/gpu/cl/buffer.h" #include <vector> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "tensorflow/lite/delegates/gpu/cl/cl_test.h" #include "tensorflow/lite/delegates/gpu/common/status.h" using ::testing::FloatNear; using ::testing::Pointwise; namespace tflite { namespace gpu...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/delegates/gpu/cl/buffer.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/delegates/gpu/cl/buffer_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
8e76a92d-b3d4-4a7b-a177-4658f864cc89
cpp
tensorflow/tensorflow
model_builder_helper
tensorflow/lite/delegates/gpu/common/model_builder_helper.cc
tensorflow/lite/delegates/gpu/common/model_builder_helper_test.cc
#include "tensorflow/lite/delegates/gpu/common/model_builder_helper.h" #include <stddef.h> #include <cstdint> #include <cstring> #include <limits> #include <string> #include <vector> #include "fp16.h" #include "absl/strings/str_cat.h" #include "absl/strings/str_join.h" #include "tensorflow/lite/context_util.h" #inclu...
#include "tensorflow/lite/delegates/gpu/common/model_builder_helper.h" #include <cstdint> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "tensorflow/lite/core/c/common.h" namespace tflite { namespace gpu { namespace { using ::testing::ElementsAre; TEST(ModelBuilderHelperTest, CreateVectorCopyDataDifferentSi...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/delegates/gpu/common/model_builder_helper.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/delegates/gpu/common/model_builder_helper_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
372fea3a-ecdc-4712-95c9-436ca07dd10c
cpp
tensorflow/tensorflow
winograd_util
tensorflow/lite/delegates/gpu/common/winograd_util.cc
tensorflow/lite/delegates/gpu/common/winograd_util_test.cc
#include "tensorflow/lite/delegates/gpu/common/winograd_util.h" #include <cmath> #include <vector> #include "tensorflow/lite/delegates/gpu/common/data_type.h" #include "tensorflow/lite/delegates/gpu/common/operations.h" #include "tensorflow/lite/delegates/gpu/common/shape.h" #include "tensorflow/lite/delegates/gpu/comm...
#include "tensorflow/lite/delegates/gpu/common/winograd_util.h" #include <gtest/gtest.h> #include "tensorflow/lite/delegates/gpu/common/operations.h" #include "tensorflow/lite/delegates/gpu/common/shape.h" namespace tflite { namespace gpu { TEST(Winograd, CorrectAttributesFor4x4To6x6) { Convolution2DAttributes attr; ...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/delegates/gpu/common/winograd_util.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/delegates/gpu/common/winograd_util_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
05aaaaf2-d827-4812-8afe-3e128f7a72e5
cpp
tensorflow/tensorflow
gpu_model
tensorflow/lite/delegates/gpu/common/gpu_model.cc
tensorflow/lite/delegates/gpu/cl/testing/gpu_model_test.cc
#include "tensorflow/lite/delegates/gpu/common/gpu_model.h" #include <algorithm> #include <any> #include <map> #include <memory> #include <set> #include <utility> #include <vector> #include "absl/container/flat_hash_map.h" #include "absl/container/flat_hash_set.h" #include "tensorflow/lite/delegates/gpu/common/operatio...
#include <gtest/gtest.h> #include "tensorflow/lite/delegates/gpu/cl/kernels/cl_test.h" #include "tensorflow/lite/delegates/gpu/common/gpu_model_test_util.h" #include "tensorflow/lite/delegates/gpu/common/status.h" namespace tflite { namespace gpu { namespace cl { namespace { TEST_F(OpenCLOperationTest, LinkingConvoluti...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/delegates/gpu/common/gpu_model.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/delegates/gpu/cl/testing/gpu_model_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
747b49b9-8414-4351-bedf-958d67aaa510
cpp
tensorflow/tensorflow
convert
tensorflow/lite/delegates/gpu/common/convert.cc
third_party/xla/xla/tests/convert_test.cc
#include "tensorflow/lite/delegates/gpu/common/convert.h" #include <stdint.h> #include <string.h> #include <string> #include <vector> #include "fp16.h" #include "absl/strings/str_cat.h" #include "absl/types/span.h" #include "tensorflow/lite/delegates/gpu/common/data_type.h" #include "tensorflow/lite/delegates/gpu/com...
#include <array> #include <cmath> #include <cstdint> #include <limits> #include <memory> #include <random> #include <vector> #include "absl/algorithm/container.h" #include "absl/base/casts.h" #include "xla/client/local_client.h" #include "xla/hlo/builder/xla_builder.h" #include "xla/shape_util.h" #include "xla/tests/cl...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/delegates/gpu/common/convert.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/tests/convert_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
02a0ac9b-8137-474c-8c98-7dfed739d9d5
cpp
tensorflow/tensorflow
data_type
tensorflow/lite/delegates/gpu/common/data_type.cc
tensorflow/lite/delegates/gpu/common/data_type_test.cc
#include "tensorflow/lite/delegates/gpu/common/data_type.h" #include <stddef.h> #include <string> #include "absl/strings/str_cat.h" namespace tflite { namespace gpu { namespace { std::string ToGlslType(const std::string& scalar_type, const std::string& vec_type, int vec_size) { return vec_size ...
#include "tensorflow/lite/delegates/gpu/common/data_type.h" #include <gtest/gtest.h> namespace tflite { namespace gpu { namespace { TEST(DataTypeTest, GlslShaderDataTypes) { EXPECT_EQ("float", ToGlslShaderDataType(DataType::FLOAT16)); EXPECT_EQ("mediump float", ToGlslShaderDataType(DataType::FLOAT16, 1,...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/delegates/gpu/common/data_type.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/delegates/gpu/common/data_type_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
6b0970d5-609b-4189-820c-8068b1d8b2d2
cpp
tensorflow/tensorflow
memory_management
tensorflow/lite/delegates/gpu/common/memory_management.cc
tensorflow/lite/delegates/gpu/common/memory_management_test.cc
#include "tensorflow/lite/delegates/gpu/common/memory_management.h" #include <cstddef> #include <numeric> #include <utility> #include <vector> #include "tensorflow/lite/delegates/gpu/common/memory_management/equality_assignment.h" #include "tensorflow/lite/delegates/gpu/common/memory_management/greedy_by_breadth_assign...
#include "tensorflow/lite/delegates/gpu/common/memory_management.h" #include <cstddef> #include <vector> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "absl/status/status.h" #include "tensorflow/lite/delegates/gpu/common/memory_management/types.h" #include "tensorflow/lite/delegates/gpu/common/shape.h" #in...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/delegates/gpu/common/memory_management.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/delegates/gpu/common/memory_management_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
bc8d5b74-26e7-4156-b57d-9d1ba2f0bdd2
cpp
tensorflow/tensorflow
model_builder
tensorflow/lite/delegates/gpu/common/model_builder.cc
tensorflow/lite/delegates/gpu/common/model_builder_test.cc
#include "tensorflow/lite/delegates/gpu/common/model_builder.h" #include <algorithm> #include <cstdint> #include <map> #include <memory> #include <set> #include <string> #include <utility> #include <vector> #include "absl/container/flat_hash_map.h" #include "absl/container/flat_hash_set.h" #include "absl/status/status....
#include "tensorflow/lite/delegates/gpu/common/model_builder.h" #include <stddef.h> #include <stdint.h> #include <cstdlib> #include <cstring> #include <utility> #include <vector> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "absl/container/flat_hash_set.h" #include "absl/status/status.h" #include "absl/ty...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/delegates/gpu/common/model_builder.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/delegates/gpu/common/model_builder_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
37dadc8c-122b-4df4-a56e-0b8662e07769
cpp
tensorflow/tensorflow
convolution_transposed_3x3
tensorflow/lite/delegates/gpu/common/tasks/convolution_transposed_3x3.cc
tensorflow/lite/delegates/gpu/cl/kernels/convolution_transposed_3x3_test.cc
#include "tensorflow/lite/delegates/gpu/common/tasks/convolution_transposed_3x3.h" #include <memory> #include <string> #include <utility> #include <vector> #include "tensorflow/lite/delegates/gpu/common/task/work_group_picking.h" namespace tflite { namespace gpu { ConvolutionTransposed3x3::ConvolutionTransposed3x3( ...
#include <gmock/gmock.h> #include <gtest/gtest.h> #include "tensorflow/lite/delegates/gpu/cl/kernels/cl_test.h" #include "tensorflow/lite/delegates/gpu/common/operations.h" #include "tensorflow/lite/delegates/gpu/common/status.h" #include "tensorflow/lite/delegates/gpu/common/tasks/convolution_transposed_3x3_test_util....
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/delegates/gpu/common/tasks/convolution_transposed_3x3.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/delegates/gpu/cl/kernels/convolution_transposed_3x3_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
78e90436-828f-4070-94d9-65ae8cf4adb5
cpp
tensorflow/tensorflow
max_unpooling
tensorflow/lite/delegates/gpu/gl/kernels/max_unpooling.cc
tensorflow/lite/delegates/gpu/cl/kernels/max_unpooling_test.cc
#include "tensorflow/lite/delegates/gpu/gl/kernels/max_unpooling.h" #include <algorithm> #include <any> #include <cstdint> #include <cstring> #include <memory> #include <string> #include <utility> #include <vector> #include "absl/memory/memory.h" #include "tensorflow/lite/delegates/gpu/common/status.h" #include "tensor...
#include <vector> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "tensorflow/lite/delegates/gpu/cl/kernels/cl_test.h" #include "tensorflow/lite/delegates/gpu/common/operations.h" #include "tensorflow/lite/delegates/gpu/common/status.h" #include "tensorflow/lite/delegates/gpu/common/tasks/max_unpooling_test_...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/delegates/gpu/gl/kernels/max_unpooling.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/delegates/gpu/cl/kernels/max_unpooling_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
6b473baa-c4fb-484c-959f-9e7b529ae340
cpp
tensorflow/tensorflow
mean_stddev_normalization
tensorflow/lite/delegates/gpu/common/tasks/mean_stddev_normalization.cc
tensorflow/lite/delegates/gpu/cl/kernels/mean_stddev_normalization_test.cc
#include "tensorflow/lite/delegates/gpu/common/tasks/mean_stddev_normalization.h" #include <algorithm> #include <map> #include <memory> #include <set> #include <string> #include <utility> #include "absl/strings/substitute.h" #include "tensorflow/lite/delegates/gpu/common/operations.h" #include "tensorflow/lite/delegate...
#include <vector> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "tensorflow/lite/delegates/gpu/cl/kernels/cl_test.h" #include "tensorflow/lite/delegates/gpu/common/operations.h" #include "tensorflow/lite/delegates/gpu/common/status.h" #include "tensorflow/lite/delegates/gpu/common/tasks/mean_stddev_normali...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/delegates/gpu/common/tasks/mean_stddev_normalization.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/delegates/gpu/cl/kernels/mean_stddev_normalization_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
1e1b571f-877a-4ea3-8859-49202fc0709f
cpp
tensorflow/tensorflow
resampler
tensorflow/lite/delegates/gpu/gl/kernels/resampler.cc
tensorflow/lite/delegates/gpu/cl/kernels/resampler_test.cc
#include "tensorflow/lite/delegates/gpu/gl/kernels/resampler.h" #include <algorithm> #include <cstdint> #include <cstring> #include <memory> #include <string> #include <utility> #include <vector> #include "absl/memory/memory.h" #include "tensorflow/lite/delegates/gpu/common/operations.h" #include "tensorflow/lite/deleg...
#include <vector> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "tensorflow/lite/delegates/gpu/cl/kernels/cl_test.h" #include "tensorflow/lite/delegates/gpu/common/operations.h" #include "tensorflow/lite/delegates/gpu/common/status.h" #include "tensorflow/lite/delegates/gpu/common/tasks/resampler_test_util...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/delegates/gpu/gl/kernels/resampler.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/delegates/gpu/cl/kernels/resampler_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
7a493795-3ee7-4cb2-a7b7-639d43aba311
cpp
tensorflow/tensorflow
softmax
tensorflow/compiler/tf2tensorrt/convert/ops/softmax.cc
tensorflow/lite/delegates/xnnpack/softmax_test.cc
#if GOOGLE_CUDA && GOOGLE_TENSORRT #include "tensorflow/compiler/tf2tensorrt/convert/convert_nodes.h" #include "tensorflow/compiler/tf2tensorrt/convert/op_converter_registry.h" #include "tensorflow/compiler/tf2tensorrt/convert/ops/layer_utils.h" namespace tensorflow { namespace tensorrt { namespace convert { class Conv...
#include <cstdint> #include <functional> #include <memory> #include <random> #include <gtest/gtest.h> #include "tensorflow/lite/c/c_api_types.h" #include "tensorflow/lite/delegates/xnnpack/softmax_tester.h" #include "tensorflow/lite/delegates/xnnpack/xnnpack_delegate.h" namespace tflite { namespace xnnpack { TEST(Softm...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/compiler/tf2tensorrt/convert/ops/softmax.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/delegates/xnnpack/softmax_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
4e700953-00ce-48d8-ab45-ea6a1b6f1a9f
cpp
tensorflow/tensorflow
prelu
tensorflow/lite/delegates/gpu/gl/kernels/prelu.cc
tensorflow/lite/delegates/xnnpack/prelu_test.cc
#include "tensorflow/lite/delegates/gpu/gl/kernels/prelu.h" #include <algorithm> #include <any> #include <cstdint> #include <cstring> #include <memory> #include <string> #include <variant> #include <vector> #include "absl/memory/memory.h" #include "tensorflow/lite/delegates/gpu/common/convert.h" #include "tensorflow/li...
#include <cstdint> #include <functional> #include <memory> #include <random> #include <gtest/gtest.h> #include "tensorflow/lite/c/c_api_types.h" #include "tensorflow/lite/delegates/xnnpack/prelu_tester.h" #include "tensorflow/lite/delegates/xnnpack/xnnpack_delegate.h" namespace tflite { namespace xnnpack { TEST(Prelu, ...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/delegates/gpu/gl/kernels/prelu.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/delegates/xnnpack/prelu_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
5cf01089-e79f-4ce7-a37b-9125f745fbbb
cpp
tensorflow/tensorflow
convolution_transposed
tensorflow/lite/delegates/gpu/common/tasks/convolution_transposed.cc
tensorflow/lite/delegates/gpu/cl/kernels/convolution_transposed_test.cc
#include "tensorflow/lite/delegates/gpu/common/tasks/convolution_transposed.h" #include <memory> #include <string> #include <utility> #include <vector> #include "absl/strings/substitute.h" #include "tensorflow/lite/delegates/gpu/common/shape.h" #include "tensorflow/lite/delegates/gpu/common/status.h" #include "tensorfl...
#include <vector> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "tensorflow/lite/delegates/gpu/cl/kernels/cl_test.h" #include "tensorflow/lite/delegates/gpu/common/operations.h" #include "tensorflow/lite/delegates/gpu/common/status.h" #include "tensorflow/lite/delegates/gpu/common/tasks/convolution_transpo...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/delegates/gpu/common/tasks/convolution_transposed.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/delegates/gpu/cl/kernels/convolution_transposed_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
ec564571-bff9-401b-a529-0fcf0afbe055
cpp
tensorflow/tensorflow
convolution_transposed_thin
tensorflow/lite/delegates/gpu/common/tasks/convolution_transposed_thin.cc
tensorflow/lite/delegates/gpu/cl/kernels/convolution_transposed_thin_test.cc
#include "tensorflow/lite/delegates/gpu/common/tasks/convolution_transposed_thin.h" #include <string> #include <utility> #include <vector> #include "tensorflow/lite/delegates/gpu/common/task/work_group_picking.h" namespace tflite { namespace gpu { ConvolutionTransposedThin::ConvolutionTransposedThin( const Operatio...
#include <gmock/gmock.h> #include <gtest/gtest.h> #include "tensorflow/lite/delegates/gpu/cl/kernels/cl_test.h" #include "tensorflow/lite/delegates/gpu/common/operations.h" #include "tensorflow/lite/delegates/gpu/common/status.h" #include "tensorflow/lite/delegates/gpu/common/tasks/convolution_transposed_thin_test_util...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/delegates/gpu/common/tasks/convolution_transposed_thin.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/delegates/gpu/cl/kernels/convolution_transposed_thin_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
a4879a0a-281e-4b1f-9aaa-7bf86d954051
cpp
tensorflow/tensorflow
convolution_transposed_3x3_thin
tensorflow/lite/delegates/gpu/common/tasks/convolution_transposed_3x3_thin.cc
tensorflow/lite/delegates/gpu/cl/kernels/convolution_transposed_3x3_thin_test.cc
#include "tensorflow/lite/delegates/gpu/common/tasks/convolution_transposed_3x3_thin.h" #include <memory> #include <string> #include <utility> #include <vector> #include "absl/strings/substitute.h" #include "tensorflow/lite/delegates/gpu/common/precision.h" #include "tensorflow/lite/delegates/gpu/common/task/buffer_des...
#include <gmock/gmock.h> #include <gtest/gtest.h> #include "tensorflow/lite/delegates/gpu/cl/kernels/cl_test.h" #include "tensorflow/lite/delegates/gpu/common/operations.h" #include "tensorflow/lite/delegates/gpu/common/status.h" #include "tensorflow/lite/delegates/gpu/common/tasks/convolution_transposed_3x3_thin_test_...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/delegates/gpu/common/tasks/convolution_transposed_3x3_thin.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/delegates/gpu/cl/kernels/convolution_transposed_3x3_thin_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
8136dfc5-5900-48d6-82d2-d733ec8bfd59
cpp
tensorflow/tensorflow
relu
tensorflow/lite/delegates/gpu/gl/kernels/relu.cc
tensorflow/lite/delegates/xnnpack/relu_test.cc
#include "tensorflow/lite/delegates/gpu/gl/kernels/relu.h" #include <algorithm> #include <any> #include <cstdint> #include <cstring> #include <memory> #include <string> #include <utility> #include <vector> #include "absl/memory/memory.h" #include "tensorflow/lite/delegates/gpu/common/status.h" #include "tensorflow/lite...
#include <cstdint> #include <functional> #include <memory> #include <random> #include <gtest/gtest.h> #include "tensorflow/lite/c/c_api_types.h" #include "tensorflow/lite/delegates/xnnpack/unary_elementwise_tester.h" #include "tensorflow/lite/delegates/xnnpack/xnnpack_delegate.h" #include "tensorflow/lite/schema/schema...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/delegates/gpu/gl/kernels/relu.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/delegates/xnnpack/relu_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
6558b08c-70ef-430e-a29e-211a324b5e75
cpp
tensorflow/tensorflow
convolution_transposed_4x4
tensorflow/lite/delegates/gpu/common/tasks/convolution_transposed_4x4.cc
tensorflow/lite/delegates/gpu/cl/kernels/convolution_transposed_4x4_test.cc
#include "tensorflow/lite/delegates/gpu/common/tasks/convolution_transposed_4x4.h" #include <memory> #include <string> #include <utility> #include <vector> #include "tensorflow/lite/delegates/gpu/common/task/work_group_picking.h" namespace tflite { namespace gpu { namespace { ConvolutionTransposed4x4::WeightsUploadType...
#include <vector> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "tensorflow/lite/delegates/gpu/cl/kernels/cl_test.h" #include "tensorflow/lite/delegates/gpu/common/operations.h" #include "tensorflow/lite/delegates/gpu/common/status.h" #include "tensorflow/lite/delegates/gpu/common/tasks/convolution_transpo...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/delegates/gpu/common/tasks/convolution_transposed_4x4.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/delegates/gpu/cl/kernels/convolution_transposed_4x4_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
179b2409-311b-4b45-94bb-c7d370c11b9f
cpp
tensorflow/tensorflow
conv_generic
tensorflow/lite/delegates/gpu/common/tasks/conv_generic.cc
tensorflow/lite/delegates/gpu/cl/kernels/conv_generic_test.cc
#include "tensorflow/lite/delegates/gpu/common/tasks/conv_generic.h" #include <algorithm> #include <string> #include <utility> #include <vector> #include "absl/strings/substitute.h" #include "tensorflow/lite/delegates/gpu/common/data_type.h" #include "tensorflow/lite/delegates/gpu/common/shape.h" #include "tensorflow/l...
#include <vector> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "tensorflow/lite/delegates/gpu/cl/kernels/cl_test.h" #include "tensorflow/lite/delegates/gpu/common/operations.h" #include "tensorflow/lite/delegates/gpu/common/status.h" #include "tensorflow/lite/delegates/gpu/common/tasks/conv_generic_test_u...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/delegates/gpu/common/tasks/conv_generic.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/delegates/gpu/cl/kernels/conv_generic_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
986cfe0f-77b0-4b65-9c58-58db0f70470c
cpp
tensorflow/tensorflow
softmax1x1
tensorflow/lite/delegates/gpu/common/tasks/softmax1x1.cc
tensorflow/lite/delegates/gpu/cl/kernels/softmax1x1_test.cc
#include "tensorflow/lite/delegates/gpu/common/tasks/softmax1x1.h" #include <string> #include <utility> #include <vector> #include "tensorflow/lite/delegates/gpu/common/operations.h" #include "tensorflow/lite/delegates/gpu/common/status.h" #include "tensorflow/lite/delegates/gpu/common/task/util.h" namespace tflite { n...
#include <vector> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "tensorflow/lite/delegates/gpu/cl/kernels/cl_test.h" #include "tensorflow/lite/delegates/gpu/common/operations.h" #include "tensorflow/lite/delegates/gpu/common/status.h" #include "tensorflow/lite/delegates/gpu/common/tasks/softmax_test_util.h...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/delegates/gpu/common/tasks/softmax1x1.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/delegates/gpu/cl/kernels/softmax1x1_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
529b53b2-4cd1-449f-bb4f-ad35f78a6e09
cpp
tensorflow/tensorflow
select_v2
tensorflow/lite/delegates/gpu/common/tasks/select_v2.cc
tensorflow/lite/delegates/gpu/cl/kernels/select_v2_test.cc
#include "tensorflow/lite/delegates/gpu/common/tasks/select_v2.h" #include <string> #include <utility> namespace tflite { namespace gpu { std::string GetSelectV2Code(const OperationDef& op_def, const SelectV2Attributes& attr, GPUOperation* op) { op->AddSrcTensor("cond_tensor", op_def.src_t...
#include <gtest/gtest.h> #include "tensorflow/lite/delegates/gpu/cl/kernels/cl_test.h" #include "tensorflow/lite/delegates/gpu/common/tasks/select_v2_test_util.h" namespace tflite { namespace gpu { namespace cl { namespace { TEST_F(OpenCLOperationTest, SelectV2) { auto status = SelectV2Test(&exec_env_); ASSERT_TRUE...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/delegates/gpu/common/tasks/select_v2.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/delegates/gpu/cl/kernels/select_v2_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
2e2c616a-8376-4f45-a80a-b75bf4ec95f6
cpp
tensorflow/tensorflow
conv_weights_converter
tensorflow/lite/delegates/gpu/common/tasks/conv_weights_converter.cc
tensorflow/lite/delegates/gpu/cl/kernels/conv_weights_converter_test.cc
#include "tensorflow/lite/delegates/gpu/common/tasks/conv_weights_converter.h" #include <cstring> #include <memory> #include <string> #include <utility> #include "tensorflow/lite/delegates/gpu/common/task/util.h" namespace tflite { namespace gpu { ConverterToConvWeights::ConverterToConvWeights( const OperationDef& ...
#include <vector> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "tensorflow/lite/delegates/gpu/cl/kernels/cl_test.h" #include "tensorflow/lite/delegates/gpu/common/operations.h" #include "tensorflow/lite/delegates/gpu/common/status.h" #include "tensorflow/lite/delegates/gpu/common/tasks/conv_weights_conver...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/delegates/gpu/common/tasks/conv_weights_converter.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/delegates/gpu/cl/kernels/conv_weights_converter_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
a2ad4db8-8d26-408c-a118-7996be926c80
cpp
tensorflow/tensorflow
winograd
tensorflow/lite/delegates/gpu/common/tasks/winograd.cc
tensorflow/lite/delegates/gpu/cl/kernels/winograd_test.cc
#include "tensorflow/lite/delegates/gpu/common/tasks/winograd.h" #include <cstring> #include <memory> #include <string> #include <utility> #include <vector> #include "absl/strings/str_format.h" #include "tensorflow/lite/delegates/gpu/common/data_type.h" #include "tensorflow/lite/delegates/gpu/common/shape.h" #include "...
#include <gmock/gmock.h> #include <gtest/gtest.h> #include "tensorflow/lite/delegates/gpu/cl/kernels/cl_test.h" #include "tensorflow/lite/delegates/gpu/common/operations.h" #include "tensorflow/lite/delegates/gpu/common/status.h" #include "tensorflow/lite/delegates/gpu/common/tasks/winograd_test_util.h" namespace tflit...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/delegates/gpu/common/tasks/winograd.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/delegates/gpu/cl/kernels/winograd_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
10166913-c035-4b72-883c-e0ecb0e36c34
cpp
tensorflow/tensorflow
depthwise_conv_3x3
tensorflow/lite/delegates/gpu/common/tasks/depthwise_conv_3x3.cc
tensorflow/lite/delegates/gpu/cl/kernels/depthwise_conv_3x3_test.cc
#include "tensorflow/lite/delegates/gpu/common/tasks/depthwise_conv_3x3.h" #include <string> #include <utility> #include "absl/strings/match.h" #include "tensorflow/lite/delegates/gpu/common/status.h" #include "tensorflow/lite/delegates/gpu/common/task/work_group_picking.h" namespace tflite { namespace gpu { DepthwiseC...
#include <vector> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "tensorflow/lite/delegates/gpu/cl/kernels/cl_test.h" #include "tensorflow/lite/delegates/gpu/common/operations.h" #include "tensorflow/lite/delegates/gpu/common/status.h" #include "tensorflow/lite/delegates/gpu/common/tasks/depthwise_conv_3x3_...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/delegates/gpu/common/tasks/depthwise_conv_3x3.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/delegates/gpu/cl/kernels/depthwise_conv_3x3_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
ee0b0fcd-8545-49e5-8b69-2c9a4f14e780
cpp
tensorflow/tensorflow
conv_constants
tensorflow/lite/delegates/gpu/common/tasks/conv_constants.cc
tensorflow/lite/delegates/gpu/cl/kernels/conv_constants_test.cc
#include "tensorflow/lite/delegates/gpu/common/tasks/conv_constants.h" #include <algorithm> #include <memory> #include <string> #include <utility> #include "absl/strings/match.h" #include "absl/strings/str_cat.h" namespace tflite { namespace gpu { namespace { int GetAdrenoOptimalMaxConstantSize(const AdrenoInfo& adreno...
#include <gmock/gmock.h> #include <gtest/gtest.h> #include "tensorflow/lite/delegates/gpu/cl/kernels/cl_test.h" #include "tensorflow/lite/delegates/gpu/common/operations.h" #include "tensorflow/lite/delegates/gpu/common/status.h" #include "tensorflow/lite/delegates/gpu/common/tasks/conv_constants_test_util.h" namespace...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/delegates/gpu/common/tasks/conv_constants.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/delegates/gpu/cl/kernels/conv_constants_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
7bd23866-5039-481b-92b9-5f3198d60d37
cpp
tensorflow/tensorflow
reshapex4
tensorflow/lite/delegates/gpu/common/tasks/reshapex4.cc
tensorflow/lite/delegates/gpu/cl/kernels/reshapex4_test.cc
#include "tensorflow/lite/delegates/gpu/common/tasks/reshapex4.h" #include <string> #include "tensorflow/lite/delegates/gpu/common/task/work_group_picking.h" namespace tflite { namespace gpu { namespace { std::string GetReshapeCode(const OperationDef& op_def) { std::string c; c += "MAIN_FUNCTION($0) {\n"; if (op_...
#include <vector> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "tensorflow/lite/delegates/gpu/cl/kernels/cl_test.h" #include "tensorflow/lite/delegates/gpu/common/operations.h" #include "tensorflow/lite/delegates/gpu/common/status.h" #include "tensorflow/lite/delegates/gpu/common/tasks/reshape_test_util.h...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/delegates/gpu/common/tasks/reshapex4.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/delegates/gpu/cl/kernels/reshapex4_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
db90c9df-2043-44fd-a8f2-b28813345dea
cpp
tensorflow/tensorflow
quantize_and_dequantize
tensorflow/lite/delegates/gpu/gl/kernels/quantize_and_dequantize.cc
tensorflow/lite/delegates/gpu/cl/kernels/quantize_and_dequantize_test.cc
#include "tensorflow/lite/delegates/gpu/gl/kernels/quantize_and_dequantize.h" #include <any> #include <memory> #include <string> #include "absl/memory/memory.h" #include "tensorflow/lite/delegates/gpu/common/data_type.h" #include "tensorflow/lite/delegates/gpu/common/shape.h" #include "tensorflow/lite/delegates/gpu/com...
#include <vector> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "tensorflow/lite/delegates/gpu/cl/kernels/cl_test.h" #include "tensorflow/lite/delegates/gpu/common/operations.h" #include "tensorflow/lite/delegates/gpu/common/status.h" #include "tensorflow/lite/delegates/gpu/common/tasks/quantize_and_dequan...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/delegates/gpu/gl/kernels/quantize_and_dequantize.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/delegates/gpu/cl/kernels/quantize_and_dequantize_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
23361921-0139-49e4-8795-9f4dd027c06f
cpp
tensorflow/tensorflow
conv_pointwise
tensorflow/lite/delegates/gpu/common/tasks/special/conv_pointwise.cc
tensorflow/lite/delegates/gpu/common/tasks/special/conv_pointwise_test.cc
#include "tensorflow/lite/delegates/gpu/common/tasks/special/conv_pointwise.h" #include <cstdint> #include <map> #include <memory> #include <set> #include <string> #include <utility> #include <vector> #include "absl/strings/str_cat.h" #include "tensorflow/lite/delegates/gpu/common/operations.h" #include "tensorflow/lit...
#include "tensorflow/lite/delegates/gpu/common/tasks/special/conv_pointwise.h" #include <memory> #include <utility> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "tensorflow/lite/delegates/gpu/cl/kernels/cl_test.h" #include "tensorflow/lite/delegates/gpu/common/precision.h" #include "tensorflow/lite/delega...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/delegates/gpu/common/tasks/special/conv_pointwise.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/delegates/gpu/common/tasks/special/conv_pointwise_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
7695cc84-31be-478b-a72f-9f410a73ea54
cpp
tensorflow/tensorflow
remove_noop
tensorflow/lite/delegates/gpu/common/transformations/remove_noop.cc
tensorflow/lite/delegates/gpu/common/transformations/remove_noop_test.cc
#include "tensorflow/lite/delegates/gpu/common/transformations/remove_noop.h" #include <algorithm> #include <any> #include <functional> #include <iterator> #include <memory> #include <string> #include <utility> #include <variant> #include <vector> #include "absl/memory/memory.h" #include "absl/types/any.h" #include "ab...
#include "tensorflow/lite/delegates/gpu/common/transformations/remove_noop.h" #include <any> #include <memory> #include <string> #include <vector> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "absl/status/status.h" #include "tensorflow/lite/delegates/gpu/common/data_type.h" #include "tensorflow/lite/deleg...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/delegates/gpu/common/transformations/remove_noop.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/delegates/gpu/common/transformations/remove_noop_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
8caf7b1e-1994-4627-83bd-4a5595f8f5cf
cpp
tensorflow/tensorflow
global_pooling_to_reduce_op
tensorflow/lite/delegates/gpu/common/transformations/global_pooling_to_reduce_op.cc
tensorflow/lite/delegates/gpu/common/transformations/global_pooling_to_reduce_op_test.cc
#include "tensorflow/lite/delegates/gpu/common/transformations/global_pooling_to_reduce_op.h" #include <any> #include <memory> #include <string> #include <vector> #include "absl/types/any.h" #include "tensorflow/lite/delegates/gpu/common/model.h" #include "tensorflow/lite/delegates/gpu/common/model_transformer.h" #incl...
#include "tensorflow/lite/delegates/gpu/common/transformations/global_pooling_to_reduce_op.h" #include <memory> #include <string> #include <vector> #include <gtest/gtest.h> #include "absl/status/status.h" #include "absl/types/any.h" #include "tensorflow/lite/delegates/gpu/common/model.h" #include "tensorflow/lite/deleg...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/delegates/gpu/common/transformations/global_pooling_to_reduce_op.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/delegates/gpu/common/transformations/global_pooling_to_reduce_op_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
ccf41526-44d8-4845-b376-164154cfd8fb
cpp
tensorflow/tensorflow
fuse_mul_to_conv
tensorflow/lite/delegates/gpu/common/transformations/fuse_mul_to_conv.cc
tensorflow/lite/delegates/gpu/common/transformations/fuse_mul_to_conv_test.cc
#include "tensorflow/lite/delegates/gpu/common/transformations/fuse_mul_to_conv.h" #include <any> #include <memory> #include <string> #include <variant> #include <vector> #include "absl/types/any.h" #include "absl/types/variant.h" #include "tensorflow/lite/delegates/gpu/common/data_type.h" #include "tensorflow/lite/del...
#include "tensorflow/lite/delegates/gpu/common/transformations/fuse_mul_to_conv.h" #include <any> #include <memory> #include <string> #include <vector> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "absl/status/status.h" #include "tensorflow/lite/delegates/gpu/common/data_type.h" #include "tensorflow/lite/...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/delegates/gpu/common/transformations/fuse_mul_to_conv.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/delegates/gpu/common/transformations/fuse_mul_to_conv_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
cee23eed-0600-448d-a489-0e80e9774145
cpp
tensorflow/tensorflow
make_fully_connected
tensorflow/lite/delegates/gpu/common/transformations/make_fully_connected.cc
tensorflow/lite/delegates/gpu/common/transformations/make_fully_connected_test.cc
#include "tensorflow/lite/delegates/gpu/common/transformations/make_fully_connected.h" #include <any> #include <memory> #include <string> #include <vector> #include "absl/types/any.h" #include "tensorflow/lite/delegates/gpu/common/model.h" #include "tensorflow/lite/delegates/gpu/common/model_transformer.h" #include "te...
#include "tensorflow/lite/delegates/gpu/common/transformations/make_fully_connected.h" #include <any> #include <memory> #include <string> #include <vector> #include <gtest/gtest.h> #include "absl/status/status.h" #include "absl/types/any.h" #include "tensorflow/lite/delegates/gpu/common/model.h" #include "tensorflow/li...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/delegates/gpu/common/transformations/make_fully_connected.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/delegates/gpu/common/transformations/make_fully_connected_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
95ca6da9-8737-4ac5-baea-d3ecf04420f1
cpp
tensorflow/tensorflow
merge_padding_with
tensorflow/lite/delegates/gpu/common/transformations/merge_padding_with.cc
tensorflow/lite/delegates/gpu/common/transformations/merge_padding_with_test.cc
#include "tensorflow/lite/delegates/gpu/common/transformations/merge_padding_with.h" #include <memory> #include <string> #include <variant> #include <vector> #include "absl/memory/memory.h" #include "absl/strings/str_cat.h" #include "absl/types/any.h" #include "absl/types/variant.h" #include "tensorflow/lite/delegates/...
#include "tensorflow/lite/delegates/gpu/common/transformations/merge_padding_with.h" #include <memory> #include <string> #include <vector> #include <gtest/gtest.h> #include "absl/status/status.h" #include "absl/types/any.h" #include "tensorflow/lite/delegates/gpu/common/data_type.h" #include "tensorflow/lite/delegates/...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/delegates/gpu/common/transformations/merge_padding_with.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/delegates/gpu/common/transformations/merge_padding_with_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
35a86109-ab28-4382-a184-1d795c9d4f32
cpp
tensorflow/tensorflow
make_padding
tensorflow/lite/delegates/gpu/common/transformations/make_padding.cc
tensorflow/lite/delegates/gpu/common/transformations/make_padding_test.cc
#include "tensorflow/lite/delegates/gpu/common/transformations/make_padding.h" #include <any> #include <memory> #include <string> #include <vector> #include "absl/types/any.h" #include "tensorflow/lite/delegates/gpu/common/model.h" #include "tensorflow/lite/delegates/gpu/common/model_transformer.h" #include "tensorflow...
#include "tensorflow/lite/delegates/gpu/common/transformations/make_padding.h" #include <any> #include <memory> #include <string> #include <vector> #include <gtest/gtest.h> #include "absl/status/status.h" #include "absl/types/any.h" #include "tensorflow/lite/delegates/gpu/common/model.h" #include "tensorflow/lite/deleg...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/delegates/gpu/common/transformations/make_padding.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/delegates/gpu/common/transformations/make_padding_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
bf520f33-15b9-46ba-bc71-c18155f70b5e
cpp
tensorflow/tensorflow
add_quant_adjustments
tensorflow/lite/delegates/gpu/common/transformations/add_quant_adjustments.cc
tensorflow/lite/delegates/gpu/common/transformations/add_quant_adjustments_test.cc
#include "tensorflow/lite/delegates/gpu/common/transformations/add_quant_adjustments.h" #include <memory> #include <optional> #include <string> #include <vector> #include "absl/strings/str_cat.h" #include "absl/types/any.h" #include "tensorflow/lite/delegates/gpu/common/model.h" #include "tensorflow/lite/delegates/gpu/...
#include "tensorflow/lite/delegates/gpu/common/transformations/add_quant_adjustments.h" #include <any> #include <memory> #include <optional> #include <string> #include <vector> #include <gtest/gtest.h> #include "absl/status/status.h" #include "absl/types/any.h" #include "absl/types/optional.h" #include "tensorflow/lite...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/delegates/gpu/common/transformations/add_quant_adjustments.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/delegates/gpu/common/transformations/add_quant_adjustments_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
db830d9b-54d6-4e33-a5a4-45840555a2d1
cpp
tensorflow/tensorflow
fuse_add_to_conv
tensorflow/lite/delegates/gpu/common/transformations/fuse_add_to_conv.cc
tensorflow/lite/delegates/gpu/common/transformations/fuse_add_to_conv_test.cc
#include "tensorflow/lite/delegates/gpu/common/transformations/fuse_add_to_conv.h" #include <any> #include <memory> #include <string> #include <variant> #include <vector> #include "absl/types/any.h" #include "absl/types/variant.h" #include "tensorflow/lite/delegates/gpu/common/data_type.h" #include "tensorflow/lite/del...
#include "tensorflow/lite/delegates/gpu/common/transformations/fuse_add_to_conv.h" #include <any> #include <memory> #include <string> #include <vector> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "absl/status/status.h" #include "absl/types/any.h" #include "tensorflow/lite/delegates/gpu/common/data_type.h...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/delegates/gpu/common/transformations/fuse_add_to_conv.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/delegates/gpu/common/transformations/fuse_add_to_conv_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
d31ea08a-dfb2-4f54-8dcb-90625354d274
cpp
tensorflow/tensorflow
internal
tensorflow/lite/delegates/gpu/common/memory_management/internal.cc
tensorflow/lite/delegates/gpu/common/memory_management/internal_test.cc
#include "tensorflow/lite/delegates/gpu/common/memory_management/internal.h" #include <algorithm> #include <cstddef> #include <vector> #include "tensorflow/lite/delegates/gpu/common/memory_management/types.h" #include "tensorflow/lite/delegates/gpu/common/types.h" namespace tflite { namespace gpu { bool CompareBySize(c...
#include "tensorflow/lite/delegates/gpu/common/memory_management/internal.h" #include <cstddef> #include <vector> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "tensorflow/lite/delegates/gpu/common/memory_management/types.h" namespace tflite { namespace gpu { namespace { using ::testing::ElementsAre; TEST(...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/delegates/gpu/common/memory_management/internal.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/delegates/gpu/common/memory_management/internal_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
8bba7f0f-f871-4066-bcbc-e3cd8d4e8d1d
cpp
tensorflow/tensorflow
android_sync
tensorflow/lite/delegates/gpu/gl/android_sync.cc
tensorflow/lite/delegates/gpu/gl/android_sync_test.cc
#include "tensorflow/lite/delegates/gpu/gl/android_sync.h" #include <EGL/egl.h> #include <EGL/eglext.h> #include <EGL/eglplatform.h> #include <GLES2/gl2.h> #include <unistd.h> namespace { PFNEGLDUPNATIVEFENCEFDANDROIDPROC eglDupNativeFenceFDANDROID; PFNEGLCREATESYNCKHRPROC eglCreateSyncKHR; PFNEGLWAITSYNCKHRPROC eglWai...
#include "tensorflow/lite/delegates/gpu/gl/android_sync.h" #include <memory> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "tensorflow/lite/delegates/gpu/gl/egl_environment.h" namespace tflite::gpu::gl { TEST(AsyncBufferTest, FenceTest) { EXPECT_EQ(CreateFdGpu(), -1); EXPECT_FALSE(WaitFdGpu(1)); st...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/delegates/gpu/gl/android_sync.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/delegates/gpu/gl/android_sync_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
8c60fc57-1a59-4d6f-851c-314f43c18020
cpp
tensorflow/tensorflow
gl_buffer
tensorflow/lite/delegates/gpu/gl/gl_buffer.cc
tensorflow/lite/delegates/gpu/gl/gl_buffer_test.cc
#include "tensorflow/lite/delegates/gpu/gl/gl_buffer.h" #include <utility> #include "tensorflow/lite/delegates/gpu/common/status.h" namespace tflite { namespace gpu { namespace gl { absl::Status CopyBuffer(const GlBuffer& read_buffer, const GlBuffer& write_buffer) { if (read_buffer.bytes_size(...
#include "tensorflow/lite/delegates/gpu/gl/gl_buffer.h" #include <memory> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "tensorflow/lite/delegates/gpu/common/status.h" #include "tensorflow/lite/delegates/gpu/gl/egl_environment.h" namespace tflite { namespace gpu { namespace gl { namespace { TEST(Buffer, Cr...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/delegates/gpu/gl/gl_buffer.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/delegates/gpu/gl/gl_buffer_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
65b81fe1-98d0-44ae-8c4a-5403dc3066f5
cpp
tensorflow/tensorflow
mean
tensorflow/lite/delegates/gpu/gl/kernels/mean.cc
tensorflow/lite/delegates/xnnpack/mean_test.cc
#include "tensorflow/lite/delegates/gpu/gl/kernels/mean.h" #include <algorithm> #include <any> #include <cstdint> #include <cstring> #include <memory> #include <string> #include <utility> #include <vector> #include "absl/memory/memory.h" #include "absl/status/status.h" #include "tensorflow/lite/delegates/gpu/common/sta...
#include <cstdint> #include <functional> #include <memory> #include <random> #include <gtest/gtest.h> #include "tensorflow/lite/c/c_api_types.h" #include "tensorflow/lite/delegates/xnnpack/reduce_tester.h" #include "tensorflow/lite/delegates/xnnpack/xnnpack_delegate.h" #include "tensorflow/lite/schema/schema_generated....
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/delegates/gpu/gl/kernels/mean.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/delegates/xnnpack/mean_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
453427bf-9eea-4191-ab2c-2632dbdaa00c
cpp
tensorflow/tensorflow
converter
tensorflow/lite/delegates/gpu/cl/kernels/converter.cc
tensorflow/lite/delegates/gpu/gl/kernels/converter_test.cc
#include "tensorflow/lite/delegates/gpu/cl/kernels/converter.h" #include <algorithm> #include <array> #include <memory> #include <string> #include <utility> #include <variant> #include <vector> #include "absl/strings/substitute.h" #include "tensorflow/lite/delegates/gpu/cl/buffer.h" #include "tensorflow/lite/delegates/...
#include "tensorflow/lite/delegates/gpu/gl/kernels/converter.h" #include <algorithm> #include <vector> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "absl/types/span.h" #include "tensorflow/lite/delegates/gpu/common/convert.h" #include "tensorflow/lite/delegates/gpu/common/shape.h" #include "tensorflow/lit...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/delegates/gpu/cl/kernels/converter.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/delegates/gpu/gl/kernels/converter_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
599d7b4e-302c-4d83-ba96-bccd81216d8d
cpp
tensorflow/tensorflow
concat
tensorflow/lite/delegates/gpu/gl/kernels/concat.cc
tensorflow/lite/delegates/hexagon/builders/tests/concat_test.cc
#include "tensorflow/lite/delegates/gpu/gl/kernels/concat.h" #include <algorithm> #include <any> #include <cstdint> #include <cstring> #include <memory> #include <string> #include <utility> #include <vector> #include "absl/memory/memory.h" #include "tensorflow/lite/delegates/gpu/common/status.h" #include "tensorflow/li...
#include <random> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "tensorflow/lite/c/c_api_types.h" #include "tensorflow/lite/delegates/hexagon/builders/tests/hexagon_delegate_op_model.h" #include "tensorflow/lite/kernels/test_util.h" #include "tensorflow/lite/schema/schema_generated.h" namespace tflite { us...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/delegates/gpu/gl/kernels/concat.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/delegates/hexagon/builders/tests/concat_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
d9deaec4-1a4f-4ebb-9b2a-34857a5e3323
cpp
tensorflow/tensorflow
phwc4_to_bhwc
tensorflow/lite/delegates/gpu/gl/converters/phwc4_to_bhwc.cc
tensorflow/lite/delegates/gpu/gl/converters/phwc4_to_bhwc_test.cc
#include "tensorflow/lite/delegates/gpu/gl/converters/phwc4_to_bhwc.h" #include <algorithm> #include <cstdint> #include <string> #include "tensorflow/lite/delegates/gpu/common/status.h" #include "tensorflow/lite/delegates/gpu/common/types.h" #include "tensorflow/lite/delegates/gpu/common/util.h" #include "tensorflow/li...
#include "tensorflow/lite/delegates/gpu/gl/converters/phwc4_to_bhwc.h" #include <algorithm> #include <vector> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "absl/types/span.h" #include "tensorflow/lite/delegates/gpu/common/convert.h" #include "tensorflow/lite/delegates/gpu/common/shape.h" #include "tensorf...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/delegates/gpu/gl/converters/phwc4_to_bhwc.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/delegates/gpu/gl/converters/phwc4_to_bhwc_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
99489848-76b4-4607-b069-058084f822dd
cpp
tensorflow/tensorflow
bhwc_to_phwc4
tensorflow/lite/delegates/gpu/gl/converters/bhwc_to_phwc4.cc
tensorflow/lite/delegates/gpu/gl/converters/bhwc_to_phwc4_test.cc
#include "tensorflow/lite/delegates/gpu/gl/converters/bhwc_to_phwc4.h" #include <algorithm> #include <cstdint> #include <string> #include "tensorflow/lite/delegates/gpu/common/status.h" #include "tensorflow/lite/delegates/gpu/common/types.h" #include "tensorflow/lite/delegates/gpu/common/util.h" #include "tensorflow/li...
#include "tensorflow/lite/delegates/gpu/gl/converters/bhwc_to_phwc4.h" #include <algorithm> #include <vector> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "absl/types/span.h" #include "tensorflow/lite/delegates/gpu/common/convert.h" #include "tensorflow/lite/delegates/gpu/common/shape.h" #include "tensorf...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/delegates/gpu/gl/converters/bhwc_to_phwc4.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/delegates/gpu/gl/converters/bhwc_to_phwc4_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
00ced7c9-ea4d-4995-adb2-b9b085a86dfe
cpp
tensorflow/tensorflow
compiled_node
tensorflow/lite/delegates/gpu/gl/compiler/compiled_node.cc
tensorflow/lite/delegates/gpu/gl/compiler/compiled_node_test.cc
#include "tensorflow/lite/delegates/gpu/gl/compiler/compiled_node.h" #include <algorithm> #include <string> #include "absl/container/flat_hash_set.h" #include "absl/strings/str_cat.h" #include "absl/strings/string_view.h" #include "tensorflow/lite/delegates/gpu/common/status.h" #include "tensorflow/lite/delegates/gpu/g...
#include "tensorflow/lite/delegates/gpu/gl/compiler/compiled_node.h" #include <memory> #include <vector> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "tensorflow/lite/delegates/gpu/gl/variable.h" namespace tflite { namespace gpu { namespace gl { namespace { bool VariableDuplicates(std::vector<Variable> va...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/delegates/gpu/gl/compiler/compiled_node.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/delegates/gpu/gl/compiler/compiled_node_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
10b07a94-816f-47d6-ab5a-942410b3ce6e
cpp
tensorflow/tensorflow
fuse_auto_input
tensorflow/lite/delegates/gpu/gl/compiler/fuse_auto_input.cc
tensorflow/lite/delegates/gpu/gl/compiler/fuse_auto_input_test.cc
#include "tensorflow/lite/delegates/gpu/gl/compiler/fuse_auto_input.h" #include <any> #include <string> #include <vector> #include "absl/container/flat_hash_set.h" #include "absl/strings/str_cat.h" #include "absl/strings/str_replace.h" #include "absl/types/any.h" #include "tensorflow/lite/delegates/gpu/common/model.h" ...
#include "tensorflow/lite/delegates/gpu/gl/compiler/fuse_auto_input.h" #include <utility> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "absl/types/any.h" #include "tensorflow/lite/delegates/gpu/common/model.h" #include "tensorflow/lite/delegates/gpu/common/model_transformer.h" #include "tensorflow/lite/de...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/delegates/gpu/gl/compiler/fuse_auto_input.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/delegates/gpu/gl/compiler/fuse_auto_input_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
99fe9fde-b924-4870-ba69-05afb3b8d966
cpp
tensorflow/tensorflow
variable_accessor
tensorflow/lite/delegates/gpu/gl/compiler/variable_accessor.cc
tensorflow/lite/delegates/gpu/gl/compiler/variable_accessor_test.cc
#include "tensorflow/lite/delegates/gpu/gl/compiler/variable_accessor.h" #include <string> #include <utility> #include <variant> #include "absl/strings/str_cat.h" #include "absl/strings/str_format.h" #include "absl/strings/str_join.h" #include "absl/strings/string_view.h" #include "absl/types/variant.h" #include "tenso...
#include "tensorflow/lite/delegates/gpu/gl/compiler/variable_accessor.h" #include <string> #include <vector> #include <gtest/gtest.h> #include "tensorflow/lite/delegates/gpu/common/types.h" #include "tensorflow/lite/delegates/gpu/gl/compiler/preprocessor.h" namespace tflite { namespace gpu { namespace gl { namespace { ...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/delegates/gpu/gl/compiler/variable_accessor.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/delegates/gpu/gl/compiler/variable_accessor_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
b8fd7778-aef1-4e13-95a9-3baf8f3db331
cpp
tensorflow/tensorflow
preprocessor
tensorflow/lite/delegates/gpu/gl/compiler/preprocessor.cc
tensorflow/lite/delegates/gpu/gl/compiler/preprocessor_test.cc
#include "tensorflow/lite/delegates/gpu/gl/compiler/preprocessor.h" #include <string> #include <utility> #include "absl/strings/str_cat.h" #include "absl/strings/string_view.h" #include "tensorflow/lite/delegates/gpu/common/status.h" namespace tflite { namespace gpu { namespace gl { namespace { absl::string_view FindIn...
#include "tensorflow/lite/delegates/gpu/gl/compiler/preprocessor.h" #include <string> #include <vector> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "absl/strings/string_view.h" namespace tflite { namespace gpu { namespace gl { namespace { class AccuInlineRewrite : public InlineRewrite { public: explic...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/delegates/gpu/gl/compiler/preprocessor.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/delegates/gpu/gl/compiler/preprocessor_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
fe31defb-0fd1-4d9a-820f-8eb2460a1483
cpp
tensorflow/tensorflow
object_accessor
tensorflow/lite/delegates/gpu/gl/compiler/object_accessor.cc
tensorflow/lite/delegates/gpu/gl/compiler/object_accessor_test.cc
#include "tensorflow/lite/delegates/gpu/gl/compiler/object_accessor.h" #include <string> #include <utility> #include <variant> #include "absl/strings/ascii.h" #include "absl/strings/str_cat.h" #include "absl/strings/str_join.h" #include "absl/strings/str_split.h" #include "absl/strings/string_view.h" #include "absl/typ...
#include "tensorflow/lite/delegates/gpu/gl/compiler/object_accessor.h" #include <string> #include <variant> #include <vector> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "absl/types/variant.h" #include "tensorflow/lite/delegates/gpu/common/types.h" #include "tensorflow/lite/delegates/gpu/gl/compiler/prep...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/delegates/gpu/gl/compiler/object_accessor.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/delegates/gpu/gl/compiler/object_accessor_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
d02217b8-66ec-4437-93a2-5f7cdff94d3b
cpp
tensorflow/tensorflow
cl_device
tensorflow/lite/delegates/gpu/cl/cl_device.cc
tensorflow/lite/delegates/gpu/cl/cl_device_test.cc
#include "tensorflow/lite/delegates/gpu/cl/cl_device.h" #include <algorithm> #include <string> #include <utility> #include <vector> #include "absl/strings/ascii.h" #include "absl/strings/numbers.h" #include "absl/strings/str_cat.h" #include "absl/strings/str_format.h" #include "absl/strings/str_split.h" #include "tenso...
#include "tensorflow/lite/delegates/gpu/cl/cl_device.h" #include <gmock/gmock.h> #include <gtest/gtest.h> namespace tflite { namespace gpu { namespace cl { TEST(QualcommOpenClCompilerVersionParsing, Base) { AdrenoInfo::OpenClCompilerVersion result; ParseQualcommOpenClCompilerVersion("random text Compiler E031.79.53...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/delegates/gpu/cl/cl_device.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/delegates/gpu/cl/cl_device_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
c0931f4d-cd5e-4947-b16f-94cba53908d8
cpp
tensorflow/tensorflow
cl_arguments
tensorflow/lite/delegates/gpu/cl/cl_arguments.cc
tensorflow/lite/delegates/gpu/cl/cl_arguments_test.cc
#include "tensorflow/lite/delegates/gpu/cl/cl_arguments.h" #include <memory> #include <string> #include <utility> #include "absl/strings/ascii.h" #include "absl/strings/match.h" #include "absl/strings/str_cat.h" #include "absl/strings/substitute.h" #include "tensorflow/lite/delegates/gpu/cl/buffer.h" #include "tensorfl...
#include "tensorflow/lite/delegates/gpu/cl/cl_arguments.h" #include <cstdint> #include <string> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "absl/strings/match.h" #include "tensorflow/lite/delegates/gpu/cl/buffer.h" #include "tensorflow/lite/delegates/gpu/cl/cl_test.h" #include "tensorflow/lite/delegates...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/delegates/gpu/cl/cl_arguments.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/delegates/gpu/cl/cl_arguments_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
7c7e80e4-5c2e-4c2d-b596-3d9fceb6252c
cpp
tensorflow/tensorflow
simple_opaque_delegate
tensorflow/lite/delegates/utils/simple_opaque_delegate.cc
tensorflow/lite/delegates/utils/simple_opaque_delegate_test.cc
#include "tensorflow/lite/delegates/utils/simple_opaque_delegate.h" #include <stddef.h> #include <stdint.h> #include <memory> #include <vector> #include "tensorflow/lite/array.h" #include "tensorflow/lite/builtin_ops.h" #include "tensorflow/lite/c/c_api.h" #include "tensorflow/lite/c/c_api_opaque.h" #include "tensorflo...
#include "tensorflow/lite/delegates/utils/simple_opaque_delegate.h" #include <stddef.h> #include <stdint.h> #include <string.h> #include <array> #include <memory> #include <utility> #include <vector> #include <gtest/gtest.h> #include "tensorflow/lite/builtin_ops.h" #include "tensorflow/lite/c/c_api.h" #include "tensorf...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/delegates/utils/simple_opaque_delegate.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/delegates/utils/simple_opaque_delegate_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
b1461e3e-bfdf-4425-90cb-2c455821fae2
cpp
tensorflow/tensorflow
simple_delegate
tensorflow/lite/delegates/utils/simple_delegate.cc
tensorflow/lite/delegates/utils/simple_delegate_test.cc
#include "tensorflow/lite/delegates/utils/simple_delegate.h" #include <stddef.h> #include <stdint.h> #include <limits> #include <memory> #include <string> #include <vector> #include "tensorflow/lite/array.h" #include "tensorflow/lite/builtin_ops.h" #include "tensorflow/lite/core/c/common.h" #include "tensorflow/lite/de...
#include <stdlib.h> #include <memory> #include <utility> #include <gtest/gtest.h> #include "tensorflow/lite/builtin_ops.h" #include "tensorflow/lite/core/c/common.h" #include "tensorflow/lite/core/kernels/builtin_op_kernels.h" #include "tensorflow/lite/delegates/utils/dummy_delegate/dummy_delegate.h" #include "tensorfl...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/delegates/utils/simple_delegate.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/delegates/utils/simple_delegate_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
2af69398-20b4-4a9a-9f51-bca2455e1db4
cpp
tensorflow/tensorflow
sample_stable_delegate_external
tensorflow/lite/delegates/utils/experimental/sample_stable_delegate/sample_stable_delegate_external.cc
tensorflow/lite/delegates/utils/experimental/sample_stable_delegate/sample_stable_delegate_external_test.cc
#include <memory> #include <utility> #include "tensorflow/lite/acceleration/configuration/c/delegate_plugin.h" #include "tensorflow/lite/acceleration/configuration/c/stable_delegate.h" #include "tensorflow/lite/c/c_api_types.h" #include "tensorflow/lite/c/common.h" #include "tensorflow/lite/delegates/utils/experimental...
#include <cstdint> #include <vector> #include <gtest/gtest.h> #include "tensorflow/lite/acceleration/configuration/c/stable_delegate.h" #include "tensorflow/lite/acceleration/configuration/configuration_generated.h" #include "tensorflow/lite/c/c_api.h" #include "tensorflow/lite/c/c_api_opaque.h" #include "tensorflow/li...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/delegates/utils/experimental/sample_stable_delegate/sample_stable_delegate_external.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/delegates/utils/experimental/sample_stable_delegate/sample_stable_delegate_external_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
e938fec1-2a3e-4a74-a363-d75017bc5abe
cpp
tensorflow/tensorflow
sample_stable_delegate_with_control_flow
tensorflow/lite/delegates/utils/experimental/sample_stable_delegate/sample_stable_delegate_with_control_flow.cc
tensorflow/lite/delegates/utils/experimental/sample_stable_delegate/sample_stable_delegate_with_control_flow_test.cc
#include "tensorflow/lite/delegates/utils/experimental/sample_stable_delegate/sample_stable_delegate_with_control_flow.h" #include <memory> #include <utility> #include <vector> #include "absl/container/flat_hash_map.h" #include "absl/container/flat_hash_set.h" #include "tensorflow/lite/c/builtin_op_data.h" #include "te...
#include "tensorflow/lite/delegates/utils/experimental/sample_stable_delegate/sample_stable_delegate_with_control_flow.h" #include <cstddef> #include <memory> #include <vector> #include <gtest/gtest.h> #include "tensorflow/lite/c/c_api.h" #include "tensorflow/lite/c/c_api_opaque.h" #include "tensorflow/lite/c/c_api_typ...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/delegates/utils/experimental/sample_stable_delegate/sample_stable_delegate_with_control_flow.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/delegates/utils/experimental/sample_stable_delegate/sample_stable_delegate_with_control_flow_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
d825912f-d5a7-4c16-9580-be760349350d
cpp
tensorflow/tensorflow
sample_stable_delegate
tensorflow/lite/delegates/utils/experimental/sample_stable_delegate/sample_stable_delegate.cc
tensorflow/lite/delegates/utils/experimental/sample_stable_delegate/sample_stable_delegate_test.cc
#include "tensorflow/lite/delegates/utils/experimental/sample_stable_delegate/sample_stable_delegate.h" #include <memory> #include <vector> #include "absl/container/flat_hash_map.h" #include "absl/container/flat_hash_set.h" #include "tensorflow/lite/c/builtin_op_data.h" #include "tensorflow/lite/c/c_api.h" #include "te...
#include "tensorflow/lite/delegates/utils/experimental/sample_stable_delegate/sample_stable_delegate.h" #include <cstddef> #include <memory> #include <vector> #include <gtest/gtest.h> #include "tensorflow/lite/c/c_api.h" #include "tensorflow/lite/c/c_api_opaque.h" #include "tensorflow/lite/c/c_api_types.h" #include "te...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/delegates/utils/experimental/sample_stable_delegate/sample_stable_delegate.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/delegates/utils/experimental/sample_stable_delegate/sample_stable_delegate_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
b204cf53-9ac5-4632-8b9c-991be7e258ce
cpp
tensorflow/tensorflow
tflite_settings_json_parser
tensorflow/lite/delegates/utils/experimental/stable_delegate/tflite_settings_json_parser.cc
tensorflow/lite/delegates/utils/experimental/stable_delegate/tflite_settings_json_parser_test.cc
#include "tensorflow/lite/delegates/utils/experimental/stable_delegate/tflite_settings_json_parser.h" #include <string> #include "flatbuffers/idl.h" #include "tensorflow/lite/acceleration/configuration/configuration_fbs_contents-inl.h" #include "tensorflow/lite/acceleration/configuration/configuration_generated.h" #i...
#include "tensorflow/lite/delegates/utils/experimental/stable_delegate/tflite_settings_json_parser.h" #include <gtest/gtest.h> #include "flatbuffers/buffer.h" #include "tensorflow/lite/acceleration/configuration/configuration_generated.h" namespace { using tflite::TFLiteSettings; using tflite::delegates::utils::TfLit...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/delegates/utils/experimental/stable_delegate/tflite_settings_json_parser.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/delegates/utils/experimental/stable_delegate/tflite_settings_json_parser_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
5657ffe1-80dd-465c-9d29-73c706d6baa7
cpp
tensorflow/tensorflow
delegate_loader
tensorflow/lite/delegates/utils/experimental/stable_delegate/delegate_loader.cc
tensorflow/lite/delegates/utils/experimental/stable_delegate/delegate_loader_test.cc
#include "tensorflow/lite/delegates/utils/experimental/stable_delegate/delegate_loader.h" #include <dlfcn.h> #include <stdlib.h> #include <string.h> #include <cerrno> #include <string> #include "absl/strings/numbers.h" #include "tensorflow/lite/acceleration/configuration/c/stable_delegate.h" #include "tensorflow/lite/e...
#include "tensorflow/lite/delegates/utils/experimental/stable_delegate/delegate_loader.h" #include <cstdlib> #include <gtest/gtest.h> #include "tensorflow/lite/acceleration/configuration/c/stable_delegate.h" #include "tensorflow/lite/acceleration/configuration/configuration_generated.h" #include "tensorflow/lite/delega...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/delegates/utils/experimental/stable_delegate/delegate_loader.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/delegates/utils/experimental/stable_delegate/delegate_loader_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
40fe60b6-15b3-4cfd-9724-57a62982e349
cpp
tensorflow/tensorflow
min_max_builder
tensorflow/lite/delegates/hexagon/builders/min_max_builder.cc
tensorflow/lite/delegates/hexagon/builders/tests/min_max_builder_test.cc
#include "tensorflow/lite/delegates/hexagon/builders/min_max_builder.h" #include "tensorflow/lite/core/c/common.h" namespace tflite { namespace delegates { namespace hexagon { TfLiteStatus MinMaxOpBuilder::PopulateSubGraph(const TfLiteIntArray* inputs, const TfLiteIntArray...
#include <initializer_list> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "tensorflow/lite/c/c_api_types.h" #include "tensorflow/lite/c/common.h" #include "tensorflow/lite/delegates/hexagon/builders/tests/hexagon_delegate_op_model.h" #include "tensorflow/lite/kernels/test_util.h" #include "tensorflow/lite/...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/delegates/hexagon/builders/min_max_builder.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/delegates/hexagon/builders/tests/min_max_builder_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
887c6150-e4d7-406b-8f4d-849ff0d7cb86
cpp
tensorflow/tensorflow
nnapi_delegate
tensorflow/lite/delegates/nnapi/nnapi_delegate.cc
tensorflow/lite/delegates/nnapi/nnapi_delegate_test.cc
#include "tensorflow/lite/delegates/nnapi/nnapi_delegate.h" #include <algorithm> #include <cinttypes> #include <cstdarg> #include <cstddef> #include <cstdint> #include <cstdio> #include <cstring> #include <functional> #include <initializer_list> #include <iostream> #include <iterator> #include <limits> #include <map> #...
#include "tensorflow/lite/delegates/nnapi/nnapi_delegate.h" #include <sys/mman.h> #include <algorithm> #include <functional> #include <initializer_list> #include <memory> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "absl/log/check.h" #include "tensorflow/lite/context_util.h" #include "tensorflow/lite/cor...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/delegates/nnapi/nnapi_delegate.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/delegates/nnapi/nnapi_delegate_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
3affe1cf-fcfc-4263-9a25-ad26d0fba32e
cpp
tensorflow/tensorflow
quant_lstm_sup
tensorflow/lite/delegates/nnapi/quant_lstm_sup.cc
tensorflow/lite/delegates/nnapi/quant_lstm_sup_test.cc
#include "tensorflow/lite/delegates/nnapi/quant_lstm_sup.h" #include <algorithm> #include "tensorflow/lite/c/common.h" #include "tensorflow/lite/kernels/kernel_util.h" namespace tflite { namespace delegate { namespace nnapi { void ExtractQuantLstmWeightsSubmatrix(const TfLiteIntArray* submatrix_dims, ...
#include "tensorflow/lite/delegates/nnapi/quant_lstm_sup.h" #include <cstdint> #include <initializer_list> #include <memory> #include <vector> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "tensorflow/lite/core/c/common.h" namespace { using ::testing::ElementsAreArray; using ::testing::Test; class DimsAllo...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/delegates/nnapi/quant_lstm_sup.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/delegates/nnapi/quant_lstm_sup_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
1c4bfa72-7d6e-4c9a-b6e8-32a2e923bbb6
cpp
tensorflow/tensorflow
nnapi_delegate_c_api
tensorflow/lite/delegates/nnapi/nnapi_delegate_c_api.cc
tensorflow/lite/delegates/nnapi/nnapi_delegate_c_api_test.cc
#include "tensorflow/lite/delegates/nnapi/nnapi_delegate_c_api.h" #include "tensorflow/lite/c/c_api_types.h" #include "tensorflow/lite/delegates/nnapi/nnapi_delegate.h" #include "tensorflow/lite/nnapi/sl/public/NeuralNetworksSupportLibraryImpl.h" TfLiteDelegate* TfLiteNnapiDelegateCreate( const TfLiteNnapiDelegateO...
#include "tensorflow/lite/delegates/nnapi/nnapi_delegate_c_api.h" #include <sys/mman.h> #include <algorithm> #include <initializer_list> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "tensorflow/lite/core/c/common.h" #include "tensorflow/lite/kernels/test_util.h" #include "tensorflow/lite/schema/schema_gen...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/delegates/nnapi/nnapi_delegate_c_api.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/delegates/nnapi/nnapi_delegate_c_api_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
1f3949ba-c6eb-45b8-8bf4-d4a5c74d3fa7
cpp
tensorflow/tensorflow
weight_cache
tensorflow/lite/delegates/xnnpack/weight_cache.cc
tensorflow/lite/delegates/xnnpack/weight_cache_test.cc
#include "tensorflow/lite/delegates/xnnpack/weight_cache.h" #include <fcntl.h> #include <sys/stat.h> #if defined(_MSC_VER) #include <io.h> #define F_OK 0 #else #include <sys/mman.h> #include <unistd.h> #endif #include <algorithm> #include <cerrno> #include <cstddef> #include <cstdint> #include <cstdio> #include <cstd...
#include "tensorflow/lite/delegates/xnnpack/weight_cache.h" #include <fcntl.h> #include <algorithm> #include <cassert> #include <cerrno> #include <cstddef> #include <cstdint> #include <cstdio> #include <cstring> #include <iterator> #include <map> #include <ostream> #include <random> #include <string> #include <tuple> #...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/delegates/xnnpack/weight_cache.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/delegates/xnnpack/weight_cache_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
e0e8be79-3ac2-41fa-9213-6eda04617265
cpp
tensorflow/tensorflow
file_util
tensorflow/lite/delegates/xnnpack/file_util.cc
tensorflow/lite/delegates/xnnpack/file_util_test.cc
#include "tensorflow/lite/delegates/xnnpack/file_util.h" #include <fcntl.h> #if defined(_MSC_VER) #include <io.h> #define F_OK 0 #else #include <unistd.h> #endif #if defined(__linux__) || defined(__ANDROID__) #ifndef TFLITE_XNNPACK_IN_MEMORY_FILE_ENABLED #include <sys/syscall.h> #ifdef SYS_memfd_create #define TFLITE...
#include "tensorflow/lite/delegates/xnnpack/file_util.h" #include <fcntl.h> #include <string> #include <type_traits> #include <utility> #include <gtest/gtest.h> namespace tflite::xnnpack { namespace { TEST(FileDescriptorTest, DefaultConstructedIsInvalid) { FileDescriptor fd; EXPECT_FALSE(fd.IsValid()); } TEST(FileD...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/delegates/xnnpack/file_util.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/delegates/xnnpack/file_util_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
1fbbc63d-427e-4986-9d90-d77ea560e790
cpp
tensorflow/tensorflow
delegate_data
tensorflow/lite/delegates/flex/delegate_data.cc
tensorflow/lite/delegates/flex/delegate_data_test.cc
#include "tensorflow/lite/delegates/flex/delegate_data.h" #include <functional> #include <memory> #include <set> #include <string> #include <utility> #include <vector> #include "absl/memory/memory.h" #include "absl/strings/str_cat.h" #include "flatbuffers/flexbuffers.h" #include "tensorflow/core/common_runtime/device...
#include "tensorflow/lite/delegates/flex/delegate_data.h" #include <memory> #include <string> #include <utility> #include <vector> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "absl/memory/memory.h" #include "absl/strings/string_view.h" #include "tensorflow/core/common_runtime/eager/context.h" #include "t...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/delegates/flex/delegate_data.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/delegates/flex/delegate_data_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
2ddb0fc7-9ef8-4b75-ae3c-efd61e630587
cpp
tensorflow/tensorflow
buffer_map
tensorflow/lite/delegates/flex/buffer_map.cc
tensorflow/lite/delegates/flex/buffer_map_test.cc
#include "tensorflow/lite/delegates/flex/buffer_map.h" #include <utility> #include "tensorflow/c/c_api_internal.h" #include "tensorflow/lite/delegates/flex/buffer_map_util.h" #include "tensorflow/lite/delegates/flex/util.h" #include "tensorflow/lite/kernels/internal/compatibility.h" #include "tensorflow/lite/string_typ...
#include "tensorflow/lite/delegates/flex/buffer_map.h" #include <sys/types.h> #include <functional> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "tensorflow/core/framework/tensor.h" #include "tensorflow/core/framework/tensor_shape.h" #include "tensorflow/lite/core/c/c_api_types.h" #include "tensorflow/lit...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/delegates/flex/buffer_map.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/delegates/flex/buffer_map_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
c2483977-5d43-4a8a-b8d1-d284e3bc2329
cpp
tensorflow/tensorflow
c_api_opaque_internal
tensorflow/lite/c/c_api_opaque_internal.cc
tensorflow/lite/c/c_api_opaque_internal_test.cc
#include "tensorflow/lite/c/c_api_opaque_internal.h" #include <memory> #include <unordered_map> #include <utility> #include "tensorflow/lite/core/api/op_resolver.h" #include "tensorflow/lite/core/c/common.h" #include "tensorflow/lite/core/c/operator.h" #include "tensorflow/lite/core/subgraph.h" namespace tflite { names...
#include "tensorflow/lite/c/c_api_opaque_internal.h" #include <memory> #include <gtest/gtest.h> #include "tensorflow/lite/builtin_ops.h" #include "tensorflow/lite/core/subgraph.h" #include "tensorflow/lite/interpreter.h" #include "tensorflow/lite/interpreter_builder.h" #include "tensorflow/lite/kernels/builtin_op_kerne...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/c/c_api_opaque_internal.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/c/c_api_opaque_internal_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
44a027b4-1a91-443c-bdaf-d979b02d5afa
cpp
tensorflow/tensorflow
tooling_util
tensorflow/lite/toco/tooling_util.cc
tensorflow/lite/toco/tooling_util_test.cc
#include "tensorflow/lite/toco/tooling_util.h" #include <algorithm> #include <functional> #include <iterator> #include <set> #include <string> #include <unordered_map> #include <unordered_set> #include <utility> #include "absl/strings/ascii.h" #include "absl/strings/str_cat.h" #include "absl/strings/str_join.h" #includ...
#include <tuple> #include <vector> #include <gtest/gtest.h> #include "tensorflow/core/lib/core/status.h" #include "tensorflow/lite/testing/util.h" #include "tensorflow/lite/toco/model.h" #include "tensorflow/lite/toco/toco_port.h" #include "tensorflow/lite/toco/tooling_util.h" namespace toco { enum class Agreement { kB...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/toco/tooling_util.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/toco/tooling_util_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
6916f821-7c75-4936-99fa-2bea3e19eb07
cpp
tensorflow/tensorflow
toco_cmdline_flags
tensorflow/lite/toco/toco_cmdline_flags.cc
tensorflow/lite/toco/toco_cmdline_flags_test.cc
#include "tensorflow/lite/toco/toco_cmdline_flags.h" #include <optional> #include <string> #include <vector> #include "absl/strings/numbers.h" #include "absl/strings/str_join.h" #include "absl/strings/str_split.h" #include "absl/strings/strip.h" #include "absl/types/optional.h" #include "tensorflow/core/platform/loggin...
#include "tensorflow/lite/toco/toco_cmdline_flags.h" #include <string> #include <gtest/gtest.h> #include "tensorflow/lite/testing/util.h" namespace toco { namespace { TEST(TocoCmdlineFlagsTest, DefaultValue) { int argc = 1; const char* args[] = {"toco", nullptr}; std::string message; ParsedTocoFlags result_flag...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/toco/toco_cmdline_flags.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/toco/toco_cmdline_flags_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
5c94ebb6-18e0-4adb-b0a7-957d43bac92d
cpp
tensorflow/tensorflow
import_tensorflow
tensorflow/lite/toco/import_tensorflow.cc
tensorflow/lite/toco/import_tensorflow_test.cc
#include "tensorflow/lite/toco/import_tensorflow.h" #include <memory> #include <string> #include <utility> #include <vector> #include "google/protobuf/map.h" #include "google/protobuf/text_format.h" #include "absl/memory/memory.h" #include "absl/strings/match.h" #include "absl/strings/numbers.h" #include "absl/strings/...
#include "tensorflow/lite/toco/import_tensorflow.h" #include <memory> #include <string> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "tensorflow/core/framework/attr_value.pb.h" #include "tensorflow/core/framework/attr_value_util.h" #include "tensorflow/core/framework/node_def.pb.h" #include "tensorflow/co...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/toco/import_tensorflow.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/toco/import_tensorflow_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
0de25d93-901e-4158-b088-a4a0e872cc8c
cpp
tensorflow/tensorflow
toco_convert
tensorflow/lite/toco/toco_convert.cc
tensorflow/lite/toco/toco_convert_test.cc
#include <cstdio> #include <memory> #include <string> #include "absl/strings/string_view.h" #include "tensorflow/lite/toco/model.h" #include "tensorflow/lite/toco/model_cmdline_flags.h" #include "tensorflow/lite/toco/model_flags.pb.h" #include "tensorflow/lite/toco/toco_cmdline_flags.h" #include "tensorflow/lite/toco/t...
#include "tensorflow/lite/toco/toco_convert.h" #include <string> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "tensorflow/lite/testing/util.h" #include "tensorflow/lite/toco/toco_port.h" namespace toco { namespace { TEST(TocoTest, MissingInputFile) { ParsedTocoFlags toco_flags; ParsedModelFlags model_...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/toco/toco_convert.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/toco/toco_convert_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
5ae6834d-0580-44a1-8bd2-af4b865d5c58
cpp
tensorflow/tensorflow
toco_port
tensorflow/lite/toco/toco_port.cc
tensorflow/lite/toco/toco_port_test.cc
#include "tensorflow/lite/toco/toco_port.h" #include <cstring> #include <string> #include "absl/status/status.h" #include "tensorflow/core/lib/core/errors.h" #include "tensorflow/core/lib/core/status.h" #include "tensorflow/core/platform/logging.h" #include "tensorflow/lite/toco/toco_types.h" #if defined(__ANDROID__) &...
#include "tensorflow/lite/toco/toco_port.h" #include "tensorflow/lite/testing/util.h" #include "tensorflow/lite/toco/toco_types.h" #include <gmock/gmock.h> #include <gtest/gtest.h> namespace toco { namespace port { namespace { #ifdef PLATFORM_GOOGLE #define TFLITE_PREFIX "third_party/tensorflow/lite/" #else #define TFL...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/toco/toco_port.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/toco/toco_port_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea