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
85a652e9-c99d-43a7-9418-8569ec44a1db
cpp
tensorflow/tensorflow
rotate
tensorflow/lite/experimental/ml_adjacent/algo/rotate.cc
tensorflow/lite/experimental/ml_adjacent/algo/rotate_test.cc
#include <cmath> #include <cstring> #include "tensorflow/lite/experimental/ml_adjacent/lib.h" #include "tensorflow/lite/kernels/internal/compatibility.h" namespace ml_adj { namespace rotate { namespace { using ::ml_adj::algo::Algo; using ::ml_adj::algo::InputPack; using ::ml_adj::algo::OutputPack; using ::ml_adj::data:...
#include "tensorflow/lite/experimental/ml_adjacent/algo/rotate.h" #include <cstring> #include <vector> #include <gtest/gtest.h> #include "tensorflow/lite/experimental/ml_adjacent/data/owning_vector_ref.h" #include "tensorflow/lite/experimental/ml_adjacent/lib.h" using ::ml_adj::algo::Algo; using ::ml_adj::data::OwningV...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/experimental/ml_adjacent/algo/rotate.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/experimental/ml_adjacent/algo/rotate_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
4152b9d6-a170-4c43-a583-3cc6b5fc12ef
cpp
tensorflow/tensorflow
flip_left_right
tensorflow/lite/experimental/ml_adjacent/algo/flip_left_right.cc
tensorflow/lite/experimental/ml_adjacent/algo/flip_left_right_test.cc
#include <cstring> #include "tensorflow/lite/experimental/ml_adjacent/lib.h" #include "tensorflow/lite/kernels/internal/compatibility.h" namespace ml_adj { namespace flip_left_right { namespace { using ::ml_adj::algo::Algo; using ::ml_adj::algo::InputPack; using ::ml_adj::algo::OutputPack; using ::ml_adj::data::DataRef...
#include "tensorflow/lite/experimental/ml_adjacent/algo/flip_left_right.h" #include <cstring> #include <vector> #include <gtest/gtest.h> #include "tensorflow/lite/experimental/ml_adjacent/data/owning_vector_ref.h" #include "tensorflow/lite/experimental/ml_adjacent/lib.h" using ::ml_adj::algo::Algo; using ::ml_adj::data...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/experimental/ml_adjacent/algo/flip_left_right.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/experimental/ml_adjacent/algo/flip_left_right_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
a1d59636-3fa4-41e2-a4c4-60dc32774304
cpp
tensorflow/tensorflow
resize
tensorflow/lite/delegates/gpu/gl/kernels/resize.cc
tensorflow/lite/delegates/hexagon/builders/tests/resize_test.cc
#include "tensorflow/lite/delegates/gpu/gl/kernels/resize.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/operations.h" #include "tensorflo...
#include <initializer_list> #include <gmock/gmock.h> #include <gtest/gtest.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 { using testing::ElementsAreArray; cl...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/delegates/gpu/gl/kernels/resize.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/delegates/hexagon/builders/tests/resize_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
9c45de3c-81f9-4c01-82ae-09a5a486e55a
cpp
tensorflow/tensorflow
crop
tensorflow/lite/experimental/ml_adjacent/algo/crop.cc
tensorflow/lite/experimental/ml_adjacent/algo/crop_test.cc
#include "tensorflow/lite/experimental/ml_adjacent/algo/crop.h" #include <cstring> #include "tensorflow/lite/experimental/ml_adjacent/lib.h" #include "tensorflow/lite/kernels/internal/compatibility.h" namespace ml_adj { namespace crop { namespace { using ::ml_adj::algo::Algo; using ::ml_adj::algo::InputPack; using ::ml...
#include "tensorflow/lite/experimental/ml_adjacent/algo/crop.h" #include <cstring> #include <numeric> #include <vector> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "absl/types/span.h" #include "tensorflow/lite/experimental/ml_adjacent/data/owning_vector_ref.h" #include "tensorflow/lite/experimental/ml_ad...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/experimental/ml_adjacent/algo/crop.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/experimental/ml_adjacent/algo/crop_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
7bc6ad5c-bb5f-48df-87f8-8becd1d89c17
cpp
tensorflow/tensorflow
per_image_standardization
tensorflow/lite/experimental/ml_adjacent/algo/per_image_standardization.cc
tensorflow/lite/experimental/ml_adjacent/algo/per_image_standardization_test.cc
#include "tensorflow/lite/experimental/ml_adjacent/algo/per_image_standardization.h" #include <cmath> #include "tensorflow/lite/experimental/ml_adjacent/lib.h" #include "tensorflow/lite/kernels/internal/compatibility.h" namespace ml_adj { namespace per_image_standardization { namespace { using ::ml_adj::algo::Algo; usi...
#include "tensorflow/lite/experimental/ml_adjacent/algo/per_image_standardization.h" #include <cstring> #include <vector> #include <gtest/gtest.h> #include "tensorflow/lite/experimental/ml_adjacent/data/owning_vector_ref.h" #include "tensorflow/lite/experimental/ml_adjacent/lib.h" using ::ml_adj::algo::Algo; using ::ml...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/experimental/ml_adjacent/algo/per_image_standardization.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/experimental/ml_adjacent/algo/per_image_standardization_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
517e8f1b-746b-423f-b004-526620287e60
cpp
tensorflow/tensorflow
rgb_to_yuv
tensorflow/lite/experimental/ml_adjacent/algo/rgb_to_yuv.cc
tensorflow/lite/experimental/ml_adjacent/algo/rgb_to_yuv_test.cc
#include "tensorflow/lite/experimental/ml_adjacent/algo/image_utils.h" #include "tensorflow/lite/experimental/ml_adjacent/lib.h" #include "tensorflow/lite/kernels/internal/compatibility.h" namespace ml_adj { namespace rgb_to_yuv { namespace { using ::ml_adj::algo::Algo; using ::ml_adj::algo::InputPack; using ::ml_adj::...
#include "tensorflow/lite/experimental/ml_adjacent/algo/rgb_to_yuv.h" #include <cstring> #include <vector> #include <gtest/gtest.h> #include "tensorflow/lite/experimental/ml_adjacent/data/owning_vector_ref.h" #include "tensorflow/lite/experimental/ml_adjacent/lib.h" using ::ml_adj::algo::Algo; using ::ml_adj::data::Own...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/experimental/ml_adjacent/algo/rgb_to_yuv.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/experimental/ml_adjacent/algo/rgb_to_yuv_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
3b452d23-eecd-4019-aa11-415a1c1afaff
cpp
tensorflow/tensorflow
yuv_to_rgb
tensorflow/lite/experimental/ml_adjacent/algo/yuv_to_rgb.cc
tensorflow/lite/experimental/ml_adjacent/algo/yuv_to_rgb_test.cc
#include "tensorflow/lite/experimental/ml_adjacent/algo/image_utils.h" #include "tensorflow/lite/experimental/ml_adjacent/lib.h" #include "tensorflow/lite/kernels/internal/compatibility.h" namespace ml_adj { namespace yuv_to_rgb { namespace { using ::ml_adj::algo::Algo; using ::ml_adj::algo::InputPack; using ::ml_adj::...
#include "tensorflow/lite/experimental/ml_adjacent/algo/yuv_to_rgb.h" #include <cstring> #include <vector> #include <gtest/gtest.h> #include "tensorflow/lite/experimental/ml_adjacent/data/owning_vector_ref.h" #include "tensorflow/lite/experimental/ml_adjacent/lib.h" using ::ml_adj::algo::Algo; using ::ml_adj::data::Own...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/experimental/ml_adjacent/algo/yuv_to_rgb.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/experimental/ml_adjacent/algo/yuv_to_rgb_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
84951f39-a11a-4836-802f-02491812829a
cpp
tensorflow/tensorflow
rgb_to_grayscale
tensorflow/lite/experimental/ml_adjacent/algo/rgb_to_grayscale.cc
tensorflow/lite/experimental/ml_adjacent/algo/rgb_to_grayscale_test.cc
#include "tensorflow/lite/experimental/ml_adjacent/algo/rgb_to_grayscale.h" #include "tensorflow/lite/experimental/ml_adjacent/lib.h" #include "tensorflow/lite/kernels/internal/compatibility.h" namespace ml_adj { namespace rgb_to_grayscale { namespace { using ::ml_adj::algo::Algo; using ::ml_adj::algo::InputPack; using...
#include "tensorflow/lite/experimental/ml_adjacent/algo/rgb_to_grayscale.h" #include <cstring> #include <vector> #include <gtest/gtest.h> #include "tensorflow/lite/experimental/ml_adjacent/data/owning_vector_ref.h" #include "tensorflow/lite/experimental/ml_adjacent/lib.h" using ::ml_adj::algo::Algo; using ::ml_adj::dat...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/experimental/ml_adjacent/algo/rgb_to_grayscale.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/experimental/ml_adjacent/algo/rgb_to_grayscale_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
20ab480d-f2a4-4968-9625-c3ddbf78e082
cpp
tensorflow/tensorflow
flip_up_down
tensorflow/lite/experimental/ml_adjacent/algo/flip_up_down.cc
tensorflow/lite/experimental/ml_adjacent/algo/flip_up_down_test.cc
#include <cstring> #include "tensorflow/lite/experimental/ml_adjacent/lib.h" #include "tensorflow/lite/kernels/internal/compatibility.h" namespace ml_adj { namespace flip_up_down { namespace { using ::ml_adj::algo::Algo; using ::ml_adj::algo::InputPack; using ::ml_adj::algo::OutputPack; using ::ml_adj::data::DataRef; u...
#include "tensorflow/lite/experimental/ml_adjacent/algo/flip_up_down.h" #include <cstring> #include <vector> #include <gtest/gtest.h> #include "tensorflow/lite/experimental/ml_adjacent/data/owning_vector_ref.h" #include "tensorflow/lite/experimental/ml_adjacent/lib.h" using ::ml_adj::algo::Algo; using ::ml_adj::data::O...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/experimental/ml_adjacent/algo/flip_up_down.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/experimental/ml_adjacent/algo/flip_up_down_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
8027a9a8-1fb7-4aea-ae54-cfe1d96f544a
cpp
tensorflow/tensorflow
owning_vector_ref
tensorflow/lite/experimental/ml_adjacent/data/owning_vector_ref.cc
tensorflow/lite/experimental/ml_adjacent/data/owning_vector_ref_test.cc
#include "tensorflow/lite/experimental/ml_adjacent/data/owning_vector_ref.h" #include <cstddef> #include "tensorflow/lite/experimental/ml_adjacent/lib.h" namespace ml_adj { namespace data { void OwningVectorRef::Resize(dims_t&& dims) { dims_ = dims; num_elements_ = 0; for (dim_t d : dims_) { if (d <= 0) { ...
#include "tensorflow/lite/experimental/ml_adjacent/data/owning_vector_ref.h" #include <algorithm> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "tensorflow/lite/experimental/ml_adjacent/lib.h" namespace ml_adj { namespace data { namespace { using ::testing::ElementsAreArray; using ::testing::IsEmpty; TEST(...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/experimental/ml_adjacent/data/owning_vector_ref.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/experimental/ml_adjacent/data/owning_vector_ref_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
d694b9e1-5657-4324-bf6e-f7b39fa399c0
cpp
tensorflow/tensorflow
quantized_tensor_element_type
tensorflow/lite/experimental/shlo/quantized_tensor_element_type.cc
tensorflow/lite/experimental/shlo/quantized_tensor_element_type_test.cc
#include "tensorflow/lite/experimental/shlo/quantized_tensor_element_type.h" #include <sstream> #include <string> #include <type_traits> #include <variant> #include "tensorflow/lite/experimental/shlo/data_type.h" namespace shlo_ref { std::string ToString(const QuantizedElementTypePerTensor& t) { std::stringstream sst...
#include "tensorflow/lite/experimental/shlo/quantized_tensor_element_type.h" #include <array> #include <cstdint> #include <variant> #include <vector> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "tensorflow/lite/experimental/shlo/data_type.h" namespace shlo_ref { namespace { using testing::Each; using tes...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/experimental/shlo/quantized_tensor_element_type.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/experimental/shlo/quantized_tensor_element_type_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
4c512995-bf4a-4627-b748-73069394ca01
cpp
tensorflow/tensorflow
elementwise_unary
tensorflow/lite/experimental/shlo/legacy/src/elementwise_unary.cc
tensorflow/lite/experimental/shlo/legacy/test/elementwise_unary_test.cc
#include <bit> #include <cmath> #include <cstddef> #include <cstdint> #include <type_traits> #include <version> #include "absl/status/status.h" #include "tensorflow/lite/experimental/shlo/legacy/include/shlo.h" #include "tensorflow/lite/experimental/shlo/legacy/src/bf16.h" #include "tensorflow/lite/experimental/shlo/le...
#include <cmath> #include <cstdint> #include <initializer_list> #include <utility> #include <vector> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "absl/status/status.h" #include "tensorflow/lite/experimental/shlo/legacy/include/shlo.h" #include "tensorflow/lite/experimental/shlo/legacy/src/debug.h" #inc...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/experimental/shlo/legacy/src/elementwise_unary.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/experimental/shlo/legacy/test/elementwise_unary_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
04d01f92-5183-4ab5-b5f1-fbc14e745c81
cpp
tensorflow/tensorflow
compare
tensorflow/lite/experimental/shlo/ops/compare.cc
tensorflow/lite/experimental/shlo/ops/compare_test.cc
#include "tensorflow/lite/experimental/shlo/ops/compare.h" #include <functional> #include "absl/status/status.h" #include "tensorflow/lite/experimental/shlo/data_type.h" #include "tensorflow/lite/experimental/shlo/dispatch.h" #include "tensorflow/lite/experimental/shlo/ops/binary_elementwise.h" #include "tensorflow/lit...
#include "tensorflow/lite/experimental/shlo/ops/compare.h" #include <string> #include <tuple> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "absl/random/distributions.h" #include "absl/random/random.h" #include "absl/status/status.h" #include "tensorflow/lite/experimental/shlo/data_type.h" #include "tensor...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/experimental/shlo/ops/compare.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/experimental/shlo/ops/compare_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
03b95d9e-0506-4114-a488-66d1d3a06da7
cpp
tensorflow/tensorflow
iota
tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo_conversions/iota.cc
tensorflow/lite/experimental/shlo/legacy/test/iota_test.cc
#include "tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo_conversions/iota.h" #include <cstdint> #include <tuple> #include "llvm/ADT/SmallVector.h" #include "llvm/Support/Casting.h" #include "mlir/Dialect/Arith/IR/Arith.h" #include "mlir/IR/Builders.h" #include "mlir/IR/BuiltinAttributes.h" #inclu...
#include <initializer_list> #include <utility> #include <vector> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "tensorflow/lite/experimental/shlo/legacy/include/shlo.h" #include "tensorflow/lite/experimental/shlo/legacy/src/debug.h" #include "tensorflow/lite/experimental/shlo/legacy/src/storage.h" #inclu...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo_conversions/iota.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/experimental/shlo/legacy/test/iota_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
9fb23443-70bb-4a1a-b176-8ffde412eac7
cpp
tensorflow/tensorflow
clamp
tensorflow/lite/experimental/shlo/legacy/src/clamp.cc
tensorflow/lite/experimental/shlo/legacy/test/clamp_test.cc
#include <algorithm> #include <cstddef> #include <type_traits> #include "absl/status/status.h" #include "tensorflow/lite/experimental/shlo/legacy/include/shlo.h" #include "tensorflow/lite/experimental/shlo/legacy/src/dispatch.h" #include "tensorflow/lite/experimental/shlo/legacy/src/storage.h" #include "tensorflow/lite...
#include <initializer_list> #include <utility> #include <vector> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "tensorflow/lite/experimental/shlo/legacy/include/shlo.h" #include "tensorflow/lite/experimental/shlo/legacy/src/debug.h" #include "tensorflow/lite/experimental/shlo/legacy/src/storage.h" #inclu...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/experimental/shlo/legacy/src/clamp.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/experimental/shlo/legacy/test/clamp_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
2f985559-39e3-4126-a682-992bb1d338c5
cpp
tensorflow/tensorflow
uniform_dequantize_quantize
tensorflow/lite/experimental/shlo/legacy/src/uniform_dequantize_quantize.cc
tensorflow/lite/experimental/shlo/legacy/test/uniform_dequantize_quantize_test.cc
#include <cstddef> #include "absl/status/status.h" #include "tensorflow/lite/experimental/shlo/legacy/include/shlo.h" #include "tensorflow/lite/experimental/shlo/legacy/src/dispatch.h" #include "tensorflow/lite/experimental/shlo/legacy/src/storage.h" #include "tensorflow/lite/experimental/shlo/legacy/src/util.h" namesp...
#include <initializer_list> #include <utility> #include <vector> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "tensorflow/lite/experimental/shlo/legacy/include/shlo.h" #include "tensorflow/lite/experimental/shlo/legacy/src/debug.h" #include "tensorflow/lite/experimental/shlo/legacy/src/storage.h" #inclu...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/experimental/shlo/legacy/src/uniform_dequantize_quantize.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/experimental/shlo/legacy/test/uniform_dequantize_quantize_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
18395d74-7e93-44e8-a767-d615878ef438
cpp
tensorflow/tensorflow
is_finite
tensorflow/lite/experimental/shlo/ops/is_finite.cc
tensorflow/lite/experimental/shlo/ops/is_finite_test.cc
#include "tensorflow/lite/experimental/shlo/ops/is_finite.h" #include <algorithm> #include <cmath> #include "absl/status/status.h" #include "tensorflow/lite/experimental/shlo/data_type.h" #include "tensorflow/lite/experimental/shlo/dispatch.h" #include "tensorflow/lite/experimental/shlo/shape.h" #include "tensorflow/li...
#include "tensorflow/lite/experimental/shlo/ops/is_finite.h" #include <cmath> #include <cstddef> #include <vector> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "absl/types/span.h" #include "tensorflow/lite/experimental/shlo/bf16.h" #include "tensorflow/lite/experimental/shlo/data_type.h" #include "tensorf...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/experimental/shlo/ops/is_finite.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/experimental/shlo/ops/is_finite_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
2d211a25-07e9-497a-8042-7901507b166f
cpp
tensorflow/tensorflow
elementwise_binary
tensorflow/lite/experimental/shlo/legacy/src/elementwise_binary.cc
tensorflow/lite/experimental/shlo/legacy/test/elementwise_binary_test.cc
#include <cmath> #include <cstddef> #include <type_traits> #include "absl/status/status.h" #include "tensorflow/lite/experimental/shlo/legacy/include/shlo.h" #include "tensorflow/lite/experimental/shlo/legacy/src/storage.h" #include "tensorflow/lite/experimental/shlo/legacy/src/util.h" namespace stablehlo { namespace {...
#include <cmath> #include <initializer_list> #include <utility> #include <vector> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "absl/status/status.h" #include "tensorflow/lite/experimental/shlo/legacy/include/shlo.h" #include "tensorflow/lite/experimental/shlo/legacy/src/debug.h" #include "tensorflow/li...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/experimental/shlo/legacy/src/elementwise_binary.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/experimental/shlo/legacy/test/elementwise_binary_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
282aa471-5c12-4468-8a0c-38230ff0f653
cpp
tensorflow/tensorflow
broadcast_in_dim
tensorflow/lite/experimental/shlo/legacy/src/broadcast_in_dim.cc
tensorflow/lite/experimental/shlo/legacy/test/broadcast_in_dim_test.cc
#include <algorithm> #include <iterator> #include <type_traits> #include <vector> #include "absl/status/status.h" #include "absl/types/span.h" #include "tensorflow/lite/experimental/shlo/legacy/include/shlo.h" #include "tensorflow/lite/experimental/shlo/legacy/src/dispatch.h" #include "tensorflow/lite/experimental/shlo...
#include <initializer_list> #include <utility> #include <vector> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "absl/types/span.h" #include "tensorflow/lite/experimental/shlo/legacy/include/shlo.h" #include "tensorflow/lite/experimental/shlo/legacy/src/debug.h" #include "tensorflow/lite/experimental/shlo...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/experimental/shlo/legacy/src/broadcast_in_dim.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/experimental/shlo/legacy/test/broadcast_in_dim_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
c22eae69-295e-43e4-812d-9bd98c6b6375
cpp
tensorflow/tensorflow
and
tensorflow/lite/experimental/shlo/ops/and.cc
tensorflow/lite/experimental/shlo/ops/and_test.cc
#include "tensorflow/lite/experimental/shlo/ops/and.h" #include <functional> #include "absl/status/status.h" #include "tensorflow/lite/experimental/shlo/data_type.h" #include "tensorflow/lite/experimental/shlo/dispatch.h" #include "tensorflow/lite/experimental/shlo/ops/binary_elementwise.h" #include "tensorflow/lite/ex...
#include "tensorflow/lite/experimental/shlo/ops/and.h" #include <functional> #include <string> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "tensorflow/lite/experimental/shlo/data_type.h" #include "tensorflow/lite/experimental/shlo/ops/binary_elementwise_test_util.h" #include "tensorflow/lite/experimental...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/experimental/shlo/ops/and.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/experimental/shlo/ops/and_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
0e775194-4101-4d2f-930c-95c3dddc8a6b
cpp
tensorflow/tensorflow
cbrt
tensorflow/lite/experimental/shlo/ops/cbrt.cc
tensorflow/lite/experimental/shlo/ops/cbrt_test.cc
#include "tensorflow/lite/experimental/shlo/ops/cbrt.h" #include <cmath> #include "absl/status/status.h" #include "tensorflow/lite/experimental/shlo/bf16.h" #include "tensorflow/lite/experimental/shlo/dispatch.h" #include "tensorflow/lite/experimental/shlo/f16.h" #include "tensorflow/lite/experimental/shlo/ops/unary_el...
#include "tensorflow/lite/experimental/shlo/ops/cbrt.h" #include <cmath> #include <string> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "tensorflow/lite/experimental/shlo/bf16.h" #include "tensorflow/lite/experimental/shlo/f16.h" #include "tensorflow/lite/experimental/shlo/ops/test_util.h" #include "tenso...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/experimental/shlo/ops/cbrt.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/experimental/shlo/ops/cbrt_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
85734204-9025-4511-b9a2-be5a6946b858
cpp
tensorflow/tensorflow
minimum
tensorflow/lite/experimental/shlo/ops/minimum.cc
tensorflow/lite/delegates/xnnpack/minimum_test.cc
#include "tensorflow/lite/experimental/shlo/ops/minimum.h" #include "absl/status/status.h" #include "tensorflow/lite/experimental/shlo/dispatch.h" #include "tensorflow/lite/experimental/shlo/ops/binary_elementwise.h" #include "tensorflow/lite/experimental/shlo/ops/util.h" #include "tensorflow/lite/experimental/shlo/ten...
#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/binary_elementwise_tester.h" #include "tensorflow/lite/delegates/xnnpack/xnnpack_delegate.h" #include "tensorflow/lite/schema/schem...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/experimental/shlo/ops/minimum.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/delegates/xnnpack/minimum_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
ceb21061-0cca-4cc6-964c-1a8e710c929c
cpp
tensorflow/tensorflow
maximum
tensorflow/lite/experimental/shlo/ops/maximum.cc
tensorflow/lite/delegates/xnnpack/maximum_test.cc
#include "tensorflow/lite/experimental/shlo/ops/maximum.h" #include "absl/status/status.h" #include "tensorflow/lite/experimental/shlo/dispatch.h" #include "tensorflow/lite/experimental/shlo/ops/binary_elementwise.h" #include "tensorflow/lite/experimental/shlo/ops/util.h" #include "tensorflow/lite/experimental/shlo/ten...
#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/binary_elementwise_tester.h" #include "tensorflow/lite/delegates/xnnpack/xnnpack_delegate.h" #include "tensorflow/lite/schema/schem...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/experimental/shlo/ops/maximum.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/delegates/xnnpack/maximum_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
71b6dde1-1ef4-4e06-aefe-a9e1ff3a3bc2
cpp
tensorflow/tensorflow
not
tensorflow/lite/experimental/shlo/ops/not.cc
tensorflow/lite/experimental/shlo/ops/not_test.cc
#include "tensorflow/lite/experimental/shlo/ops/not.h" #include "absl/status/status.h" #include "tensorflow/lite/experimental/shlo/dispatch.h" #include "tensorflow/lite/experimental/shlo/ops/unary_elementwise.h" #include "tensorflow/lite/experimental/shlo/ops/util.h" #include "tensorflow/lite/experimental/shlo/tensor.h...
#include "tensorflow/lite/experimental/shlo/ops/not.h" #include <string> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "tensorflow/lite/experimental/shlo/data_type.h" #include "tensorflow/lite/experimental/shlo/ops/test_util.h" #include "tensorflow/lite/experimental/shlo/ops/unary_elementwise_test_util.h" ...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/experimental/shlo/ops/not.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/experimental/shlo/ops/not_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
170e0abe-49ca-444d-bb86-8a79cf0f6208
cpp
tensorflow/tensorflow
xor
tensorflow/lite/experimental/shlo/ops/xor.cc
tensorflow/lite/experimental/shlo/ops/xor_test.cc
#include "tensorflow/lite/experimental/shlo/ops/xor.h" #include <functional> #include "absl/status/status.h" #include "tensorflow/lite/experimental/shlo/data_type.h" #include "tensorflow/lite/experimental/shlo/dispatch.h" #include "tensorflow/lite/experimental/shlo/ops/binary_elementwise.h" #include "tensorflow/lite/ex...
#include "tensorflow/lite/experimental/shlo/ops/xor.h" #include <functional> #include <string> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "tensorflow/lite/experimental/shlo/data_type.h" #include "tensorflow/lite/experimental/shlo/ops/binary_elementwise_test_util.h" #include "tensorflow/lite/experimental...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/experimental/shlo/ops/xor.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/experimental/shlo/ops/xor_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
9f47e9a6-3306-4f59-a171-c8655f57841a
cpp
tensorflow/tensorflow
exponential_minus_one
tensorflow/lite/experimental/shlo/ops/exponential_minus_one.cc
tensorflow/lite/experimental/shlo/ops/exponential_minus_one_test.cc
#include "tensorflow/lite/experimental/shlo/ops/exponential_minus_one.h" #include <cmath> #include "absl/status/status.h" #include "tensorflow/lite/experimental/shlo/bf16.h" #include "tensorflow/lite/experimental/shlo/dispatch.h" #include "tensorflow/lite/experimental/shlo/f16.h" #include "tensorflow/lite/experimental/...
#include "tensorflow/lite/experimental/shlo/ops/exponential_minus_one.h" #include <cmath> #include <string> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "tensorflow/lite/experimental/shlo/bf16.h" #include "tensorflow/lite/experimental/shlo/f16.h" #include "tensorflow/lite/experimental/shlo/ops/test_util.h...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/experimental/shlo/ops/exponential_minus_one.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/experimental/shlo/ops/exponential_minus_one_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
ef36b79c-43e5-4468-b0d3-2d13d55df0fe
cpp
tensorflow/tensorflow
negate
tensorflow/lite/experimental/shlo/ops/negate.cc
tensorflow/lite/experimental/shlo/ops/negate_test.cc
#include "tensorflow/lite/experimental/shlo/ops/negate.h" #include <functional> #include "absl/status/status.h" #include "tensorflow/lite/experimental/shlo/dispatch.h" #include "tensorflow/lite/experimental/shlo/ops/unary_elementwise.h" #include "tensorflow/lite/experimental/shlo/ops/util.h" #include "tensorflow/lite/e...
#include "tensorflow/lite/experimental/shlo/ops/negate.h" #include <functional> #include <string> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "tensorflow/lite/experimental/shlo/ops/test_util.h" #include "tensorflow/lite/experimental/shlo/ops/unary_elementwise_test_util.h" #include "tensorflow/lite/experi...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/experimental/shlo/ops/negate.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/experimental/shlo/ops/negate_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
bc5f6db5-7e35-4909-8459-f3482866bc8a
cpp
tensorflow/tensorflow
or
tensorflow/lite/experimental/shlo/ops/or.cc
tensorflow/lite/experimental/shlo/ops/or_test.cc
#include "tensorflow/lite/experimental/shlo/ops/or.h" #include <functional> #include "absl/status/status.h" #include "tensorflow/lite/experimental/shlo/data_type.h" #include "tensorflow/lite/experimental/shlo/dispatch.h" #include "tensorflow/lite/experimental/shlo/ops/binary_elementwise.h" #include "tensorflow/lite/exp...
#include "tensorflow/lite/experimental/shlo/ops/or.h" #include <functional> #include <string> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "tensorflow/lite/experimental/shlo/data_type.h" #include "tensorflow/lite/experimental/shlo/ops/binary_elementwise_test_util.h" #include "tensorflow/lite/experimental/...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/experimental/shlo/ops/or.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/experimental/shlo/ops/or_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
b0e99cd6-1bb8-4bd4-a429-26688c4f695e
cpp
tensorflow/tensorflow
logistic
tensorflow/lite/experimental/shlo/ops/logistic.cc
tensorflow/lite/delegates/xnnpack/logistic_test.cc
#include "tensorflow/lite/experimental/shlo/ops/logistic.h" #include <cmath> #include "absl/status/status.h" #include "tensorflow/lite/experimental/shlo/bf16.h" #include "tensorflow/lite/experimental/shlo/dispatch.h" #include "tensorflow/lite/experimental/shlo/f16.h" #include "tensorflow/lite/experimental/shlo/ops/unar...
#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/experimental/shlo/ops/logistic.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/delegates/xnnpack/logistic_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
efb6078c-2e87-4404-afaf-515287b1e7eb
cpp
tensorflow/tensorflow
multiply
tensorflow/lite/experimental/shlo/ops/multiply.cc
tensorflow/lite/experimental/shlo/ops/multiply_test.cc
#include "tensorflow/lite/experimental/shlo/ops/multiply.h" #include <functional> #include "absl/status/status.h" #include "tensorflow/lite/experimental/shlo/data_type.h" #include "tensorflow/lite/experimental/shlo/dispatch.h" #include "tensorflow/lite/experimental/shlo/ops/binary_elementwise.h" #include "tensorflow/li...
#include "tensorflow/lite/experimental/shlo/ops/multiply.h" #include <functional> #include <string> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "tensorflow/lite/experimental/shlo/data_type.h" #include "tensorflow/lite/experimental/shlo/ops/binary_elementwise_test_util.h" #include "tensorflow/lite/experim...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/experimental/shlo/ops/multiply.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/experimental/shlo/ops/multiply_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
a581d489-5070-4705-82dd-ec7c21b84a0a
cpp
tensorflow/tensorflow
exponential
tensorflow/lite/experimental/shlo/ops/exponential.cc
tensorflow/lite/experimental/shlo/ops/exponential_test.cc
#include "tensorflow/lite/experimental/shlo/ops/exponential.h" #include <cmath> #include "absl/status/status.h" #include "tensorflow/lite/experimental/shlo/bf16.h" #include "tensorflow/lite/experimental/shlo/dispatch.h" #include "tensorflow/lite/experimental/shlo/f16.h" #include "tensorflow/lite/experimental/shlo/ops/u...
#include "tensorflow/lite/experimental/shlo/ops/exponential.h" #include <cmath> #include <string> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "tensorflow/lite/experimental/shlo/bf16.h" #include "tensorflow/lite/experimental/shlo/f16.h" #include "tensorflow/lite/experimental/shlo/ops/test_util.h" #include...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/experimental/shlo/ops/exponential.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/experimental/shlo/ops/exponential_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
59c1e898-a0e6-46ad-9852-de3d355afe0a
cpp
tensorflow/tensorflow
count_leading_zeros
tensorflow/lite/experimental/shlo/ops/count_leading_zeros.cc
tensorflow/lite/experimental/shlo/ops/count_leading_zeros_test.cc
#include "tensorflow/lite/experimental/shlo/ops/count_leading_zeros.h" #include <cstdint> #include <type_traits> #include "absl/numeric/bits.h" #include "absl/status/status.h" #include "tensorflow/lite/experimental/shlo/dispatch.h" #include "tensorflow/lite/experimental/shlo/i4.h" #include "tensorflow/lite/experimental...
#include "tensorflow/lite/experimental/shlo/ops/count_leading_zeros.h" #include <cstdint> #include <limits> #include <string> #include <type_traits> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "absl/numeric/bits.h" #include "tensorflow/lite/experimental/shlo/data_type.h" #include "tensorflow/lite/experim...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/experimental/shlo/ops/count_leading_zeros.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/experimental/shlo/ops/count_leading_zeros_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
5e3dedee-df81-4a6a-9c4f-321c9ec535fd
cpp
tensorflow/tensorflow
abs
tensorflow/lite/experimental/shlo/ops/abs.cc
tensorflow/lite/delegates/xnnpack/abs_test.cc
#include "tensorflow/lite/experimental/shlo/ops/abs.h" #include "absl/status/status.h" #include "tensorflow/lite/experimental/shlo/dispatch.h" #include "tensorflow/lite/experimental/shlo/ops/unary_elementwise.h" #include "tensorflow/lite/experimental/shlo/ops/util.h" #include "tensorflow/lite/experimental/shlo/tensor.h...
#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/experimental/shlo/ops/abs.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/delegates/xnnpack/abs_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
29b4b301-ba9b-4125-8cfa-0bae65f07385
cpp
tensorflow/tensorflow
log_plus_one
tensorflow/lite/experimental/shlo/ops/log_plus_one.cc
tensorflow/lite/experimental/shlo/ops/log_plus_one_test.cc
#include "tensorflow/lite/experimental/shlo/ops/log_plus_one.h" #include <cmath> #include "absl/status/status.h" #include "tensorflow/lite/experimental/shlo/bf16.h" #include "tensorflow/lite/experimental/shlo/dispatch.h" #include "tensorflow/lite/experimental/shlo/f16.h" #include "tensorflow/lite/experimental/shlo/ops/...
#include "tensorflow/lite/experimental/shlo/ops/log_plus_one.h" #include <cmath> #include <string> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "tensorflow/lite/experimental/shlo/bf16.h" #include "tensorflow/lite/experimental/shlo/f16.h" #include "tensorflow/lite/experimental/shlo/ops/test_util.h" #includ...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/experimental/shlo/ops/log_plus_one.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/experimental/shlo/ops/log_plus_one_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
20faff15-9cb2-45e3-8fb6-71e81ba3c0a8
cpp
tensorflow/tensorflow
sine
tensorflow/lite/experimental/shlo/ops/sine.cc
tensorflow/lite/experimental/shlo/ops/sine_test.cc
#include "tensorflow/lite/experimental/shlo/ops/sine.h" #include <cmath> #include "absl/status/status.h" #include "tensorflow/lite/experimental/shlo/bf16.h" #include "tensorflow/lite/experimental/shlo/data_type.h" #include "tensorflow/lite/experimental/shlo/dispatch.h" #include "tensorflow/lite/experimental/shlo/f16.h"...
#include "tensorflow/lite/experimental/shlo/ops/sine.h" #include <cmath> #include <string> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "tensorflow/lite/experimental/shlo/bf16.h" #include "tensorflow/lite/experimental/shlo/f16.h" #include "tensorflow/lite/experimental/shlo/ops/test_util.h" #include "tenso...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/experimental/shlo/ops/sine.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/experimental/shlo/ops/sine_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
5b34f93e-e91e-4025-b82e-0a8ba602f71d
cpp
tensorflow/tensorflow
divide
tensorflow/lite/experimental/shlo/ops/divide.cc
tensorflow/lite/experimental/shlo/ops/divide_test.cc
#include "tensorflow/lite/experimental/shlo/ops/divide.h" #include <functional> #include "absl/status/status.h" #include "tensorflow/lite/experimental/shlo/dispatch.h" #include "tensorflow/lite/experimental/shlo/ops/binary_elementwise.h" #include "tensorflow/lite/experimental/shlo/ops/util.h" #include "tensorflow/lite/...
#include "tensorflow/lite/experimental/shlo/ops/divide.h" #include <functional> #include <string> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "tensorflow/lite/experimental/shlo/ops/binary_elementwise_test_util.h" #include "tensorflow/lite/experimental/shlo/ops/test_util.h" #include "tensorflow/lite/exper...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/experimental/shlo/ops/divide.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/experimental/shlo/ops/divide_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
8c9e068c-a6d4-43d8-b79a-da70f3a1b567
cpp
tensorflow/tensorflow
cosine
tensorflow/lite/experimental/shlo/ops/cosine.cc
tensorflow/lite/experimental/shlo/ops/cosine_test.cc
#include "tensorflow/lite/experimental/shlo/ops/cosine.h" #include <cmath> #include "absl/status/status.h" #include "tensorflow/lite/experimental/shlo/bf16.h" #include "tensorflow/lite/experimental/shlo/dispatch.h" #include "tensorflow/lite/experimental/shlo/f16.h" #include "tensorflow/lite/experimental/shlo/ops/unary_...
#include "tensorflow/lite/experimental/shlo/ops/cosine.h" #include <cmath> #include <string> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "tensorflow/lite/experimental/shlo/bf16.h" #include "tensorflow/lite/experimental/shlo/f16.h" #include "tensorflow/lite/experimental/shlo/ops/test_util.h" #include "ten...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/experimental/shlo/ops/cosine.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/experimental/shlo/ops/cosine_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
9ea45c4e-ae1e-40a8-ad15-5bdd8477954e
cpp
tensorflow/tensorflow
popcnt
tensorflow/lite/experimental/shlo/ops/popcnt.cc
tensorflow/lite/experimental/shlo/ops/popcnt_test.cc
#include "tensorflow/lite/experimental/shlo/ops/popcnt.h" #include <cstdint> #include <type_traits> #include "absl/numeric/bits.h" #include "absl/status/status.h" #include "tensorflow/lite/experimental/shlo/dispatch.h" #include "tensorflow/lite/experimental/shlo/i4.h" #include "tensorflow/lite/experimental/shlo/ops/una...
#include "tensorflow/lite/experimental/shlo/ops/popcnt.h" #include <cstdint> #include <limits> #include <string> #include <type_traits> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "absl/numeric/bits.h" #include "tensorflow/lite/experimental/shlo/data_type.h" #include "tensorflow/lite/experimental/shlo/i4...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/experimental/shlo/ops/popcnt.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/experimental/shlo/ops/popcnt_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
6abba2e5-bea3-4193-8a00-66c00e7ee71b
cpp
tensorflow/tensorflow
subtract
tensorflow/lite/experimental/shlo/ops/subtract.cc
tensorflow/lite/experimental/shlo/ops/subtract_test.cc
#include "tensorflow/lite/experimental/shlo/ops/subtract.h" #include <functional> #include "absl/status/status.h" #include "tensorflow/lite/experimental/shlo/dispatch.h" #include "tensorflow/lite/experimental/shlo/ops/binary_elementwise.h" #include "tensorflow/lite/experimental/shlo/ops/util.h" #include "tensorflow/lit...
#include "tensorflow/lite/experimental/shlo/ops/subtract.h" #include <functional> #include <string> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "tensorflow/lite/experimental/shlo/ops/binary_elementwise_test_util.h" #include "tensorflow/lite/experimental/shlo/ops/test_util.h" #include "tensorflow/lite/exp...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/experimental/shlo/ops/subtract.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/experimental/shlo/ops/subtract_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
02993a93-84f7-455b-baaa-72db6f6534c1
cpp
tensorflow/tensorflow
sqrt
tensorflow/lite/experimental/shlo/ops/sqrt.cc
tensorflow/lite/delegates/xnnpack/sqrt_test.cc
#include "tensorflow/lite/experimental/shlo/ops/sqrt.h" #include <cmath> #include "absl/status/status.h" #include "tensorflow/lite/experimental/shlo/bf16.h" #include "tensorflow/lite/experimental/shlo/dispatch.h" #include "tensorflow/lite/experimental/shlo/f16.h" #include "tensorflow/lite/experimental/shlo/ops/unary_el...
#include <cstdint> #include <functional> #include <memory> #include <random> #include <gtest/gtest.h> #include "tensorflow/lite/delegates/xnnpack/unary_elementwise_tester.h" #include "tensorflow/lite/delegates/xnnpack/xnnpack_delegate.h" namespace tflite { namespace xnnpack { TEST(Sqrt, 4D) { std::unique_ptr<TfLiteDe...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/experimental/shlo/ops/sqrt.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/delegates/xnnpack/sqrt_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
522e63ea-e056-4406-bce0-6eb4dfe25fe6
cpp
tensorflow/tensorflow
tanh
tensorflow/lite/experimental/shlo/ops/tanh.cc
tensorflow/lite/delegates/xnnpack/tanh_test.cc
#include "tensorflow/lite/experimental/shlo/ops/tanh.h" #include <cmath> #include "absl/status/status.h" #include "tensorflow/lite/experimental/shlo/bf16.h" #include "tensorflow/lite/experimental/shlo/data_type.h" #include "tensorflow/lite/experimental/shlo/dispatch.h" #include "tensorflow/lite/experimental/shlo/f16.h"...
#include <cstdint> #include <functional> #include <memory> #include <random> #include <gtest/gtest.h> #include "tensorflow/lite/delegates/xnnpack/unary_elementwise_tester.h" #include "tensorflow/lite/delegates/xnnpack/xnnpack_delegate.h" namespace tflite { namespace xnnpack { TEST(Tanh, 4D) { std::unique_ptr<TfLiteDe...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/experimental/shlo/ops/tanh.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/delegates/xnnpack/tanh_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
0e36476b-428c-4721-92c0-7e256182bea3
cpp
tensorflow/tensorflow
kvcache
tensorflow/lite/experimental/genai/kvcache.cc
tensorflow/lite/experimental/genai/kvcache_test.cc
#include <algorithm> #include <cstddef> #include <cstdint> #include <cstring> #include "flatbuffers/flexbuffers.h" #include "tensorflow/lite/core/c/common.h" #include "tensorflow/lite/core/subgraph.h" #include "tensorflow/lite/experimental/resource/cache_buffer.h" #include "tensorflow/lite/experimental/resource/resourc...
#include <cstdint> #include <vector> #include <gtest/gtest.h> #include "tensorflow/lite/c/c_api_types.h" #include "tensorflow/lite/experimental/genai/genai_ops.h" #include "tensorflow/lite/kernels/test_util.h" #include "tensorflow/lite/schema/schema_generated.h" namespace tflite { namespace { static const int kDefaultM...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/experimental/genai/kvcache.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/experimental/genai/kvcache_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
bffdc450-ccf8-4fbf-aa70-09c947ea0531
cpp
tensorflow/tensorflow
external_kvcache
tensorflow/lite/experimental/genai/external_kvcache.cc
tensorflow/lite/experimental/genai/external_kvcache_test.cc
#include <cstdint> #include <cstring> #include "tensorflow/lite/core/c/common.h" #include "tensorflow/lite/kernels/internal/tensor_ctypes.h" #include "tensorflow/lite/kernels/kernel_util.h" namespace tflite { namespace ops { namespace custom { namespace llm { static const int kKeyTensor = 0; static const int kValueTens...
#include <cstddef> #include <cstdint> #include <functional> #include <memory> #include <numeric> #include <vector> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "absl/types/span.h" #include "tensorflow/lite/c/c_api_types.h" #include "tensorflow/lite/c/common.h" #include "tensorflow/lite/experimental/genai/...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/experimental/genai/external_kvcache.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/experimental/genai/external_kvcache_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
02af6d36-38bc-425f-b15d-5894c9ee2f50
cpp
tensorflow/tensorflow
resource_variable
tensorflow/lite/experimental/resource/resource_variable.cc
tensorflow/lite/experimental/resource/resource_variable_test.cc
#include "tensorflow/lite/experimental/resource/resource_variable.h" #include <cstdlib> #include <cstring> #include <map> #include <memory> #include "tensorflow/lite/c/common.h" #include "tensorflow/lite/core/c/c_api_types.h" #include "tensorflow/lite/experimental/resource/resource_base.h" namespace tflite { namespace ...
#include "tensorflow/lite/experimental/resource/resource_variable.h" #include <vector> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "tensorflow/lite/core/c/c_api_types.h" #include "tensorflow/lite/core/c/common.h" #include "tensorflow/lite/kernels/test_util.h" #include "tensorflow/lite/util.h" namespace t...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/experimental/resource/resource_variable.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/experimental/resource/resource_variable_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
98537c84-48af-439f-af8a-69b3af0a998f
cpp
tensorflow/tensorflow
cache_buffer
tensorflow/lite/experimental/resource/cache_buffer.cc
tensorflow/lite/experimental/resource/cache_buffer_test.cc
#include "tensorflow/lite/experimental/resource/cache_buffer.h" #include <cstdlib> #include <cstring> #include "tensorflow/lite/core/c/c_api_types.h" #include "tensorflow/lite/core/c/common.h" #include "tensorflow/lite/kernels/internal/compatibility.h" #include "tensorflow/lite/kernels/kernel_util.h" namespace tflite {...
#include "tensorflow/lite/experimental/resource/cache_buffer.h" #include <gtest/gtest.h> #include "tensorflow/lite/c/common.h" namespace tflite { namespace resource { TEST(CacheBufferTest, Initialize) { TfLiteIntArray* shape = TfLiteIntArrayCreate(4); shape->data[0] = 1; shape->data[1] = 3; shape->data[2] = 5; ...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/experimental/resource/cache_buffer.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/experimental/resource/cache_buffer_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
626a0766-a0f3-40f1-ae8f-10783946c2f8
cpp
tensorflow/tensorflow
audio_microfrontend
tensorflow/lite/experimental/microfrontend/audio_microfrontend.cc
tensorflow/lite/experimental/microfrontend/audio_microfrontend_test.cc
#include "flatbuffers/flexbuffers.h" #include "tensorflow/lite/c/c_api_types.h" #include "tensorflow/lite/c/common.h" #include "tensorflow/lite/experimental/microfrontend/lib/frontend.h" #include "tensorflow/lite/experimental/microfrontend/lib/frontend_util.h" #include "tensorflow/lite/kernels/internal/compatibility....
#include "tensorflow/lite/experimental/microfrontend/audio_microfrontend.h" #include <memory> #include <vector> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "flatbuffers/flexbuffers.h" #include "tensorflow/lite/core/interpreter.h" #include "tensorflow/lite/kernels/test_util.h" #include "tensorflow/lite/...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/experimental/microfrontend/audio_microfrontend.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/experimental/microfrontend/audio_microfrontend_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
a6e70aec-991c-4fe3-b7a0-d7fcca4b9887
cpp
tensorflow/tensorflow
model_loader
tensorflow/lite/tools/model_loader.cc
tensorflow/lite/tools/model_loader_test.cc
#include "tensorflow/lite/tools/model_loader.h" #include <cstdlib> #include <iostream> #include <memory> #include <string> #include <utility> #include <vector> #include "absl/strings/numbers.h" #include "absl/strings/str_split.h" #include "tensorflow/lite/core/model_builder.h" #include "tensorflow/lite/minimal_logging....
#include "tensorflow/lite/tools/model_loader.h" #include <fcntl.h> #include <sys/stat.h> #include <unistd.h> #include <memory> #include <string> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "absl/strings/str_format.h" #include "flatbuffers/flatbuffers.h" #include "tensorflow/lite/model_builder.h" #inclu...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/tools/model_loader.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/tools/model_loader_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
4207ac5e-ac3c-4889-a0b0-7b2ecbf83816
cpp
tensorflow/tensorflow
tool_params
tensorflow/lite/tools/tool_params.cc
tensorflow/lite/tools/tool_params_test.cc
#include "tensorflow/lite/tools/tool_params.h" #include <string> #include <unordered_map> #include <vector> #include "tensorflow/lite/tools/logging.h" namespace tflite { namespace tools { void ToolParam::AssertHasSameType(ToolParam::ParamType a, ToolParam::ParamType b) { TFLITE_TOOLS...
#include "tensorflow/lite/tools/tool_params.h" #include <gtest/gtest.h> namespace tflite { namespace tools { namespace { TEST(ToolParams, SetTest) { ToolParams params; params.AddParam("some-int1", ToolParam::Create<int>(13 )); params.AddParam("some-int2", ToolParam::Create<int>(17 )); ToolParams others; other...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/tools/tool_params.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/tools/tool_params_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
c05f1a72-d7c8-40ca-9a21-d6f1b89f5fcc
cpp
tensorflow/tensorflow
gen_op_registration
tensorflow/lite/tools/gen_op_registration.cc
tensorflow/lite/tools/gen_op_registration_test.cc
#include "tensorflow/lite/tools/gen_op_registration.h" #include <algorithm> #include <string> #include <vector> #include "re2/re2.h" #include "tensorflow/lite/core/model.h" #include "tensorflow/lite/schema/schema_utils.h" namespace tflite { string NormalizeCustomOpName(const string& op) { string method(op); RE2::Gl...
#include "tensorflow/lite/tools/gen_op_registration.h" #include <gmock/gmock.h> #include <gtest/gtest.h> using ::testing::ElementsAreArray; namespace tflite { class GenOpRegistrationTest : public ::testing::Test { protected: GenOpRegistrationTest() {} void ReadOps(const string& model_path) { auto model = FlatB...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/tools/gen_op_registration.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/tools/gen_op_registration_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
096bf5ca-4d46-4bb3-b4a0-0aa0eeb250b7
cpp
tensorflow/tensorflow
list_flex_ops
tensorflow/lite/tools/list_flex_ops.cc
tensorflow/lite/tools/list_flex_ops_test.cc
#include "tensorflow/lite/tools/list_flex_ops.h" #include <fstream> #include <sstream> #include <string> #include <vector> #include "flatbuffers/flexbuffers.h" #include "json/json.h" #include "tensorflow/core/framework/node_def.pb.h" #include "tensorflow/core/framework/node_def_util.h" #include "tensorflow/core/frame...
#include "tensorflow/lite/tools/list_flex_ops.h" #include <cstdint> #include <string> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "flatbuffers/flexbuffers.h" #include "tensorflow/core/framework/node_def.pb.h" #include "tensorflow/core/platform/protobuf.h" #include "tensorflow/core/platform/resource_loa...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/tools/list_flex_ops.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/tools/list_flex_ops_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
307db5e8-a1cf-4674-a56e-967b9a33e171
cpp
tensorflow/tensorflow
benchmark_utils
tensorflow/lite/tools/benchmark/benchmark_utils.cc
tensorflow/lite/tools/benchmark/benchmark_utils_test.cc
#include "tensorflow/lite/tools/benchmark/benchmark_utils.h" #include "tensorflow/lite/profiling/time.h" namespace tflite { namespace benchmark { namespace util { void SleepForSeconds(double sleep_seconds) { if (sleep_seconds <= 0.0) { return; } tflite::profiling::time::SleepForMicros( static_cast<uint6...
#include "tensorflow/lite/tools/benchmark/benchmark_utils.h" #include <string> #include <vector> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "tensorflow/lite/profiling/time.h" namespace tflite { namespace benchmark { namespace { TEST(BenchmarkHelpersTest, SleepForNegativeSeconds) { const auto start_ts ...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/tools/benchmark/benchmark_utils.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/tools/benchmark/benchmark_utils_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
4c628d76-0061-41ef-ac7a-3ab387fdc529
cpp
tensorflow/tensorflow
benchmark_tflite_model
tensorflow/lite/tools/benchmark/benchmark_tflite_model.cc
tensorflow/lite/tools/benchmark/benchmark_tflite_model_test.cc
#include "tensorflow/lite/tools/benchmark/benchmark_tflite_model.h" #include <algorithm> #include <cstdarg> #include <cstdint> #include <cstdlib> #include <cstring> #include <fstream> #include <functional> #include <iostream> #include <memory> #include <random> #include <sstream> #include <string> #include <string_view...
#include "tensorflow/lite/tools/benchmark/benchmark_tflite_model.h" #include <fcntl.h> #include <sys/stat.h> #include <string> #include <utility> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "absl/strings/str_cat.h" #include "tensorflow/lite/core/c/c_api_types.h" #include "tensorflow/lite/tools/benchmark/...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/tools/benchmark/benchmark_tflite_model.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/tools/benchmark/benchmark_tflite_model_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
440ad401-881b-4038-950a-c4db8e384c34
cpp
tensorflow/tensorflow
latency_benchmark
tensorflow/lite/tools/benchmark/experimental/delegate_performance/android/src/main/native/latency_benchmark.cc
tensorflow/lite/tools/benchmark/experimental/delegate_performance/android/src/test/native/latency_benchmark_test.cc
#include "tensorflow/lite/tools/benchmark/experimental/delegate_performance/android/src/main/native/latency_benchmark.h" #include <errno.h> #include <sys/stat.h> #include <fstream> #include <iterator> #include <sstream> #include <string> #include <utility> #include <vector> #include "absl/strings/str_cat.h" #include "a...
#include "tensorflow/lite/tools/benchmark/experimental/delegate_performance/android/src/main/native/latency_benchmark.h" #include <fcntl.h> #include <string> #include <vector> #include <gtest/gtest.h> #include "flatbuffers/buffer.h" #include "flatbuffers/flatbuffer_builder.h" #include "tensorflow/lite/acceleration/...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/tools/benchmark/experimental/delegate_performance/android/src/main/native/latency_benchmark.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/tools/benchmark/experimental/delegate_performance/android/src/test/native/latency_benchmark_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
3a9b2913-0787-4486-8b90-3e84df9f9f90
cpp
tensorflow/tensorflow
accuracy_benchmark
tensorflow/lite/tools/benchmark/experimental/delegate_performance/android/src/main/native/accuracy_benchmark.cc
tensorflow/lite/tools/benchmark/experimental/delegate_performance/android/src/test/native/accuracy_benchmark_test.cc
#include "tensorflow/lite/tools/benchmark/experimental/delegate_performance/android/src/main/native/accuracy_benchmark.h" #include <errno.h> #include <stdio.h> #include <sys/stat.h> #include <cstddef> #include <string> #include <vector> #include "flatbuffers/base.h" #include "flatbuffers/buffer.h" #include "flatbuf...
#include "tensorflow/lite/tools/benchmark/experimental/delegate_performance/android/src/main/native/accuracy_benchmark.h" #include <fcntl.h> #include <stdio.h> #include <iostream> #include <string> #include <vector> #include <gtest/gtest.h> #include "flatbuffers/buffer.h" #include "flatbuffers/flatbuffer_builder.h" ...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/tools/benchmark/experimental/delegate_performance/android/src/main/native/accuracy_benchmark.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/tools/benchmark/experimental/delegate_performance/android/src/test/native/accuracy_benchmark_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
c899a3c4-6fd5-4e1e-a310-16b62a1d4c34
cpp
tensorflow/tensorflow
quantization_wrapper_utils
tensorflow/lite/tools/optimize/quantization_wrapper_utils.cc
tensorflow/lite/tools/optimize/quantization_wrapper_utils_test.cc
#include "tensorflow/lite/tools/optimize/quantization_wrapper_utils.h" #include <fstream> #include <memory> #include <string> #include <utility> #include "tensorflow/compiler/mlir/lite/tools/optimize/operator_property.h" #include "tensorflow/lite/schema/schema_generated.h" namespace tflite { namespace impl { class Flat...
#include "tensorflow/lite/tools/optimize/quantization_wrapper_utils.h" #include <memory> #include <string> #include <utility> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "absl/memory/memory.h" #include "tensorflow/lite/core/model.h" #include "tensorflow/lite/schema/schema_generated.h" #include "tensorflo...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/tools/optimize/quantization_wrapper_utils.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/tools/optimize/quantization_wrapper_utils_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
21a73865-3364-4558-ae4b-b86f47c55303
cpp
tensorflow/tensorflow
modify_model_interface
tensorflow/lite/tools/optimize/python/modify_model_interface.cc
tensorflow/lite/tools/optimize/modify_model_interface_test.cc
#include "tensorflow/lite/tools/optimize/modify_model_interface.h" #include <string> #include "pybind11/pybind11.h" #include "tensorflow/lite/schema/schema_generated.h" namespace pybind11 { PYBIND11_MODULE(_pywrap_modify_model_interface, m) { m.def("modify_model_interface", [](const std::string& input_file,...
#include "tensorflow/lite/tools/optimize/modify_model_interface.h" #include <memory> #include <utility> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "absl/memory/memory.h" #include "tensorflow/lite/core/model.h" #include "tensorflow/lite/schema/schema_generated.h" #include "tensorflow/lite/schema/schema_u...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/tools/optimize/python/modify_model_interface.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/tools/optimize/modify_model_interface_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
80f9ff27-8ea6-4612-a1fe-cbb58bc0ed83
cpp
tensorflow/tensorflow
quantize_model
tensorflow/compiler/mlir/quantization/tensorflow/python/quantize_model.cc
tensorflow/compiler/mlir/lite/quantization/lite/quantize_model_test.cc
#include "tensorflow/compiler/mlir/quantization/tensorflow/python/quantize_model.h" #include <memory> #include <optional> #include <string> #include <unordered_set> #include <utility> #include <vector> #include "absl/algorithm/container.h" #include "absl/container/flat_hash_map.h" #include "absl/container/flat_hash_set...
#include "tensorflow/compiler/mlir/lite/quantization/lite/quantize_model.h" #include <algorithm> #include <cstddef> #include <cstdint> #include <cstdlib> #include <iostream> #include <memory> #include <string> #include <unordered_set> #include <vector> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "absl/co...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/compiler/mlir/quantization/tensorflow/python/quantize_model.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/compiler/mlir/lite/quantization/lite/quantize_model_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
d52c20ab-b940-4de5-843a-acbaa8160622
cpp
tensorflow/tensorflow
model_utils
tensorflow/compiler/mlir/lite/quantization/lite/toco_legacy/model_utils.cc
tensorflow/compiler/mlir/lite/quantization/lite/toco_legacy/model_utils_test.cc
#include "tensorflow/compiler/mlir/lite/quantization/lite/toco_legacy/model_utils.h" #include <cstddef> #include <cstdint> #include <memory> #include <string> #include <vector> #include "tensorflow/compiler/mlir/lite/schema/schema_conversion_utils.h" #include "tensorflow/compiler/mlir/lite/schema/schema_generated.h" #i...
#include "tensorflow/compiler/mlir/lite/quantization/lite/toco_legacy/model_utils.h" #include <memory> #include <string> #include <gtest/gtest.h> #include "tensorflow/compiler/mlir/lite/schema/schema_generated.h" namespace mlir { namespace lite { namespace toco_legacy { namespace { using std::string; TEST(ModelUtilsTes...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/compiler/mlir/lite/quantization/lite/toco_legacy/model_utils.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/compiler/mlir/lite/quantization/lite/toco_legacy/model_utils_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
8aa133e2-df08-430d-ba92-71ab1f3fd17e
cpp
tensorflow/tensorflow
logging_op_resolver
tensorflow/lite/tools/optimize/calibration/logging_op_resolver.cc
tensorflow/lite/tools/optimize/calibration/logging_op_resolver_test.cc
#include "tensorflow/lite/tools/optimize/calibration/logging_op_resolver.h" #include <memory> #include <string> #include <utility> #include "absl/strings/str_cat.h" #include "absl/strings/str_join.h" #include "tensorflow/lite/c/common.h" #include "tensorflow/lite/core/api/error_reporter.h" #include "tensorflow/lite/cor...
#include "tensorflow/lite/tools/optimize/calibration/logging_op_resolver.h" #include <string> #include <gtest/gtest.h> #include "tensorflow/lite/c/c_api_types.h" #include "tensorflow/lite/c/common.h" #include "tensorflow/lite/mutable_op_resolver.h" #include "tensorflow/lite/schema/schema_generated.h" #include "tensorfl...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/tools/optimize/calibration/logging_op_resolver.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/tools/optimize/calibration/logging_op_resolver_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
5049f30e-5fab-4599-b26d-ef55273675f2
cpp
tensorflow/tensorflow
calibrator
tensorflow/lite/tools/optimize/calibration/calibrator.cc
tensorflow/lite/tools/optimize/calibration/calibrator_test.cc
#include "tensorflow/lite/tools/optimize/calibration/calibrator.h" #include <fstream> #include <memory> #include <string> #include <unordered_map> #include <unordered_set> #include <utility> #include <vector> #include "absl/container/flat_hash_map.h" #include "flatbuffers/buffer.h" #include "flatbuffers/vector.h" #...
#include "tensorflow/lite/tools/optimize/calibration/calibrator.h" #include <cstring> #include <memory> #include <utility> #include <gtest/gtest.h> #include "absl/container/flat_hash_map.h" #include "tensorflow/core/platform/init_main.h" #include "tensorflow/core/platform/path.h" #include "tensorflow/core/platform/type...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/tools/optimize/calibration/calibrator.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/tools/optimize/calibration/calibrator_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
c45fb7a3-0e45-4799-97f2-897cff4b579a
cpp
tensorflow/tensorflow
signature_def_util
tensorflow/lite/tools/signature/signature_def_util.cc
tensorflow/lite/tools/signature/signature_def_util_test.cc
#include "tensorflow/lite/tools/signature/signature_def_util.h" #include <map> #include <memory> #include <string> #include <utility> #include "absl/status/status.h" #include "flatbuffers/flatbuffer_builder.h" #include "flatbuffers/flexbuffers.h" #include "flatbuffers/vector.h" #include "tensorflow/core/lib/core/...
#include "tensorflow/lite/tools/signature/signature_def_util.h" #include <string> #include <gtest/gtest.h> #include "absl/status/status.h" #include "flatbuffers/buffer.h" #include "tensorflow/cc/saved_model/signature_constants.h" #include "tensorflow/core/platform/errors.h" #include "tensorflow/core/protobuf/meta_gra...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/tools/signature/signature_def_util.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/tools/signature/signature_def_util_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
0d5029fc-e5a7-4df6-8d8f-b8c571a6e12a
cpp
tensorflow/tensorflow
writer
tensorflow/lite/tools/serialization/writer.cc
tensorflow/lite/tools/serialization/writer_test.cc
#include <iostream> #include "tensorflow/lite/core/interpreter_builder.h" #include "tensorflow/lite/core/kernels/register.h" #include "tensorflow/lite/interpreter.h" #include "tensorflow/lite/model_builder.h" #include "tensorflow/lite/tools/serialization/writer_lib.h" int main(int argc, char* argv[]) { if (argc != 3)...
#include <iostream> #include "tensorflow/lite/c/c_api_types.h" #include "tensorflow/lite/core/interpreter_builder.h" #include "tensorflow/lite/core/kernels/register.h" #include "tensorflow/lite/interpreter.h" #include "tensorflow/lite/model_builder.h" #include "tensorflow/lite/tools/serialization/writer_lib.h" int main...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/tools/serialization/writer.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/tools/serialization/writer_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
7d8d55ae-5c41-44a2-905e-07d95bfb1b0c
cpp
tensorflow/tensorflow
writer_lib
tensorflow/lite/tools/serialization/writer_lib.cc
tensorflow/lite/tools/serialization/writer_lib_test.cc
#include "tensorflow/lite/tools/serialization/writer_lib.h" #include <cstdlib> #include <cstring> #include <memory> #include <set> #include <string> #include <unordered_map> #include <unordered_set> #include <utility> #include <vector> #include "absl/container/flat_hash_map.h" #include "absl/container/flat_hash_set.h" ...
#include "tensorflow/lite/tools/serialization/writer_lib.h" #include <cstdlib> #include <fstream> #include <memory> #include <numeric> #include <sstream> #include <string> #include <tuple> #include <vector> #include <gtest/gtest.h> #include "absl/log/check.h" #include "tensorflow/compiler/mlir/lite/schema/mutable/schem...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/tools/serialization/writer_lib.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/tools/serialization/writer_lib_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
79d42034-7362-4f03-af6b-9524fcede270
cpp
tensorflow/tensorflow
evaluation_delegate_provider
tensorflow/lite/tools/evaluation/evaluation_delegate_provider.cc
tensorflow/lite/tools/evaluation/evaluation_delegate_provider_test.cc
#include "tensorflow/lite/tools/evaluation/evaluation_delegate_provider.h" #include <string> #include "tensorflow/lite/c/c_api_types.h" #include "tensorflow/lite/tools/command_line_flags.h" #include "tensorflow/lite/tools/evaluation/proto/evaluation_stages.pb.h" #include "tensorflow/lite/tools/evaluation/utils.h" #incl...
#include "tensorflow/lite/tools/evaluation/evaluation_delegate_provider.h" #include <gtest/gtest.h> #include "tensorflow/lite/tools/evaluation/proto/evaluation_stages.pb.h" #include "tensorflow/lite/tools/tool_params.h" namespace tflite { namespace evaluation { namespace { TEST(EvaluationDelegateProviderTest, ParseStri...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/tools/evaluation/evaluation_delegate_provider.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/tools/evaluation/evaluation_delegate_provider_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
a521486a-75e5-4dda-8e18-e58c91d51eb9
cpp
tensorflow/tensorflow
inference_profiler_stage
tensorflow/lite/tools/evaluation/stages/inference_profiler_stage.cc
tensorflow/lite/tools/evaluation/stages/inference_profiler_stage_test.cc
#include "tensorflow/lite/tools/evaluation/stages/inference_profiler_stage.h" #include <cmath> #include <cstdint> #include <limits> #include <memory> #include <random> #include "fp16.h" #include "tensorflow/core/platform/logging.h" #include "tensorflow/lite/c/c_api_types.h" #include "tensorflow/lite/tools/evaluation/...
#include "tensorflow/lite/tools/evaluation/stages/inference_profiler_stage.h" #include <stdint.h> #include <string> #include <gtest/gtest.h> #include "tensorflow/lite/core/c/common.h" #include "tensorflow/lite/tools/evaluation/proto/evaluation_config.pb.h" #include "tensorflow/lite/tools/evaluation/proto/evaluation_sta...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/tools/evaluation/stages/inference_profiler_stage.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/tools/evaluation/stages/inference_profiler_stage_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
28c9bf17-b5d5-4830-a34f-6402572d733a
cpp
tensorflow/tensorflow
tflite_inference_stage
tensorflow/lite/tools/evaluation/stages/tflite_inference_stage.cc
tensorflow/lite/tools/evaluation/stages/tflite_inference_stage_test.cc
#include "tensorflow/lite/tools/evaluation/stages/tflite_inference_stage.h" #include <cstring> #include <fstream> #include <memory> #include <string> #include <utility> #include "absl/base/attributes.h" #include "tensorflow/core/platform/logging.h" #include "tensorflow/lite/core/c/common.h" #include "tensorflow/lite/co...
#include "tensorflow/lite/tools/evaluation/stages/tflite_inference_stage.h" #include <stdint.h> #include <string> #include <gtest/gtest.h> #include "tensorflow/lite/core/c/common.h" #include "tensorflow/lite/interpreter.h" #include "tensorflow/lite/tools/evaluation/proto/evaluation_config.pb.h" #include "tensorflow/lit...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/tools/evaluation/stages/tflite_inference_stage.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/tools/evaluation/stages/tflite_inference_stage_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
66f3c55a-dbb9-4df7-90ab-dabb19c6b4bc
cpp
tensorflow/tensorflow
topk_accuracy_eval_stage
tensorflow/lite/tools/evaluation/stages/topk_accuracy_eval_stage.cc
tensorflow/lite/tools/evaluation/stages/topk_accuracy_eval_stage_test.cc
#include "tensorflow/lite/tools/evaluation/stages/topk_accuracy_eval_stage.h" #include <stdint.h> #include <algorithm> #include <numeric> #include "tensorflow/core/platform/logging.h" #include "tensorflow/lite/c/c_api_types.h" #include "tensorflow/lite/tools/evaluation/proto/evaluation_config.pb.h" #include "tensorflow...
#include "tensorflow/lite/tools/evaluation/stages/topk_accuracy_eval_stage.h" #include <stdint.h> #include <string> #include <gtest/gtest.h> #include "tensorflow/lite/c/c_api_types.h" #include "tensorflow/lite/c/common.h" #include "tensorflow/lite/tools/evaluation/proto/evaluation_config.pb.h" #include "tensorflow/lite...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/tools/evaluation/stages/topk_accuracy_eval_stage.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/tools/evaluation/stages/topk_accuracy_eval_stage_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
91de9e22-48a4-4a8d-8ce5-150626fc675b
cpp
tensorflow/tensorflow
image_preprocessing_stage
tensorflow/lite/tools/evaluation/stages/image_preprocessing_stage.cc
tensorflow/lite/tools/evaluation/stages/image_preprocessing_stage_test.cc
#include "tensorflow/lite/tools/evaluation/stages/image_preprocessing_stage.h" #include <algorithm> #include <cmath> #include <cstdint> #include <fstream> #include <ios> #include <iterator> #include <memory> #include <streambuf> #include <string> #include <vector> #include "absl/base/casts.h" #include "absl/strings/asc...
#include "tensorflow/lite/tools/evaluation/stages/image_preprocessing_stage.h" #include <memory> #include <string> #include <gtest/gtest.h> #include "tensorflow/lite/c/c_api_types.h" #include "tensorflow/lite/tools/evaluation/proto/evaluation_config.pb.h" #include "tensorflow/lite/tools/evaluation/proto/evaluation_stag...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/tools/evaluation/stages/image_preprocessing_stage.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/tools/evaluation/stages/image_preprocessing_stage_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
cadcf136-1281-4209-bb13-7b782228d794
cpp
tensorflow/tensorflow
object_detection_average_precision_stage
tensorflow/lite/tools/evaluation/stages/object_detection_average_precision_stage.cc
tensorflow/lite/tools/evaluation/stages/object_detection_average_precision_stage_test.cc
#include "tensorflow/lite/tools/evaluation/stages/object_detection_average_precision_stage.h" #include <stdint.h> #include <numeric> #include "tensorflow/core/platform/logging.h" #include "tensorflow/lite/c/c_api_types.h" #include "tensorflow/lite/tools/evaluation/proto/evaluation_config.pb.h" #include "tensorflow/lite...
#include "tensorflow/lite/tools/evaluation/stages/object_detection_average_precision_stage.h" #include <stdint.h> #include <string> #include <gtest/gtest.h> #include "tensorflow/lite/c/c_api_types.h" #include "tensorflow/lite/tools/evaluation/proto/evaluation_config.pb.h" #include "tensorflow/lite/tools/evaluation/prot...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/tools/evaluation/stages/object_detection_average_precision_stage.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/tools/evaluation/stages/object_detection_average_precision_stage_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
63ccecee-2364-4308-a602-e2ce86fff0bc
cpp
tensorflow/tensorflow
image_metrics
tensorflow/lite/tools/evaluation/stages/utils/image_metrics.cc
tensorflow/lite/tools/evaluation/stages/utils/image_metrics_test.cc
#include "tensorflow/lite/tools/evaluation/stages/utils/image_metrics.h" #include <algorithm> #include <cmath> #include "absl/container/flat_hash_map.h" #include "tensorflow/core/platform/logging.h" namespace tflite { namespace evaluation { namespace image { float Box2D::Length(const Box2D::Interval& a) { return std:...
#include "tensorflow/lite/tools/evaluation/stages/utils/image_metrics.h" #include <stdint.h> #include <algorithm> #include <cmath> #include <cstdlib> #include <gtest/gtest.h> namespace tflite { namespace evaluation { namespace image { float MaxP(float minr, const std::vector<PR>& prs) { float p = 0; for (auto& pr :...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/tools/evaluation/stages/utils/image_metrics.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/tools/evaluation/stages/utils/image_metrics_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
5dee0d93-d903-4902-acfb-be17f27a8659
cpp
tensorflow/tensorflow
delegate_provider
tensorflow/lite/tools/delegates/delegate_provider.cc
tensorflow/lite/tools/delegates/delegate_provider_test.cc
#include "tensorflow/lite/tools/delegates/delegate_provider.h" #include <algorithm> #include <string> #include <utility> #include <vector> namespace tflite { namespace tools { TfLiteDelegatePtr CreateNullDelegate() { return TfLiteDelegatePtr(nullptr, [](TfLiteOpaqueDelegate*) {}); } void ProvidedDelegateList::AddAllD...
#include "tensorflow/lite/tools/delegates/delegate_provider.h" #include <gmock/gmock.h> #include <gtest/gtest.h> #include "tensorflow/lite/c/test_util.h" #include "tensorflow/lite/tools/tool_params.h" namespace tflite { namespace tools { namespace { TEST(ProvidedDelegateListTest, AddAllDelegateParams) { ToolParams pa...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/tools/delegates/delegate_provider.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/tools/delegates/delegate_provider_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
924450a7-b081-4c29-b3f6-2bb71a1b42d4
cpp
tensorflow/tensorflow
xnnpack_delegate_provider
tensorflow/lite/tools/delegates/xnnpack_delegate_provider.cc
tensorflow/lite/tools/delegates/xnnpack_delegate_provider_test.cc
#include <string> #include <utility> #include "tensorflow/lite/tools/delegates/delegate_provider.h" #include "tensorflow/lite/tools/evaluation/utils.h" namespace tflite { namespace tools { class XnnpackDelegateProvider : public DelegateProvider { public: XnnpackDelegateProvider() { default_params_.AddParam("use_...
#include <cstdint> #include <string> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "tensorflow/lite/delegates/xnnpack/xnnpack_delegate.h" #include "tensorflow/lite/tools/delegates/delegate_provider.h" #include "tensorflow/lite/tools/tool_params.h" namespace tflite { namespace tools { namespace { TEST(XNNPa...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/tools/delegates/xnnpack_delegate_provider.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/tools/delegates/xnnpack_delegate_provider_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
6824ada7-01ad-4c47-ba4e-358ca1192093
cpp
tensorflow/tensorflow
gpu_delegate_compatibility_checker
tensorflow/lite/tools/delegates/compatibility/gpu/gpu_delegate_compatibility_checker.cc
tensorflow/lite/tools/delegates/compatibility/gpu/gpu_delegate_compatibility_checker_test.cc
#include "tensorflow/lite/tools/delegates/compatibility/gpu/gpu_delegate_compatibility_checker.h" #include <functional> #include <memory> #include <string> #include <unordered_map> #include "absl/status/status.h" #include "tensorflow/lite/model_builder.h" #include "tensorflow/lite/tools/delegates/compatibility/protos/c...
#include "tensorflow/lite/tools/delegates/compatibility/gpu/gpu_delegate_compatibility_checker.h" #include <string> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "absl/status/status.h" #include "tensorflow/core/platform/resource_loader.h" #include "tensorflow/lite/kernels/test_util.h" #include "tensorflow/...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/tools/delegates/compatibility/gpu/gpu_delegate_compatibility_checker.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/tools/delegates/compatibility/gpu/gpu_delegate_compatibility_checker_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
bd52ecf5-ef65-40cf-bffe-d2d368a8ecdf
cpp
tensorflow/tensorflow
nnapi_compatibility_lib
tensorflow/lite/tools/delegates/compatibility/nnapi/nnapi_compatibility_lib.cc
tensorflow/lite/tools/delegates/compatibility/nnapi/nnapi_compatibility_lib_test.cc
#include "tensorflow/lite/tools/delegates/compatibility/nnapi/nnapi_compatibility_lib.h" #include <map> #include <utility> #include <vector> #include "tensorflow/lite/context_util.h" #include "tensorflow/lite/delegates/nnapi/nnapi_delegate.h" #include "tensorflow/lite/delegates/nnapi/nnapi_delegate_kernel.h" #include "...
#include "tensorflow/lite/tools/delegates/compatibility/nnapi/nnapi_compatibility_lib.h" #include <map> #include <memory> #include <utility> #include <vector> #include <gtest/gtest.h> #include "tensorflow/lite/core/c/c_api_types.h" #include "tensorflow/lite/delegates/nnapi/nnapi_delegate_kernel.h" #include "tensorflow/...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/tools/delegates/compatibility/nnapi/nnapi_compatibility_lib.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/tools/delegates/compatibility/nnapi/nnapi_compatibility_lib_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
02ed9897-f442-4266-a42c-c0acb98922cf
cpp
tensorflow/tensorflow
nnapi_delegate_compatibility_checker
tensorflow/lite/tools/delegates/compatibility/nnapi/nnapi_delegate_compatibility_checker.cc
tensorflow/lite/tools/delegates/compatibility/nnapi/nnapi_delegate_compatibility_checker_test.cc
#include "tensorflow/lite/tools/delegates/compatibility/nnapi/nnapi_delegate_compatibility_checker.h" #include <cctype> #include <cstdlib> #include <functional> #include <limits> #include <memory> #include <sstream> #include <string> #include <unordered_map> #include <vector> #include "absl/status/status.h" #include "a...
#include "tensorflow/lite/tools/delegates/compatibility/nnapi/nnapi_delegate_compatibility_checker.h" #include <cstdint> #include <limits> #include <string> #include <unordered_map> #include <vector> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "absl/status/status.h" #include "tensorflow/core/platform/res...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/tools/delegates/compatibility/nnapi/nnapi_delegate_compatibility_checker.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/tools/delegates/compatibility/nnapi/nnapi_delegate_compatibility_checker_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
90c6fcba-9e56-454e-aa32-12dd171fd942
cpp
tensorflow/tensorflow
stable_delegate_provider
tensorflow/lite/tools/delegates/experimental/stable_delegate/stable_delegate_provider.cc
tensorflow/lite/tools/delegates/experimental/stable_delegate/stable_delegate_provider_test.cc
#include <cstdint> #include <map> #include <string> #include <utility> #include <vector> #include "tensorflow/lite/tools/command_line_flags.h" #include "tensorflow/lite/tools/delegates/delegate_provider.h" #include "tensorflow/lite/tools/logging.h" #include "tensorflow/lite/tools/tool_params.h" #if !defined(_WIN32) #in...
#include <string> #include <vector> #include <gtest/gtest.h> #include "pthreadpool.h" #include "tensorflow/lite/delegates/xnnpack/xnnpack_delegate.h" #include "tensorflow/lite/tools/delegates/delegate_provider.h" #include "tensorflow/lite/tools/tool_params.h" namespace tflite { namespace tools { namespace { static co...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/tools/delegates/experimental/stable_delegate/stable_delegate_provider.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/tools/delegates/experimental/stable_delegate/stable_delegate_provider_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
f219ac4f-dc25-438c-ac93-f9d42e2ee63b
cpp
tensorflow/tensorflow
op_signature
tensorflow/lite/tools/versioning/op_signature.cc
tensorflow/lite/tools/versioning/op_signature_test.cc
#include "tensorflow/lite/tools/versioning/op_signature.h" #include <cstdlib> #include "tensorflow/lite/core/api/flatbuffer_conversions.h" #include "tensorflow/lite/kernels/internal/compatibility.h" #include "tensorflow/lite/kernels/kernel_util.h" #include "tensorflow/lite/schema/schema_generated.h" #include "tensorflo...
#include "tensorflow/lite/tools/versioning/op_signature.h" #include <cstring> #include <memory> #include <string> #include <vector> #include <gtest/gtest.h> #include "tensorflow/core/platform/resource_loader.h" #include "tensorflow/lite/builtin_ops.h" #include "tensorflow/lite/core/model_builder.h" namespace tflite { c...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/tools/versioning/op_signature.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/tools/versioning/op_signature_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
fe3e861d-aa7d-4a4b-9a82-7d51d95dcf7a
cpp
tensorflow/tensorflow
runtime_version
tensorflow/lite/tools/versioning/runtime_version.cc
tensorflow/lite/tools/versioning/runtime_version_test.cc
#include "tensorflow/lite/tools/versioning/runtime_version.h" #include <cstring> #include <map> #include <string> #include <utility> #include "absl/strings/numbers.h" #include "absl/strings/str_split.h" #include "tensorflow/compiler/mlir/lite/schema/mutable/schema_generated.h" #include "tensorflow/lite/minimal_logging....
#include "tensorflow/lite/tools/versioning/runtime_version.h" #include <string> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "tensorflow/lite/core/kernels/register.h" #include "tensorflow/lite/schema/schema_generated.h" namespace tflite { TEST(OpVersionTest, CompareRuntimeVersion) { EXPECT_TRUE(CompareR...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/tools/versioning/runtime_version.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/tools/versioning/runtime_version_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
35f936ca-0998-4bd1-b503-610007d31953
cpp
tensorflow/tensorflow
op_version
tensorflow/lite/tools/versioning/op_version.cc
tensorflow/lite/tools/versioning/op_version_test.cc
#include "tensorflow/lite/tools/versioning/op_version.h" #include <algorithm> #include <string> #include <utility> #include <vector> #include "absl/memory/memory.h" #include "absl/strings/numbers.h" #include "absl/strings/str_split.h" #include "tensorflow/compiler/mlir/lite/schema/mutable/schema_generated.h" #include "...
#include "tensorflow/lite/tools/versioning/op_version.h" #include <vector> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "tensorflow/lite/builtin_op_data.h" #include "tensorflow/lite/core/c/builtin_op_data.h" #include "tensorflow/lite/core/c/c_api_types.h" #include "tensorflow/lite/schema/schema_generated....
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/tools/versioning/op_version.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/tools/versioning/op_version_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
60745d33-3a8b-4264-9983-da7112c95926
cpp
tensorflow/tensorflow
signature_runner
tensorflow/lite/core/signature_runner.cc
tensorflow/lite/core/signature_runner_test.cc
#include "tensorflow/lite/core/signature_runner.h" #include <vector> #include "tensorflow/lite/c/common.h" #include "tensorflow/lite/core/c/c_api_types.h" #include "tensorflow/lite/core/subgraph.h" #include "tensorflow/lite/internal/signature_def.h" namespace tflite { namespace impl { SignatureRunner::SignatureRunner(c...
#include "tensorflow/lite/core/signature_runner.h" #include <memory> #include <string> #include <vector> #include <gtest/gtest.h> #include "tensorflow/lite/core/interpreter.h" #include "tensorflow/lite/core/interpreter_builder.h" #include "tensorflow/lite/core/kernels/register.h" #include "tensorflow/lite/model_builder...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/core/signature_runner.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/core/signature_runner_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
66e616d3-0a41-4d1a-8c15-b0138948b0b7
cpp
tensorflow/tensorflow
xnnpack_plugin
tensorflow/lite/core/acceleration/configuration/c/xnnpack_plugin.cc
tensorflow/lite/core/acceleration/configuration/c/xnnpack_plugin_test.cc
#include "tensorflow/lite/core/acceleration/configuration/c/xnnpack_plugin.h" #include <memory> #include "tensorflow/lite/acceleration/configuration/configuration_generated.h" #include "tensorflow/lite/core/acceleration/configuration/c/delegate_plugin.h" #include "tensorflow/lite/core/c/common.h" #include "tensorflow/l...
#include "tensorflow/lite/core/acceleration/configuration/c/xnnpack_plugin.h" #include <gtest/gtest.h> #include "flatbuffers/buffer.h" #include "flatbuffers/flatbuffer_builder.h" #include "pthreadpool.h" #include "tensorflow/lite/acceleration/configuration/configuration_generated.h" #include "tensorflow/lite/core...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/core/acceleration/configuration/c/xnnpack_plugin.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/core/acceleration/configuration/c/xnnpack_plugin_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
e737928b-b99f-4fe5-8078-5b380e7871df
cpp
tensorflow/tensorflow
stable_delegate_registry
tensorflow/lite/core/acceleration/configuration/stable_delegate_registry.cc
tensorflow/lite/core/acceleration/configuration/stable_delegate_registry_test.cc
#include "tensorflow/lite/core/acceleration/configuration/stable_delegate_registry.h" #include <string> #include "absl/synchronization/mutex.h" #include "tensorflow/lite/core/acceleration/configuration/c/stable_delegate.h" namespace tflite { namespace delegates { void StableDelegateRegistry::RegisterStableDelegate( ...
#include "tensorflow/lite/core/acceleration/configuration/stable_delegate_registry.h" #include <gtest/gtest.h> #include "tensorflow/lite/core/acceleration/configuration/c/stable_delegate.h" namespace { using tflite::delegates::StableDelegateRegistry; TfLiteStableDelegate CreateTestStableDelegate() { TfLiteStableDeleg...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/core/acceleration/configuration/stable_delegate_registry.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/core/acceleration/configuration/stable_delegate_registry_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
61891652-f14f-40b2-a1d0-94d7c26d4bf6
cpp
tensorflow/tensorflow
nnapi_plugin
tensorflow/lite/core/acceleration/configuration/c/nnapi_plugin.cc
tensorflow/lite/core/acceleration/configuration/c/nnapi_plugin_test.cc
#include "tensorflow/lite/core/acceleration/configuration/c/nnapi_plugin.h" #include <memory> #include "tensorflow/lite/acceleration/configuration/configuration_generated.h" #include "tensorflow/lite/core/acceleration/configuration/c/delegate_plugin.h" #include "tensorflow/lite/core/acceleration/configuration/nnapi_plu...
#include "tensorflow/lite/core/acceleration/configuration/c/nnapi_plugin.h" #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/c/common.h" namespace tflite...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/core/acceleration/configuration/c/nnapi_plugin.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/core/acceleration/configuration/c/nnapi_plugin_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
e8ad88dc-6c07-443c-8df2-ecbfd02997c0
cpp
tensorflow/tensorflow
register
tensorflow/lite/core/kernels/register.cc
tensorflow/lite/core/kernels/register_test.cc
#include "tensorflow/lite/core/kernels/register.h" #include "tensorflow/lite/core/c/common.h" #include "tensorflow/lite/core/kernels/builtin_op_kernels.h" #include "tensorflow/lite/schema/schema_generated.h" #include "tensorflow/lite/tflite_with_xnnpack_optional.h" namespace tflite { namespace ops { namespace custom { ...
#include "tensorflow/lite/core/kernels/register.h" #include <memory> #include <gtest/gtest.h> #include "tensorflow/lite/c/common.h" #include "tensorflow/lite/mutable_op_resolver.h" #include "tensorflow/lite/schema/schema_generated.h" namespace tflite::ops::builtin { namespace { TEST(BuiltinOpResolverTest, SupportsAdd) ...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/core/kernels/register.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/core/kernels/register_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
0239edc1-2484-43d0-8cc0-3407d549341e
cpp
tensorflow/tensorflow
c_api
tensorflow/c/eager/c_api.cc
tensorflow/c/eager/c_api_test.cc
#include "tensorflow/c/eager/c_api.h" #include <algorithm> #include <cstddef> #include <cstdint> #include <memory> #include <string> #include <utility> #include <vector> #include "absl/algorithm/container.h" #include "absl/memory/memory.h" #include "tensorflow/c/c_api.h" #include "tensorflow/c/c_api_internal.h" #includ...
#include "tensorflow/c/eager/c_api.h" #include <string.h> #include <memory> #include <string> #include "tensorflow/core/framework/attr_value.pb.h" #include "tensorflow/core/framework/types.pb.h" #include "tensorflow/core/platform/platform.h" #include "absl/strings/match.h" #include "tensorflow/c/eager/c_api_experimenta...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/c/eager/c_api.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/c/eager/c_api_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
9aff0930-974e-4a79-88e7-15f021c37799
cpp
tensorflow/tensorflow
verifier
tensorflow/lite/core/tools/verifier.cc
tensorflow/lite/core/tools/verifier_test.cc
#include "tensorflow/lite/core/tools/verifier.h" #include <stdarg.h> #include <algorithm> #include <climits> #include <complex> #include <cstdint> #include <cstring> #include <vector> #include "absl/container/flat_hash_set.h" #include "absl/types/optional.h" #include "flatbuffers/string.h" #include "tensorflow/compil...
#include "tensorflow/lite/core/tools/verifier.h" #include <memory> #include <string> #include <vector> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "flatbuffers/buffer.h" #include "flatbuffers/flatbuffer_builder.h" #include "flatbuffers/vector.h" #include "tensorflow/compiler/mlir/lite/schema/schema...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/core/tools/verifier.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/core/tools/verifier_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
111cb924-fbfa-4fec-8fee-aef598b480b7
cpp
tensorflow/tensorflow
verifier_internal
tensorflow/lite/core/tools/verifier_internal.cc
tensorflow/lite/core/tools/verifier_internal_test.cc
#include "tensorflow/lite/core/tools/verifier_internal.h" #include <stddef.h> #include <stdint.h> #include "flatbuffers/verifier.h" #include "tensorflow/lite/schema/schema_generated.h" namespace tflite { namespace internal { const Model* VerifyFlatBufferAndGetModel(const void* buf, size_t len) { ::flatbuffers::Veri...
#include "tensorflow/lite/core/tools/verifier_internal.h" #include <memory> #include <string> #include <vector> #include <gtest/gtest.h> #include "flatbuffers/buffer.h" #include "flatbuffers/flatbuffer_builder.h" #include "flatbuffers/vector.h" #include "tensorflow/compiler/mlir/lite/schema/schema_conversion_util...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/core/tools/verifier_internal.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/core/tools/verifier_internal_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
7e011ad8-1944-4d60-9a4c-0f9cc292d713
cpp
tensorflow/tensorflow
async_subgraph
tensorflow/lite/core/async/async_subgraph.cc
tensorflow/lite/core/async/async_subgraph_test.cc
#include "tensorflow/lite/core/async/async_subgraph.h" #include <vector> #include "tensorflow/lite/core/async/async_kernel_internal.h" #include "tensorflow/lite/core/async/c/types.h" #include "tensorflow/lite/core/async/task_internal.h" #include "tensorflow/lite/core/c/c_api_types.h" #include "tensorflow/lite/core/c/co...
#include "tensorflow/lite/core/async/async_subgraph.h" #include <memory> #include <vector> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "tensorflow/lite/core/async/async_kernel_internal.h" #include "tensorflow/lite/core/async/backend_async_kernel_interface.h" #include "tensorflow/lite/core/async/c/types.h...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/core/async/async_subgraph.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/core/async/async_subgraph_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
831eba5a-1e8a-4c10-b485-c8cc4caf6274
cpp
tensorflow/tensorflow
task_internal
tensorflow/lite/core/async/task_internal.cc
tensorflow/lite/core/async/task_internal_test.cc
#include "tensorflow/lite/core/async/task_internal.h" #include <cstdint> #include <map> #include <memory> #include <string> #include "tensorflow/lite/core/async/async_kernel_internal.h" #include "tensorflow/lite/core/async/c/types.h" #include "tensorflow/lite/core/async/interop/c/types.h" #include "tensorflow/lite/core...
#include "tensorflow/lite/core/async/task_internal.h" #include <string> #include <gtest/gtest.h> #include "tensorflow/lite/c/c_api_types.h" #include "tensorflow/lite/c/common.h" #include "tensorflow/lite/core/async/c/types.h" #include "tensorflow/lite/core/async/interop/c/types.h" namespace tflite::async { TEST(TfLiteE...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/core/async/task_internal.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/core/async/task_internal_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
22e618cf-019a-4ec3-904c-f4d326d6e1d6
cpp
tensorflow/tensorflow
async_signature_runner
tensorflow/lite/core/async/c/async_signature_runner.cc
tensorflow/lite/core/async/c/async_signature_runner_test.cc
#include "tensorflow/lite/core/async/c/async_signature_runner.h" #include "tensorflow/lite/c/c_api_internal.h" #include "tensorflow/lite/core/async/async_signature_runner.h" #include "tensorflow/lite/core/async/c/internal.h" #include "tensorflow/lite/core/c/c_api_types.h" TfLiteAsyncSignatureRunner* TfLiteInterpreterGe...
#include "tensorflow/lite/core/async/c/async_signature_runner.h" #include <memory> #include <utility> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "tensorflow/lite/c/c_api_internal.h" #include "tensorflow/lite/c/c_api_opaque.h" #include "tensorflow/lite/core/async/async_kernel_internal.h" #include "tensor...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/core/async/c/async_signature_runner.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/core/async/c/async_signature_runner_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
7ebe33fa-b0b5-44fd-81fd-f58aa8e47d6e
cpp
tensorflow/tensorflow
reconcile_fns
tensorflow/lite/core/async/interop/reconcile_fns.cc
tensorflow/lite/core/async/interop/reconcile_fns_test.cc
#include "tensorflow/lite/core/async/interop/reconcile_fns.h" #include <algorithm> #include <cstddef> #include <cstdint> #include <iterator> #include <set> #include "tensorflow/lite/core/async/interop/attribute_map_internal.h" #include "tensorflow/lite/core/async/interop/c/types.h" namespace tflite { namespace interop ...
#include "tensorflow/lite/core/async/interop/reconcile_fns.h" #include <cstddef> #include <cstdint> #include <cstring> #include <string> #include <tuple> #include <gtest/gtest.h> #include "tensorflow/lite/core/async/interop/attribute_map_internal.h" #include "tensorflow/lite/core/async/interop/c/types.h" namespace tfli...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/core/async/interop/reconcile_fns.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/core/async/interop/reconcile_fns_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
3fc1de5f-22d4-46d6-9a7d-6cf17b61d645
cpp
tensorflow/tensorflow
attribute_map_internal
tensorflow/lite/core/async/interop/attribute_map_internal.cc
tensorflow/lite/core/async/interop/attribute_map_internal_test.cc
#include "tensorflow/lite/core/async/interop/attribute_map_internal.h" #include "tensorflow/lite/core/async/interop/reconcile_fns.h" namespace tflite { namespace interop { bool AttributeMap::ReconcileAttributes(const AttributeMap* other, AttributeMap* merged, ...
#include "tensorflow/lite/core/async/interop/attribute_map_internal.h" #include <cstdint> #include <gtest/gtest.h> #include "tensorflow/lite/core/async/interop/c/types.h" namespace tflite { namespace interop { namespace { TEST(AttributeMapTest, TypeTest) { { auto attrs = AttributeMap(kTfLiteAttrMapTypeBuffer); ...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/core/async/interop/attribute_map_internal.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/core/async/interop/attribute_map_internal_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
2dfa250a-7737-404a-b9d5-dbff2dca84a2
cpp
tensorflow/tensorflow
task
tensorflow/lite/core/async/c/task.cc
tensorflow/lite/core/async/c/task_test.cc
#include "tensorflow/lite/core/async/c/task.h" #include "tensorflow/lite/core/async/c/types.h" #include "tensorflow/lite/core/async/task_internal.h" #include "tensorflow/lite/core/c/c_api_types.h" #include "tensorflow/lite/core/c/common.h" extern "C" { TfLiteStatus TfLiteExecutionTaskSetBuffer(TfLiteExecutionTask* task...
#include "tensorflow/lite/core/async/c/task.h" #include <gtest/gtest.h> #include "tensorflow/lite/core/async/c/types.h" #include "tensorflow/lite/core/async/interop/c/types.h" #include "tensorflow/lite/core/async/task_internal.h" #include "tensorflow/lite/core/c/common.h" namespace { class TfLiteExecutionTaskTest : pub...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/core/async/c/task.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/core/async/c/task_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
c1f8f33e-1147-4fa1-b5d6-6457a9b6e08e
cpp
tensorflow/tensorflow
flatbuffer_conversions
tensorflow/lite/core/api/flatbuffer_conversions.cc
tensorflow/lite/core/api/flatbuffer_conversions_test.cc
#include "tensorflow/lite/core/api/flatbuffer_conversions.h" #include <algorithm> #include <cstddef> #include <cstdint> #include <memory> #include "flatbuffers/vector.h" #include "tensorflow/compiler/mlir/lite/core/api/error_reporter.h" #include "tensorflow/lite/core/c/builtin_op_data.h" #include "tensorflow/lite/cor...
#include "tensorflow/lite/core/api/flatbuffer_conversions.h" #include <cstdarg> #include <cstdint> #include <cstdio> #include <cstring> #include <tuple> #include <vector> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "flatbuffers/buffer.h" #include "flatbuffers/flatbuffer_builder.h" #include "tensorflo...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/core/api/flatbuffer_conversions.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/core/api/flatbuffer_conversions_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
03aad0e0-543f-4086-af9c-38f3b63304f7
cpp
tensorflow/tensorflow
op_resolver
tensorflow/lite/core/api/op_resolver.cc
tensorflow/lite/core/api/op_resolver_test.cc
#include "tensorflow/lite/core/api/op_resolver.h" #include "tensorflow/compiler/mlir/lite/core/api/error_reporter.h" #include "tensorflow/compiler/mlir/lite/schema/schema_utils.h" #include "tensorflow/lite/core/c/common.h" #include "tensorflow/lite/schema/schema_generated.h" namespace tflite { TfLiteStatus GetRegistrat...
#include "tensorflow/lite/core/api/op_resolver.h" #include <cstring> #include <gtest/gtest.h> #include "flatbuffers/buffer.h" #include "flatbuffers/flatbuffer_builder.h" #include "tensorflow/compiler/mlir/lite/core/api/error_reporter.h" #include "tensorflow/compiler/mlir/lite/schema/schema_conversion_utils.h" #incl...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/core/api/op_resolver.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/core/api/op_resolver_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
f090185f-76b0-4a65-9cb4-8dd42979e2c4
cpp
tensorflow/tensorflow
operator
tensorflow/lite/toco/tflite/operator.cc
tensorflow/lite/toco/tflite/operator_test.cc
#include "tensorflow/lite/toco/tflite/operator.h" #include <map> #include <memory> #include <string> #include <utility> #include "absl/log/check.h" #include "absl/log/log.h" #include "flatbuffers/buffer.h" #include "flatbuffers/flatbuffer_builder.h" #include "flatbuffers/flexbuffers.h" #include "tensorflow/core/f...
#include "tensorflow/lite/toco/tflite/operator.h" #include <string> #include <gtest/gtest.h> #include "absl/log/check.h" #include "flatbuffers/buffer.h" #include "flatbuffers/flatbuffer_builder.h" #include "tensorflow/core/framework/attr_value.pb.h" #include "tensorflow/core/framework/node_def.pb.h" #include "tenso...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/toco/tflite/operator.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/toco/tflite/operator_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
05eda510-6916-41f3-b867-9622765d076c
cpp
tensorflow/tensorflow
c_api_opaque
tensorflow/lite/core/c/c_api_opaque.cc
tensorflow/lite/core/c/c_api_opaque_test.cc
#include "tensorflow/lite/core/c/c_api_opaque.h" #include <stdarg.h> #include <stdint.h> #include <cstdio> #include <vector> #include "tensorflow/lite/c/c_api_opaque_internal.h" #include "tensorflow/lite/core/c/c_api.h" #include "tensorflow/lite/core/c/c_api_types.h" #include "tensorflow/lite/core/c/common.h" #include ...
#include "tensorflow/lite/core/c/c_api_opaque.h" #include <stddef.h> #include <cstring> #include <memory> #include <gtest/gtest.h> #include "tensorflow/lite/builtin_ops.h" #include "tensorflow/lite/c/common.h" #include "tensorflow/lite/core/c/c_api.h" namespace tflite { namespace { TEST(TestTfLiteOpaqueTensorGetAllocat...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/core/c/c_api_opaque.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/core/c/c_api_opaque_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
c190acea-833e-4eb8-9ce8-56690a50f14c
cpp
tensorflow/tensorflow
c_api_experimental
tensorflow/c/eager/c_api_experimental.cc
tensorflow/c/eager/c_api_experimental_test.cc
#include "tensorflow/c/eager/c_api_experimental.h" #include <cstdint> #include <memory> #include <utility> #include <vector> #include "absl/container/flat_hash_map.h" #include "absl/strings/match.h" #include "absl/time/time.h" #include "tensorflow/c/c_api.h" #include "tensorflow/c/eager/c_api_internal.h" #include "tens...
#include "tensorflow/c/eager/c_api_experimental.h" #include <string.h> #include <string> #include "tensorflow/c/eager/c_api.h" #include "tensorflow/c/eager/c_api_internal.h" #include "tensorflow/c/eager/c_api_test_util.h" #include "tensorflow/core/distributed_runtime/rpc/grpc_server_lib.h" #include "tensorflow/core/dis...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/c/eager/c_api_experimental.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/c/eager/c_api_experimental_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
1ecf36f2-7ab5-4fb0-8321-4f385b395019
cpp
tensorflow/tensorflow
backend_async_kernel_interface
tensorflow/lite/async/backend_async_kernel_interface.cc
tensorflow/lite/async/backend_async_kernel_interface_test.cc
#include "tensorflow/lite/async/backend_async_kernel_interface.h" #include <vector> #include "tensorflow/lite/async/c/async_kernel.h" #include "tensorflow/lite/async/c/types.h" namespace tflite { namespace delegates { namespace internal { TfLiteStatus RegisterBuffer(TfLiteAsyncKernel* async_kernel, ...
#include "tensorflow/lite/async/backend_async_kernel_interface.h" #include <gmock/gmock.h> #include <gtest/gtest.h> #include "tensorflow/lite/async/c/types.h" #include "tensorflow/lite/c/c_api_types.h" #include "tensorflow/lite/c/common.h" #include "tensorflow/lite/core/async/async_kernel_internal.h" #include "tensorfl...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/async/backend_async_kernel_interface.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/async/backend_async_kernel_interface_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
ee9ec021-ba6f-4611-b011-93d469b89593
cpp
tensorflow/tensorflow
tokenize
tensorflow/lite/testing/tokenize.cc
tensorflow/lite/testing/tokenize_test.cc
#include "tensorflow/lite/testing/tokenize.h" #include <istream> #include <string> #include "tensorflow/lite/string_type.h" namespace tflite { namespace testing { void Tokenize(std::istream* input, TokenProcessor* processor) { enum State { kBuildQuotedToken, kBuildToken, kIdle }; std::string current_token; State ...
#include "tensorflow/lite/testing/tokenize.h" #include <string> #include <gmock/gmock.h> #include <gtest/gtest.h> namespace tflite { namespace testing { namespace { using ::testing::ElementsAre; using ::testing::ElementsAreArray; class TokenCollector : public TokenProcessor { public: void ConsumeToken(std::string* t...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/testing/tokenize.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/testing/tokenize_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea