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
36f457be-4d7f-4734-a657-1bf3fcf01002
cpp
tensorflow/tensorflow
spectral_ops
tensorflow/core/ops/spectral_ops.cc
tensorflow/core/ops/spectral_ops_test.cc
#include "tensorflow/core/framework/common_shape_fns.h" #include "tensorflow/core/framework/numeric_op.h" #include "tensorflow/core/framework/op.h" #include "tensorflow/core/framework/shape_inference.h" namespace tensorflow { using shape_inference::DimensionHandle; using shape_inference::InferenceContext; using shape_i...
#include "tensorflow/core/framework/shape_inference_testutil.h" #include "tensorflow/core/framework/tensor.h" #include "tensorflow/core/framework/tensor_testutil.h" namespace tensorflow { TEST(MathOpsTest, FFT_ShapeFn) { for (const auto* op_name : {"FFT", "IFFT"}) { ShapeInferenceTestOp op(op_name); INFER_OK(...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/ops/spectral_ops.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/ops/spectral_ops_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
f4324f89-eb93-434c-987d-d0f5ebdbb8c2
cpp
tensorflow/tensorflow
data_flow_ops
tensorflow/core/ops/data_flow_ops.cc
tensorflow/core/ops/data_flow_ops_test.cc
#include "tensorflow/core/framework/common_shape_fns.h" #include "tensorflow/core/framework/op.h" #include "tensorflow/core/framework/op_def_builder.h" #include "tensorflow/core/framework/shape_inference.h" namespace tensorflow { using shape_inference::DimensionHandle; using shape_inference::InferenceContext; using sha...
#include "tensorflow/core/framework/node_def_builder.h" #include "tensorflow/core/framework/op.h" #include "tensorflow/core/framework/shape_inference_testutil.h" #include "tensorflow/core/framework/tensor.h" #include "tensorflow/core/framework/tensor_testutil.h" #include "tensorflow/core/lib/core/status_test_util.h" #i...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/ops/data_flow_ops.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/ops/data_flow_ops_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
9d01d5a6-3afb-4951-8c70-dc57dad14950
cpp
tensorflow/tensorflow
nn_grad
tensorflow/c/experimental/gradients/nn_grad.cc
tensorflow/c/experimental/gradients/nn_grad_test.cc
#include "tensorflow/c/experimental/gradients/nn_grad.h" #include "absl/types/span.h" #include "tensorflow/c/eager/abstract_tensor_handle.h" #include "tensorflow/c/eager/immediate_execution_context.h" #include "tensorflow/c/eager/immediate_execution_tensor_handle.h" #include "tensorflow/c/experimental/ops/array_ops.h" ...
#include "tensorflow/c/experimental/gradients/nn_grad.h" #include "tensorflow/c/eager/c_api_test_util.h" #include "tensorflow/c/eager/unified_api_testutil.h" #include "tensorflow/c/experimental/gradients/grad_test_helper.h" #include "tensorflow/c/experimental/gradients/tape/tape_context.h" #include "tensorflow/c/experi...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/c/experimental/gradients/nn_grad.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/c/experimental/gradients/nn_grad_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
f04a7bc0-66d1-4061-a1dd-c9111cff0a3a
cpp
tensorflow/tensorflow
tfprof_tensor
tensorflow/core/profiler/internal/tfprof_tensor.cc
tensorflow/core/profiler/internal/tfprof_tensor_test.cc
#include "tensorflow/core/profiler/internal/tfprof_tensor.h" #include <vector> #include "absl/strings/str_cat.h" #include "absl/strings/str_format.h" namespace tensorflow { namespace tfprof { void TFProfTensor::Display(string* formatted_str, TFProfTensorProto* tfprof_tensor_pb) { if (format...
#include <memory> #include <utility> #include "tensorflow/core/lib/io/path.h" #include "tensorflow/core/platform/protobuf.h" #include "tensorflow/core/platform/test.h" #include "tensorflow/core/profiler/internal/tfprof_stats.h" #include "tensorflow/core/profiler/internal/tfprof_utils.h" #include "tensorflow/core/profil...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/profiler/internal/tfprof_tensor.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/profiler/internal/tfprof_tensor_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
b0170513-7b26-44f8-8167-99ac87528589
cpp
tensorflow/tensorflow
tfprof_stats
tensorflow/core/profiler/internal/tfprof_stats.cc
tensorflow/core/profiler/internal/tfprof_stats_test.cc
#include "tensorflow/core/profiler/internal/tfprof_stats.h" #include <stdio.h> #include <map> #include <memory> #include <utility> #include <vector> #include "absl/strings/numbers.h" #include "absl/strings/str_format.h" #include "absl/strings/str_split.h" #include "tensorflow/core/platform/regexp.h" #include "tensorflo...
#include "tensorflow/core/profiler/internal/tfprof_stats.h" #include <memory> #include <utility> #include "tensorflow/core/lib/io/path.h" #include "tensorflow/core/platform/env.h" #include "tensorflow/core/platform/test.h" #include "tensorflow/core/profiler/internal/tfprof_constants.h" #include "tensorflow/core/profile...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/profiler/internal/tfprof_stats.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/profiler/internal/tfprof_stats_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
6cec5175-feab-4687-a71f-6b5f3cebf0c2
cpp
tensorflow/tensorflow
tfprof_timeline
tensorflow/core/profiler/internal/tfprof_timeline.cc
tensorflow/core/profiler/internal/tfprof_timeline_test.cc
#include "tensorflow/core/profiler/internal/tfprof_timeline.h" #include <algorithm> #include <map> #include <memory> #include <set> #include <string> #include <utility> #include <vector> #include "absl/strings/str_cat.h" #include "absl/strings/str_format.h" #include "tensorflow/core/lib/core/status.h" #include "tensorf...
#include <memory> #include <utility> #include "tensorflow/core/lib/hash/hash.h" #include "tensorflow/core/lib/io/path.h" #include "tensorflow/core/platform/env.h" #include "tensorflow/core/platform/test.h" #include "tensorflow/core/profiler/internal/tfprof_constants.h" #include "tensorflow/core/profiler/internal/tfprof...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/profiler/internal/tfprof_timeline.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/profiler/internal/tfprof_timeline_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
d5cba145-5a94-41c9-ab9e-482062e3c0d9
cpp
tensorflow/tensorflow
tfprof_show
tensorflow/core/profiler/internal/tfprof_show.cc
tensorflow/core/profiler/internal/tfprof_show_test.cc
#include "tensorflow/core/profiler/internal/tfprof_show.h" #include <memory> #include <set> #include <utility> #include <vector> #include "absl/strings/str_format.h" #include "absl/strings/str_join.h" #include "tensorflow/core/platform/env.h" #include "tensorflow/core/platform/regexp.h" namespace tensorflow { namespace...
#include <memory> #include <utility> #include "tensorflow/core/lib/io/path.h" #include "tensorflow/core/platform/env.h" #include "tensorflow/core/platform/test.h" #include "tensorflow/core/profiler/internal/tfprof_constants.h" #include "tensorflow/core/profiler/internal/tfprof_stats.h" #include "tensorflow/core/profile...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/profiler/internal/tfprof_show.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/profiler/internal/tfprof_show_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
67a22cb6-2ba5-40ca-af8d-032bd07077a4
cpp
tensorflow/tensorflow
hardware_type_utils
tensorflow/core/profiler/utils/hardware_type_utils.cc
tensorflow/core/profiler/utils/hardware_type_utils_test.cc
#include "tensorflow/core/profiler/utils/hardware_type_utils.h" #include <algorithm> #include "absl/container/btree_map.h" #include "absl/strings/match.h" #include "xla/tsl/profiler/utils/math_utils.h" #include "tensorflow/core/platform/logging.h" #include "tensorflow/core/platform/types.h" #include "tensorflow/core/pr...
#include "tensorflow/core/profiler/utils/hardware_type_utils.h" #include "xla/tsl/profiler/utils/math_utils.h" #include "tensorflow/core/platform/test.h" namespace tensorflow { namespace profiler { namespace { TEST(HardwareTypeUtilsTest, H100PeakComputTFlops) { DeviceCapabilities device_cap; device_cap.set_clock_ra...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/profiler/utils/hardware_type_utils.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/profiler/utils/hardware_type_utils_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
6dd790b3-9fd6-42c8-9057-21d992daec43
cpp
tensorflow/tensorflow
derived_timeline
tensorflow/core/profiler/utils/derived_timeline.cc
tensorflow/core/profiler/utils/derived_timeline_test.cc
#include "tensorflow/core/profiler/utils/derived_timeline.h" #include <algorithm> #include <cstdint> #include <optional> #include <string> #include <utility> #include <vector> #include "absl/container/flat_hash_map.h" #include "absl/strings/match.h" #include "absl/strings/str_cat.h" #include "absl/strings/string_view.h...
#include "tensorflow/core/profiler/utils/derived_timeline.h" #include <cstdint> #include <map> #include <optional> #include <gtest/gtest.h> #include "absl/strings/string_view.h" #include "xla/tsl/profiler/utils/group_events.h" #include "xla/tsl/profiler/utils/tf_xplane_visitor.h" #include "xla/tsl/profiler/utils/xplane...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/profiler/utils/derived_timeline.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/profiler/utils/derived_timeline_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
49a4e579-c145-4cc7-ada9-64353d57ef67
cpp
tensorflow/tensorflow
xprof_gpu_cost_analysis
tensorflow/core/profiler/utils/xprof_gpu_cost_analysis.cc
tensorflow/core/profiler/utils/xprof_gpu_cost_analysis_test.cc
#include "tensorflow/core/profiler/utils/xprof_gpu_cost_analysis.h" #include <algorithm> #include <cstdint> #include <memory> #include <vector> #include "absl/status/status.h" #include "xla/hlo/ir/hlo_instruction.h" #include "xla/primitive_util.h" #include "xla/service/gpu/model/gpu_hlo_cost_analysis.h" #include "xla/s...
#include "tensorflow/core/profiler/utils/xprof_gpu_cost_analysis.h" #include <cstdint> #include <gtest/gtest.h> #include "absl/strings/string_view.h" #include "xla/hlo/ir/hlo_computation.h" #include "xla/hlo/ir/hlo_instruction.h" #include "xla/service/hlo_cost_analysis.h" #include "xla/shape.h" #include "xla/shape_util...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/profiler/utils/xprof_gpu_cost_analysis.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/profiler/utils/xprof_gpu_cost_analysis_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
944a5e29-2e4e-4401-9e0f-8585788d40e5
cpp
tensorflow/tensorflow
kernel_stats_utils
tensorflow/core/profiler/utils/kernel_stats_utils.cc
tensorflow/core/profiler/utils/kernel_stats_utils_test.cc
#include "tensorflow/core/profiler/utils/kernel_stats_utils.h" #include <algorithm> #include <string> #include <tuple> #include <vector> #include "absl/algorithm/container.h" #include "absl/strings/match.h" #include "absl/strings/numbers.h" #include "absl/strings/str_split.h" #include "absl/strings/string_view.h" #incl...
#include "tensorflow/core/profiler/utils/kernel_stats_utils.h" #include <gmock/gmock.h> #include "xla/backends/profiler/gpu/cupti_collector.h" #include "tensorflow/core/platform/test.h" #include "tensorflow/core/profiler/protobuf/kernel_stats.pb.h" namespace tensorflow { namespace profiler { namespace { using ::testing...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/profiler/utils/kernel_stats_utils.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/profiler/utils/kernel_stats_utils_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
a9e152ae-637d-49e9-93dd-dd7bc78b2bd5
cpp
tensorflow/tensorflow
step_intersection
tensorflow/core/profiler/utils/step_intersection.cc
tensorflow/core/profiler/utils/step_intersection_test.cc
#include "tensorflow/core/profiler/utils/step_intersection.h" #include "xla/tsl/profiler/utils/timespan.h" #include "tensorflow/core/lib/gtl/map_util.h" #include "tensorflow/core/platform/logging.h" namespace tensorflow { namespace profiler { namespace { tsl::profiler::Timespan StepTimespan(const PerCoreStepInfo& perco...
#include "tensorflow/core/profiler/utils/step_intersection.h" #include "absl/container/flat_hash_map.h" #include "tensorflow/core/platform/test.h" namespace tensorflow { namespace profiler { namespace { using PerHostStepDb = absl::flat_hash_map<uint32 , StepDatabaseResult>; constexpr uint64 kStepDurationPs = 200000...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/profiler/utils/step_intersection.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/profiler/utils/step_intersection_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
e652fd5d-582c-4120-9c12-4a2f60eea061
cpp
tensorflow/tensorflow
op_metrics_db_utils
tensorflow/core/profiler/utils/op_metrics_db_utils.cc
tensorflow/core/profiler/utils/op_metrics_db_utils_test.cc
#include "tensorflow/core/profiler/utils/op_metrics_db_utils.h" #include <algorithm> #include <cstdint> #include <limits> #include <optional> #include <string> #include "absl/container/flat_hash_map.h" #include "absl/log/check.h" #include "absl/strings/string_view.h" #include "absl/types/optional.h" #include "xla/tsl/p...
#include "tensorflow/core/profiler/utils/op_metrics_db_utils.h" #include "tensorflow/core/platform/test.h" #include "tensorflow/core/profiler/protobuf/op_metrics.pb.h" namespace tensorflow { namespace profiler { namespace { constexpr double kMaxError = 1E-10; TEST(OpMetricsDbTest, IdleTimeRatio) { OpMetricsDb metrics...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/profiler/utils/op_metrics_db_utils.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/profiler/utils/op_metrics_db_utils_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
da8d2664-ab11-4fc3-b0f0-3d232f73b516
cpp
tensorflow/tensorflow
op_stats_to_pod_stats
tensorflow/core/profiler/convert/op_stats_to_pod_stats.cc
tensorflow/core/profiler/convert/op_stats_to_pod_stats_test.cc
#include "tensorflow/core/profiler/convert/op_stats_to_pod_stats.h" #include <algorithm> #include <utility> #include <vector> #include "google/protobuf/any.pb.h" #include "absl/strings/string_view.h" #include "tensorflow/core/lib/gtl/map_util.h" #include "tensorflow/core/platform/logging.h" #include "tensorflow/core/pr...
#include "tensorflow/core/profiler/convert/op_stats_to_pod_stats.h" #include "google/protobuf/any.pb.h" #include "absl/strings/str_cat.h" #include "absl/strings/string_view.h" #include "tensorflow/core/platform/test.h" #include "tensorflow/core/platform/types.h" #include "tensorflow/core/profiler/protobuf/diagnostics.p...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/profiler/convert/op_stats_to_pod_stats.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/profiler/convert/op_stats_to_pod_stats_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
26f2d42c-ee60-46c1-bd75-a32f45db3a9b
cpp
tensorflow/tensorflow
hlo_proto_to_graph_view
tensorflow/core/profiler/convert/hlo_proto_to_graph_view.cc
tensorflow/core/profiler/convert/hlo_proto_to_graph_view_test.cc
#include "tensorflow/core/profiler/convert/hlo_proto_to_graph_view.h" #include <functional> #include <memory> #include <optional> #include <string> #include <utility> #include <vector> #include "absl/container/flat_hash_set.h" #include "absl/log/log.h" #include "absl/status/status.h" #include "absl/status/statusor.h" #...
#include "tensorflow/core/profiler/convert/hlo_proto_to_graph_view.h" #include <string> #include <variant> #include "xla/service/hlo_graph_dumper.h" #include "tensorflow/core/platform/status_matchers.h" #include "tensorflow/core/platform/test.h" #include "tensorflow/core/profiler/convert/tool_options.h" #include "tenso...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/profiler/convert/hlo_proto_to_graph_view.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/profiler/convert/hlo_proto_to_graph_view_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
4318bf3e-f2f8-4868-a881-8c5e2a50ffeb
cpp
tensorflow/tensorflow
repository
tensorflow/core/profiler/convert/repository.cc
tensorflow/core/profiler/convert/repository_test.cc
#include "tensorflow/core/profiler/convert/repository.h" #include <cstdint> #include <memory> #include <optional> #include <string> #include <utility> #include <vector> #include "absl/status/status.h" #include "absl/strings/match.h" #include "absl/strings/str_cat.h" #include "absl/strings/string_view.h" #include "absl/...
#include "tensorflow/core/profiler/convert/repository.h" #include <memory> #include <optional> #include <utility> #include <vector> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "tensorflow/core/platform/errors.h" #include "tsl/profiler/protobuf/xplane.pb.h" namespace tensorflow { namespace profiler { name...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/profiler/convert/repository.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/profiler/convert/repository_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
c819c062-ecf7-46e5-a83c-b400d4ef4882
cpp
tensorflow/tensorflow
xplane_to_memory_profile
tensorflow/core/profiler/convert/xplane_to_memory_profile.cc
tensorflow/core/profiler/convert/xplane_to_memory_profile_test.cc
#include "tensorflow/core/profiler/convert/xplane_to_memory_profile.h" #include <algorithm> #include <string> #include <tuple> #include <type_traits> #include <utility> #include <vector> #include "absl/algorithm/container.h" #include "absl/container/flat_hash_map.h" #include "absl/container/flat_hash_set.h" #include "a...
#include "tensorflow/core/profiler/convert/xplane_to_memory_profile.h" #include "absl/strings/string_view.h" #include "xla/tsl/profiler/utils/group_events.h" #include "tensorflow/core/platform/test.h" #include "tensorflow/core/platform/types.h" #include "tensorflow/core/profiler/protobuf/memory_profile.pb.h" #include "...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/profiler/convert/xplane_to_memory_profile.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/profiler/convert/xplane_to_memory_profile_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
038207ec-d0ae-40ec-acc6-a8a7e593e33f
cpp
tensorflow/tensorflow
xplane_to_kernel_stats_db
tensorflow/core/profiler/convert/xplane_to_kernel_stats_db.cc
tensorflow/core/profiler/convert/xplane_to_kernel_stats_db_test.cc
#include "tensorflow/core/profiler/convert/xplane_to_kernel_stats_db.h" #include <functional> #include <ostream> #include <string> #include "absl/strings/string_view.h" #include "xla/tsl/profiler/utils/tf_op_utils.h" #include "xla/tsl/profiler/utils/tf_xplane_visitor.h" #include "tensorflow/core/platform/types.h" #incl...
#include "tensorflow/core/profiler/convert/xplane_to_kernel_stats_db.h" #include "absl/strings/string_view.h" #include "tensorflow/core/platform/test.h" #include "tensorflow/core/platform/types.h" #include "tensorflow/core/profiler/protobuf/kernel_stats.pb.h" #include "tensorflow/core/profiler/protobuf/xplane.pb.h" #in...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/profiler/convert/xplane_to_kernel_stats_db.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/profiler/convert/xplane_to_kernel_stats_db_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
cf68becf-c51f-4d43-90f6-818835c3a4aa
cpp
tensorflow/tensorflow
hlo_proto_to_memory_visualization_utils
tensorflow/core/profiler/convert/hlo_proto_to_memory_visualization_utils.cc
tensorflow/core/profiler/convert/hlo_proto_to_memory_visualization_utils_test.cc
#include "tensorflow/core/profiler/convert/hlo_proto_to_memory_visualization_utils.h" #include <algorithm> #include <cstddef> #include <cstdint> #include <iterator> #include <list> #include <memory> #include <optional> #include <string> #include <utility> #include <vector> #include "absl/container/flat_hash_map.h" #inc...
#include "tensorflow/core/profiler/convert/hlo_proto_to_memory_visualization_utils.h" #include <string> #include <gmock/gmock.h> #include "absl/strings/str_format.h" #include "xla/service/hlo.pb.h" #include "tensorflow/core/platform/test.h" #include "tensorflow/core/profiler/protobuf/memory_viewer_preprocess.pb.h" #inc...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/profiler/convert/hlo_proto_to_memory_visualization_utils.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/profiler/convert/hlo_proto_to_memory_visualization_utils_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
1624f2bd-0f8b-4ecc-937f-e20454f99463
cpp
tensorflow/tensorflow
xplane_to_op_metrics_db
tensorflow/core/profiler/convert/xplane_to_op_metrics_db.cc
tensorflow/core/profiler/convert/xplane_to_op_metrics_db_test.cc
#include "tensorflow/core/profiler/convert/xplane_to_op_metrics_db.h" #include <algorithm> #include <cstdint> #include <memory> #include <optional> #include <string> #include <utility> #include <vector> #include "absl/algorithm/container.h" #include "absl/container/flat_hash_map.h" #include "absl/strings/str_cat.h" #in...
#include "tensorflow/core/profiler/convert/xplane_to_op_metrics_db.h" #include <cstdint> #include <string> #include <utility> #include "absl/strings/str_cat.h" #include "absl/strings/string_view.h" #include "tensorflow/core/platform/test.h" #include "tensorflow/core/platform/types.h" #include "tensorflow/core/profiler/...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/profiler/convert/xplane_to_op_metrics_db.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/profiler/convert/xplane_to_op_metrics_db_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
404138cb-ac73-4e58-893c-69a8a5dcda55
cpp
tensorflow/tensorflow
dcn_utils
tensorflow/core/profiler/convert/dcn_utils.cc
tensorflow/core/profiler/convert/dcn_utils_test.cc
#include "tensorflow/core/profiler/convert/dcn_utils.h" #include "absl/strings/match.h" #include "absl/strings/string_view.h" #include "xla/tsl/profiler/utils/xplane_schema.h" #include "xla/tsl/profiler/utils/xplane_visitor.h" namespace tensorflow { namespace profiler { namespace { using tsl::profiler::MicroToNano; usi...
#include "tensorflow/core/profiler/convert/dcn_utils.h" #include <cstdint> #include <string> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "xla/tsl/profiler/utils/tf_xplane_visitor.h" #include "xla/tsl/profiler/utils/xplane_builder.h" #include "xla/tsl/profiler/utils/xplane_schema.h" namespace tensorflow {...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/profiler/convert/dcn_utils.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/profiler/convert/dcn_utils_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
96adaac4-6e20-4641-ba4a-c5b9cc5e9ff3
cpp
tensorflow/tensorflow
dcn_analysis
tensorflow/core/profiler/convert/dcn_analysis.cc
tensorflow/core/profiler/convert/dcn_analysis_test.cc
#include "tensorflow/core/profiler/convert/dcn_analysis.h" #include <algorithm> #include <functional> #include <memory> #include <string> #include <utility> #include <vector> #include "absl/strings/string_view.h" #include "xla/tsl/profiler/utils/math_utils.h" #include "xla/tsl/profiler/utils/tpu_xplane_utils.h" #includ...
#include "tensorflow/core/profiler/convert/dcn_analysis.h" #include <string> #include <vector> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "xla/tsl/profiler/utils/tf_xplane_visitor.h" #include "xla/tsl/profiler/utils/xplane_schema.h" #include "tensorflow/core/profiler/convert/dcn_utils.h" namespace tenso...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/profiler/convert/dcn_analysis.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/profiler/convert/dcn_analysis_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
732385c8-9ae6-42da-980c-ef56b8243f9a
cpp
tensorflow/tensorflow
xplane_to_op_stats
tensorflow/core/profiler/convert/xplane_to_op_stats.cc
tensorflow/core/profiler/convert/xplane_to_op_stats_test.cc
#include "tensorflow/core/profiler/convert/xplane_to_op_stats.h" #include <string> #include <vector> #include "absl/container/flat_hash_set.h" #include "absl/log/check.h" #include "absl/strings/match.h" #include "absl/strings/string_view.h" #include "xla/tsl/profiler/utils/math_utils.h" #include "xla/tsl/profiler/utils...
#include "tensorflow/core/profiler/convert/xplane_to_op_stats.h" #include <memory> #include <string> #include <utility> #include <vector> #include "xla/tsl/profiler/utils/group_events.h" #include "tensorflow/core/platform/test.h" #include "tensorflow/core/platform/types.h" #include "tensorflow/core/profiler/convert/mul...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/profiler/convert/xplane_to_op_stats.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/profiler/convert/xplane_to_op_stats_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
6f511ca0-49b7-4aac-b89e-b29692c7d1e9
cpp
tensorflow/tensorflow
xplane_to_tf_functions
tensorflow/core/profiler/convert/xplane_to_tf_functions.cc
tensorflow/core/profiler/convert/xplane_to_tf_functions_test.cc
#include "tensorflow/core/profiler/convert/xplane_to_tf_functions.h" #include <algorithm> #include <ostream> #include <stack> #include <string> #include <utility> #include <vector> #include "absl/algorithm/container.h" #include "absl/strings/str_cat.h" #include "absl/strings/string_view.h" #include "absl/types/optional...
#include "tensorflow/core/profiler/convert/xplane_to_tf_functions.h" #include <string> #include "absl/strings/string_view.h" #include "xla/tsl/profiler/utils/tf_xplane_visitor.h" #include "tensorflow/core/platform/test.h" #include "tensorflow/core/profiler/protobuf/tf_function.pb.h" #include "tensorflow/core/profiler/p...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/profiler/convert/xplane_to_tf_functions.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/profiler/convert/xplane_to_tf_functions_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
32138b08-241d-42a6-8f88-50a041a5c0d0
cpp
tensorflow/tensorflow
xplane_to_tf_data_stats
tensorflow/core/profiler/convert/xplane_to_tf_data_stats.cc
tensorflow/core/profiler/convert/xplane_to_tf_data_stats_test.cc
#include "tensorflow/core/profiler/convert/xplane_to_tf_data_stats.h" #include <algorithm> #include <optional> #include <string> #include <vector> #include "absl/container/flat_hash_map.h" #include "absl/container/flat_hash_set.h" #include "absl/strings/str_format.h" #include "absl/strings/str_split.h" #include "absl/s...
#include "tensorflow/core/profiler/convert/xplane_to_tf_data_stats.h" #include "tensorflow/core/platform/test.h" #include "tensorflow/core/profiler/protobuf/tf_data_stats.pb.h" #include "tensorflow/core/profiler/protobuf/xplane.pb.h" #include "tensorflow/core/profiler/utils/xplane_builder.h" #include "tensorflow/core/p...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/profiler/convert/xplane_to_tf_data_stats.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/profiler/convert/xplane_to_tf_data_stats_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
00b7dd90-cd98-4777-86c0-fa8ab725430b
cpp
tensorflow/tensorflow
xplane_to_step_events
tensorflow/core/profiler/convert/xplane_to_step_events.cc
tensorflow/core/profiler/convert/xplane_to_step_events_test.cc
#include "tensorflow/core/profiler/convert/xplane_to_step_events.h" #include <cstdint> #include <optional> #include <string> #include <vector> #include "absl/container/flat_hash_map.h" #include "absl/strings/match.h" #include "absl/strings/str_split.h" #include "absl/strings/string_view.h" #include "absl/types/optional...
#include "tensorflow/core/profiler/convert/xplane_to_step_events.h" #include <vector> #include "absl/container/flat_hash_map.h" #include "xla/tsl/profiler/utils/group_events.h" #include "tensorflow/core/platform/test.h" #include "tensorflow/core/platform/types.h" #include "tensorflow/core/profiler/protobuf/xplane.pb.h"...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/profiler/convert/xplane_to_step_events.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/profiler/convert/xplane_to_step_events_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
10c3c9a1-2e41-4864-a9be-cd9d7a285c38
cpp
tensorflow/tensorflow
xplane_to_tool_names
tensorflow/core/profiler/convert/xplane_to_tool_names.cc
tensorflow/core/profiler/convert/xplane_to_tool_names_test.cc
#include "tensorflow/core/profiler/convert/xplane_to_tool_names.h" #include <memory> #include <string> #include <vector> #include "absl/strings/str_join.h" #include "tensorflow/core/platform/statusor.h" #include "tensorflow/core/profiler/convert/repository.h" #include "tensorflow/core/profiler/convert/xplane_to_dcn_col...
#include "tensorflow/core/profiler/convert/xplane_to_tool_names.h" #include <memory> #include <string> #include <string_view> #include <utility> #include <vector> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "absl/strings/str_cat.h" #include "absl/strings/str_split.h" #include "tensorflow/core/platform/en...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/profiler/convert/xplane_to_tool_names.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/profiler/convert/xplane_to_tool_names_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
c60900b9-5117-4a35-921c-e7e73ded1358
cpp
tensorflow/tensorflow
xplane_to_dcn_collective_stats
tensorflow/core/profiler/convert/xplane_to_dcn_collective_stats.cc
tensorflow/core/profiler/convert/xplane_to_dcn_collective_stats_test.cc
#include "tensorflow/core/profiler/convert/xplane_to_dcn_collective_stats.h" #include <memory> #include <string> #include <utility> #include "absl/strings/match.h" #include "tensorflow/core/platform/statusor.h" #include "tensorflow/core/profiler/convert/dcn_slack_analysis_combiner.h" #include "tensorflow/core/profiler/...
#include "tensorflow/core/profiler/convert/xplane_to_dcn_collective_stats.h" #include <memory> #include <optional> #include <string> #include <utility> #include <vector> #include <gtest/gtest.h> #include "absl/strings/str_cat.h" #include "absl/strings/string_view.h" #include "xla/tsl/lib/core/status_test_util.h" #inclu...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/profiler/convert/xplane_to_dcn_collective_stats.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/profiler/convert/xplane_to_dcn_collective_stats_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
429e12ca-dd05-4f23-8bf5-04fa9872c11b
cpp
tensorflow/tensorflow
op_stats_combiner
tensorflow/core/profiler/convert/op_stats_combiner.cc
tensorflow/core/profiler/convert/op_stats_combiner_test.cc
#include "tensorflow/core/profiler/convert/op_stats_combiner.h" #include <algorithm> #include <cstddef> #include <vector> #include "absl/container/flat_hash_map.h" #include "tensorflow/core/profiler/convert/op_metrics_db_combiner.h" #include "tensorflow/core/profiler/convert/xplane_to_tf_functions.h" #include "tensorfl...
#include "tensorflow/core/profiler/convert/op_stats_combiner.h" #include <vector> #include "absl/container/flat_hash_map.h" #include "tensorflow/core/platform/test.h" #include "tensorflow/core/platform/types.h" #include "tensorflow/core/profiler/protobuf/hardware_types.pb.h" #include "tensorflow/core/profiler/protobuf/...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/profiler/convert/op_stats_combiner.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/profiler/convert/op_stats_combiner_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
fc1c3508-aaa8-4b66-b170-3982278d9920
cpp
tensorflow/tensorflow
op_stats_to_tf_stats
tensorflow/core/profiler/convert/op_stats_to_tf_stats.cc
tensorflow/core/profiler/convert/op_stats_to_tf_stats_test.cc
#include "tensorflow/core/profiler/convert/op_stats_to_tf_stats.h" #include "tensorflow/core/platform/types.h" #include "tensorflow/core/profiler/convert/op_metrics_to_record.h" #include "tensorflow/core/profiler/protobuf/op_metrics.pb.h" #include "tensorflow/core/profiler/protobuf/op_stats.pb.h" #include "tensorflow/c...
#include "tensorflow/core/profiler/convert/op_stats_to_tf_stats.h" #include <string> #include <utility> #include "absl/strings/str_cat.h" #include "absl/strings/string_view.h" #include "tensorflow/core/platform/test.h" #include "tensorflow/core/platform/types.h" #include "tensorflow/core/profiler/convert/xplane_to_op_s...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/profiler/convert/op_stats_to_tf_stats.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/profiler/convert/op_stats_to_tf_stats_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
6e6903fa-08d5-4c96-8b91-e495d0ae1ec7
cpp
tensorflow/tensorflow
op_stats_to_pod_viewer
tensorflow/core/profiler/convert/op_stats_to_pod_viewer.cc
tensorflow/core/profiler/convert/op_stats_to_pod_viewer_test.cc
#include "tensorflow/core/profiler/convert/op_stats_to_pod_viewer.h" #include <utility> #include "tensorflow/core/platform/logging.h" #include "tensorflow/core/profiler/convert/op_stats_to_pod_stats.h" #include "tensorflow/core/profiler/protobuf/pod_stats.pb.h" #include "tensorflow/core/profiler/protobuf/steps_db.pb.h"...
#include "tensorflow/core/profiler/convert/op_stats_to_pod_viewer.h" #include "google/protobuf/any.pb.h" #include "absl/strings/str_cat.h" #include "absl/strings/string_view.h" #include "tensorflow/core/platform/test.h" #include "tensorflow/core/platform/types.h" #include "tensorflow/core/profiler/protobuf/diagnostics....
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/profiler/convert/op_stats_to_pod_viewer.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/profiler/convert/op_stats_to_pod_viewer_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
3fd2b1bc-61fe-4b2b-8e06-c2efe6bb07af
cpp
tensorflow/tensorflow
trace_viewer_visibility
tensorflow/core/profiler/convert/trace_viewer/trace_viewer_visibility.cc
tensorflow/core/profiler/convert/trace_viewer/trace_viewer_visibility_test.cc
#include "tensorflow/core/profiler/convert/trace_viewer/trace_viewer_visibility.h" #include <cstdint> #include "absl/log/check.h" #include "xla/tsl/profiler/utils/timespan.h" #include "tensorflow/core/profiler/protobuf/trace_events.pb.h" namespace tensorflow { namespace profiler { TraceViewerVisibility::TraceViewerVisi...
#include "tensorflow/core/profiler/convert/trace_viewer/trace_viewer_visibility.h" #include <cstdint> #include "xla/tsl/profiler/utils/timespan.h" #include "tensorflow/core/platform/test.h" #include "tensorflow/core/profiler/protobuf/trace_events.pb.h" namespace tensorflow { namespace profiler { namespace { using tsl::...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/profiler/convert/trace_viewer/trace_viewer_visibility.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/profiler/convert/trace_viewer/trace_viewer_visibility_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
30f62b59-33de-4ae1-862a-1be8642281f9
cpp
tensorflow/tensorflow
tpu_embedding_errors
tensorflow/core/tpu/tpu_embedding_errors.cc
tensorflow/core/tpu/tpu_embedding_errors_test.cc
#include "tensorflow/core/tpu/tpu_embedding_errors.h" #include <string> #include "absl/strings/cord.h" #include "absl/strings/match.h" #include "absl/strings/str_cat.h" #include "tensorflow/core/platform/status.h" #include "tensorflow/core/protobuf/tpu/tpu_embedding_configuration.pb.h" namespace tensorflow::tpu { Statu...
#include "tensorflow/core/tpu/tpu_embedding_errors.h" #include <string> #include <gtest/gtest.h> #include "absl/status/status.h" #include "absl/status/statusor.h" #include "absl/strings/string_view.h" #include "xla/tsl/lib/core/status_test_util.h" #include "tensorflow/core/platform/errors.h" #include "tsl/platform/stat...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/tpu/tpu_embedding_errors.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/tpu/tpu_embedding_errors_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
af90d2c7-6e27-4c92-88ac-00e9bdbb24f6
cpp
tensorflow/tensorflow
tpu_embedding_configuration_proto_rewrite
tensorflow/core/tpu/tpu_embedding_configuration_proto_rewrite.cc
tensorflow/core/tpu/tpu_embedding_configuration_proto_rewrite_test.cc
#include "tensorflow/core/tpu/tpu_embedding_configuration_proto_rewrite.h" #include <cstdint> #include <functional> #include <vector> #include "absl/algorithm/container.h" #include "absl/status/status.h" #include "absl/strings/str_format.h" #include "absl/types/span.h" #include "tensorflow/core/lib/math/math_util.h" #i...
#include "tensorflow/core/tpu/tpu_embedding_configuration_proto_rewrite.h" #include <string> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "absl/status/status.h" #include "absl/strings/string_view.h" #include "xla/tsl/lib/core/status_test_util.h" #include "tensorflow/core/platform/errors.h" #include "tenso...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/tpu/tpu_embedding_configuration_proto_rewrite.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/tpu/tpu_embedding_configuration_proto_rewrite_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
e436db0a-f077-4f69-8a2a-f6758b0a0ae3
cpp
tensorflow/tensorflow
sharding_util_ops
tensorflow/compiler/tf2xla/kernels/sharding_util_ops.cc
tensorflow/core/tpu/kernels/sharding_util_ops_test.cc
#include <vector> #include "absl/log/check.h" #include "absl/status/status.h" #include "absl/status/statusor.h" #include "absl/strings/string_view.h" #include "absl/types/span.h" #include "tensorflow/compiler/tf2xla/type_util.h" #include "tensorflow/compiler/tf2xla/xla_op_kernel.h" #include "tensorflow/compiler/tf2xla/...
#include <cstdint> #include <functional> #include <memory> #include <numeric> #include <string> #include <vector> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "absl/strings/match.h" #include "absl/strings/str_cat.h" #include "absl/types/span.h" #include "xla/tsl/lib/core/status_test_util.h" #include "tens...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/compiler/tf2xla/kernels/sharding_util_ops.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/tpu/kernels/sharding_util_ops_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
fe09ef8b-81a3-4fba-97de-713f5e1c309e
cpp
tensorflow/tensorflow
sparse_core_ops_utils
tensorflow/core/tpu/kernels/sparse_core_ops_utils.cc
tensorflow/core/tpu/kernels/sparse_core_ops_utils_test.cc
#include "tensorflow/core/tpu/kernels/sparse_core_ops_utils.h" #include <algorithm> #include <cmath> #include <cstdint> #include <functional> #include <string> #include <tuple> #include <vector> #include "absl/algorithm/container.h" #include "absl/base/attributes.h" #include "absl/container/flat_hash_map.h" #include "a...
#include "tensorflow/core/tpu/kernels/sparse_core_ops_utils.h" #include <vector> #include <gtest/gtest.h> #include "tensorflow/core/platform/types.h" namespace tensorflow { namespace { TEST(ConvertSplitsAndBackTest, Split0) { const int max_division_level = 6; int64 original_split = 0; std::vector<int> actual_buck...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/tpu/kernels/sparse_core_ops_utils.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/tpu/kernels/sparse_core_ops_utils_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
5b8f066c-2a97-4e81-9265-a2cf2cc649cd
cpp
tensorflow/tensorflow
sparse_core_layout
tensorflow/core/tpu/kernels/sparse_core_layout.cc
tensorflow/core/tpu/kernels/sparse_core_layout_test.cc
#include "tensorflow/core/tpu/kernels/sparse_core_layout.h" #include <cstdint> #include <string> #include <utility> #include <vector> #include "absl/base/attributes.h" #include "absl/log/log.h" #include "absl/status/status.h" #include "absl/status/statusor.h" #include "absl/strings/str_cat.h" #include "absl/strings/sub...
#include "tensorflow/core/tpu/kernels/sparse_core_layout.h" #include <gmock/gmock.h> #include <gtest/gtest.h> #include "tensorflow/core/tpu/kernels/sparse_core_layout.pb.h" namespace tensorflow { namespace tpu { namespace { using ::testing::EqualsProto; using ::testing::proto::Partially; using ::testing::status::IsOkAn...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/tpu/kernels/sparse_core_layout.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/tpu/kernels/sparse_core_layout_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
b171af87-ba8d-4846-b355-b1c99330705c
cpp
tensorflow/tensorflow
encapsulate_tpu_computations_pass
tensorflow/core/tpu/graph_rewrite/encapsulate_tpu_computations_pass.cc
tensorflow/core/tpu/graph_rewrite/encapsulate_tpu_computations_pass_test.cc
#include "tensorflow/core/tpu/graph_rewrite/encapsulate_tpu_computations_pass.h" #include <algorithm> #include <cstdint> #include <map> #include <memory> #include <optional> #include <queue> #include <set> #include <string> #include <tuple> #include <unordered_map> #include <unordered_set> #include <utility> #include <...
#include "tensorflow/core/tpu/graph_rewrite/encapsulate_tpu_computations_pass.h" #include <memory> #include "xla/tsl/lib/core/status_test_util.h" #include "tensorflow/core/common_runtime/optimization_registry.h" #include "tensorflow/core/config/flag_defs.h" #include "tensorflow/core/framework/op.h" #include "tensorflow...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/tpu/graph_rewrite/encapsulate_tpu_computations_pass.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/tpu/graph_rewrite/encapsulate_tpu_computations_pass_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
054d4ec8-7d02-492e-9705-84fd9efd0b3a
cpp
tensorflow/tensorflow
serialization_utils
tensorflow/core/data/serialization_utils.cc
tensorflow/core/data/serialization_utils_test.cc
#include "tensorflow/core/data/serialization_utils.h" #include <cstdint> #include <map> #include <memory> #include <string> #include <utility> #include <vector> #include "absl/container/flat_hash_set.h" #include "tensorflow/core/common_runtime/graph_constructor.h" #include "tensorflow/core/common_runtime/graph_runner.h...
#include "tensorflow/core/data/serialization_utils.h" #include <cstdint> #include <functional> #include <memory> #include <string> #include <utility> #include <vector> #include "absl/container/flat_hash_set.h" #include "tensorflow/core/common_runtime/device_factory.h" #include "tensorflow/core/data/dataset_test_base.h"...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/data/serialization_utils.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/data/serialization_utils_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
3867fb7c-4631-4b9d-84a9-d1c6629febeb
cpp
tensorflow/tensorflow
rewrite_utils
tensorflow/core/data/rewrite_utils.cc
tensorflow/core/data/rewrite_utils_test.cc
#include "tensorflow/core/data/rewrite_utils.h" #include "tensorflow/core/platform/refcount.h" #if !defined(IS_MOBILE_PLATFORM) #include <algorithm> #include <functional> #include <map> #include <memory> #include <string> #include <unordered_map> #include <utility> #include <vector> #include "absl/container/flat_hash_s...
#include "tensorflow/core/data/rewrite_utils.h" #include <memory> #include <string> #include <vector> #include "absl/strings/string_view.h" #include "tensorflow/core/framework/function.h" #include "tensorflow/core/framework/function.pb.h" #include "tensorflow/core/framework/function_testlib.h" #include "tensorflow/core...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/data/rewrite_utils.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/data/rewrite_utils_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
16f36227-4093-4bab-99de-c06d8b586284
cpp
tensorflow/tensorflow
compression_utils
tensorflow/core/data/compression_utils.cc
tensorflow/core/data/compression_utils_test.cc
#include "tensorflow/core/data/compression_utils.h" #include <limits> #include <string> #include <vector> #include "tensorflow/core/common_runtime/dma_helper.h" #include "tensorflow/core/framework/tensor.pb.h" #include "tensorflow/core/framework/types.pb.h" #include "tensorflow/core/framework/variant_op_registry.h" #in...
#include "tensorflow/core/data/compression_utils.h" #include <string> #include <vector> #include "tensorflow/core/data/dataset_test_base.h" #include "tensorflow/core/framework/tensor_testutil.h" #include "tensorflow/core/platform/test.h" #include "tensorflow/core/protobuf/error_codes.pb.h" #include "tsl/platform/status...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/data/compression_utils.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/data/compression_utils_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
ce3f8a43-50fd-4413-8f1e-68a60566350c
cpp
tensorflow/tensorflow
name_utils
tensorflow/compiler/mlir/utils/name_utils.cc
tensorflow/core/data/name_utils_test.cc
#include "tensorflow/compiler/mlir/utils/name_utils.h" #include <cctype> #include <string> #include "llvm/ADT/STLExtras.h" #include "llvm/ADT/SmallVector.h" #include "llvm/ADT/StringExtras.h" #include "mlir/IR/BuiltinAttributes.h" #include "mlir/IR/Location.h" #include "mlir/Support/LLVM.h" namespace mlir { names...
#include "tensorflow/core/data/name_utils.h" #include "tensorflow/core/platform/test.h" namespace tensorflow { namespace data { namespace { TEST(DeviceNameUtils, ArgsToString) { EXPECT_EQ(name_utils::ArgsToString({}), ""); EXPECT_EQ(name_utils::ArgsToString({"a"}), "(a)"); EXPECT_EQ(name_utils::ArgsToString({"1",...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/compiler/mlir/utils/name_utils.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/data/name_utils_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
c035c168-6335-49bb-a102-f0b941fe3711
cpp
tensorflow/tensorflow
hash_utils
tensorflow/core/data/hash_utils.cc
tensorflow/core/data/hash_utils_test.cc
#include "tensorflow/core/data/hash_utils.h" #include <array> #include <memory> #include <queue> #include <string> #include <utility> #include <vector> #include "absl/container/flat_hash_map.h" #include "absl/container/flat_hash_set.h" #include "absl/strings/str_cat.h" #include "absl/strings/str_join.h" #include "tenso...
#include "tensorflow/core/data/hash_utils.h" #include <utility> #include <vector> #include "tensorflow/core/framework/function.h" #include "tensorflow/core/framework/function.pb.h" #include "tensorflow/core/framework/node_def_builder.h" #include "tensorflow/core/framework/op.h" #include "tensorflow/core/framework/types...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/data/hash_utils.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/data/hash_utils_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
16d598a3-12f1-4153-9343-8f010008dc25
cpp
tensorflow/tensorflow
metric_utils
tensorflow/core/data/metric_utils.cc
tensorflow/core/data/metric_utils_test.cc
#include "tensorflow/core/data/metric_utils.h" #include <algorithm> #include <cstdint> #include <string> #include <vector> #include "absl/time/time.h" #include "tensorflow/core/data/utils.h" #include "tensorflow/core/framework/dataset.h" #include "tensorflow/core/framework/metrics.h" #include "tensorflow/core/framework...
#include "tensorflow/core/data/metric_utils.h" #include <cstdint> #include "absl/memory/memory.h" #include "absl/time/clock.h" #include "absl/time/time.h" #include "tensorflow/core/framework/types.h" #include "tensorflow/core/lib/monitoring/cell_reader.h" #include "tensorflow/core/lib/monitoring/test_utils.h" #include ...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/data/metric_utils.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/data/metric_utils_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
2700df4d-b4a5-4d9a-94cd-6f37b3920e1d
cpp
tensorflow/tensorflow
dataset_utils
tensorflow/core/data/dataset_utils.cc
tensorflow/core/data/dataset_utils_test.cc
#include "tensorflow/core/data/dataset_utils.h" #include <algorithm> #include <array> #include <cstdint> #include <cstdlib> #include <functional> #include <memory> #include <queue> #include <random> #include <string> #include <utility> #include <vector> #include "absl/container/flat_hash_map.h" #include "absl/container...
#include "tensorflow/core/data/dataset_utils.h" #include <functional> #include <memory> #include <string> #include <vector> #include "absl/container/flat_hash_set.h" #include "xla/tsl/util/determinism_test_util.h" #include "tensorflow/core/data/compression_utils.h" #include "tensorflow/core/data/dataset_test_base.h" #i...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/data/dataset_utils.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/data/dataset_utils_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
fcc9cb62-4002-4ced-aa88-1c3431b4b183
cpp
tensorflow/tensorflow
unbounded_thread_pool
tensorflow/core/data/unbounded_thread_pool.cc
tensorflow/core/data/unbounded_thread_pool_test.cc
#include "tensorflow/core/data/unbounded_thread_pool.h" #include <functional> #include <memory> #include <utility> #include "absl/memory/memory.h" #include "tensorflow/core/framework/dataset.h" #include "tensorflow/core/lib/core/notification.h" #include "tensorflow/core/platform/env.h" #include "tensorflow/core/platfor...
#include "tensorflow/core/data/unbounded_thread_pool.h" #include <atomic> #include <memory> #include <vector> #include "tensorflow/core/lib/random/random.h" #include "tensorflow/core/platform/blocking_counter.h" #include "tensorflow/core/platform/test.h" namespace tensorflow { namespace data { namespace { TEST(Unbounde...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/data/unbounded_thread_pool.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/data/unbounded_thread_pool_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
37abeb31-83e0-4027-b89c-e603f6e35271
cpp
tensorflow/tensorflow
standalone
tensorflow/core/data/standalone.cc
tensorflow/core/data/standalone_test.cc
#include "tensorflow/core/data/standalone.h" #include <algorithm> #include <functional> #include <iterator> #include <memory> #include <optional> #include <string> #include <utility> #include <vector> #include "absl/memory/memory.h" #include "tensorflow/core/common_runtime/device_mgr.h" #include "tensorflow/core/common...
#include "tensorflow/core/data/standalone.h" #include <memory> #include <optional> #include <vector> #include "xla/tsl/lib/core/status_test_util.h" #include "tensorflow/core/framework/graph.pb.h" #include "tensorflow/core/lib/core/status_test_util.h" #include "tensorflow/core/platform/test.h" namespace tensorflow { nam...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/data/standalone.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/data/standalone_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
ba3ccac4-9de1-481a-a94c-43c91831dbcf
cpp
tensorflow/tensorflow
tfdataz_metrics
tensorflow/core/data/tfdataz_metrics.cc
tensorflow/core/data/tfdataz_metrics_test.cc
#include "tensorflow/core/data/tfdataz_metrics.h" #include <algorithm> #include <cstdint> #include <memory> #include <optional> #include <string> #include <utility> #include "absl/container/flat_hash_set.h" #include "absl/time/time.h" #include "tensorflow/core/framework/dataset.h" #include "tensorflow/core/framework/mo...
#include "tensorflow/core/data/tfdataz_metrics.h" #include <memory> #include <utility> #include "absl/time/time.h" #include "tensorflow/core/framework/dataset.h" #include "tensorflow/core/platform/env.h" #include "tensorflow/core/platform/test.h" #include "tensorflow/core/util/fake_clock_env.h" namespace tensorflow { n...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/data/tfdataz_metrics.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/data/tfdataz_metrics_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
61925c0b-7afa-459a-b403-0769cea80bda
cpp
tensorflow/tensorflow
snapshot_utils
tensorflow/core/data/snapshot_utils.cc
tensorflow/core/data/snapshot_utils_test.cc
#include "tensorflow/core/data/snapshot_utils.h" #include <algorithm> #include <climits> #include <functional> #include <memory> #include <optional> #include <string> #include <utility> #include <vector> #include "absl/memory/memory.h" #include "absl/status/status.h" #include "absl/strings/str_cat.h" #include "xla/tsl/...
#include "tensorflow/core/data/snapshot_utils.h" #include <memory> #include <string> #include <vector> #include "tensorflow/core/data/service/test_util.h" #include "tensorflow/core/framework/tensor.pb.h" #include "tensorflow/core/lib/core/status_test_util.h" #include "tensorflow/core/lib/io/compression.h" #include "ten...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/data/snapshot_utils.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/data/snapshot_utils_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
3207d09c-b623-41ab-a161-44bb10022704
cpp
tensorflow/tensorflow
dispatcher_state
tensorflow/core/data/service/dispatcher_state.cc
tensorflow/core/data/service/dispatcher_state_test.cc
#include "tensorflow/core/data/service/dispatcher_state.h" #include <algorithm> #include <memory> #include <optional> #include <string> #include <vector> #include "absl/container/flat_hash_map.h" #include "absl/strings/str_cat.h" #include "absl/strings/string_view.h" #include "tensorflow/core/data/service/common.h" #in...
#include "tensorflow/core/data/service/dispatcher_state.h" #include <cstdint> #include <memory> #include <string> #include <vector> #include "absl/strings/numbers.h" #include "absl/strings/str_cat.h" #include "xla/tsl/lib/core/status_test_util.h" #include "tensorflow/core/data/service/common.pb.h" #include "tensorflow/...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/data/service/dispatcher_state.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/data/service/dispatcher_state_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
476923f3-b0e5-4116-ab25-59dc056d648d
cpp
tensorflow/tensorflow
grpc_dispatcher_impl
tensorflow/core/data/service/grpc_dispatcher_impl.cc
tensorflow/core/data/service/grpc_dispatcher_impl_test.cc
#include "tensorflow/core/data/service/grpc_dispatcher_impl.h" #include "grpcpp/server_context.h" #include "tensorflow/core/data/service/export.pb.h" #include "tensorflow/core/distributed_runtime/rpc/grpc_util.h" #include "tensorflow/core/protobuf/service_config.pb.h" namespace tensorflow { namespace data { using ::grp...
#include "tensorflow/core/data/service/grpc_dispatcher_impl.h" #include <limits> #include <memory> #include <string> #include <utility> #include "grpcpp/channel.h" #include "grpcpp/client_context.h" #include "grpcpp/create_channel.h" #include "grpcpp/security/credentials.h" #include "grpcpp/support/channel_arguments.h"...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/data/service/grpc_dispatcher_impl.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/data/service/grpc_dispatcher_impl_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
785e640c-83bd-4859-b375-a19a3da0f900
cpp
tensorflow/tensorflow
dataset_store
tensorflow/core/data/service/dataset_store.cc
tensorflow/core/data/service/dataset_store_test.cc
#include "tensorflow/core/data/service/dataset_store.h" #include <memory> #include <string> #include "absl/memory/memory.h" #include "tensorflow/core/data/service/common.pb.h" #include "tensorflow/core/data/service/utils.h" #include "tensorflow/core/lib/io/record_reader.h" #include "tensorflow/core/lib/io/record_writer...
#include "tensorflow/core/data/service/dataset_store.h" #include <memory> #include <string> #include <vector> #include "absl/memory/memory.h" #include "tensorflow/core/data/service/common.pb.h" #include "tensorflow/core/framework/graph.pb.h" #include "tensorflow/core/lib/core/status_test_util.h" #include "tensorflow/co...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/data/service/dataset_store.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/data/service/dataset_store_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
1ce618e4-f93e-4209-bb33-5fcea4ce081e
cpp
tensorflow/tensorflow
worker_client
tensorflow/core/data/service/worker_client.cc
tensorflow/core/data/service/worker_client_test.cc
#include "tensorflow/core/data/service/worker_client.h" #include <cstdint> #include <functional> #include <memory> #include <string> #include <utility> #include <vector> #include "grpcpp/client_context.h" #include "grpcpp/create_channel.h" #include "grpcpp/security/credentials.h" #include "grpcpp/support/channel_argume...
#include "tensorflow/core/data/service/worker_client.h" #include <memory> #include <optional> #include <string> #include <utility> #include "absl/memory/memory.h" #include "absl/status/status.h" #include "absl/strings/substitute.h" #include "absl/types/optional.h" #include "tensorflow/core/data/service/common.h" #inclu...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/data/service/worker_client.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/data/service/worker_client_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
11c70d79-3753-4076-a1b8-1c481f3ba170
cpp
tensorflow/tensorflow
common
tensorflow/compiler/mlir/lite/kernels/internal/common.cc
tensorflow/lite/core/c/common_test.cc
#include "tensorflow/compiler/mlir/lite/kernels/internal/common.h" namespace tflite_migration { #if TFLITE_SINGLE_ROUNDING int32_t MultiplyByQuantizedMultiplier(int32_t x, int32_t quantized_multiplier, int shift) { TFLITE_DCHECK(quantized_multiplier >= 0); TFLITE_DCHECK(shift >...
#include "tensorflow/lite/core/c/common.h" #include <cstddef> #include <cstdlib> #include <limits> #include <memory> #include <string> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "tensorflow/lite/core/c/c_api_types.h" #include "tensorflow/lite/util.h" namespace tflite { using ::testing::ElementsAreArray;...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/compiler/mlir/lite/kernels/internal/common.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/core/c/common_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
33f82346-9f4f-407e-9852-6d1bd1bf3883
cpp
tensorflow/tensorflow
url
tensorflow/core/data/service/url.cc
tensorflow/core/data/service/url_test.cc
#include "tensorflow/core/data/service/url.h" #include <string> #include "absl/strings/string_view.h" #include "tensorflow/core/platform/regexp.h" namespace tensorflow { namespace data { URL::URL(absl::string_view url) { Parse(url); } void URL::Parse(absl::string_view url) { absl::string_view regexp = "(.*):([a-zA-Z0...
#include "tensorflow/core/data/service/url.h" #include "tensorflow/core/platform/test.h" namespace tensorflow { namespace data { namespace { TEST(URLTest, ParseUrl) { URL url("localhost"); EXPECT_EQ(url.host(), "localhost"); EXPECT_FALSE(url.has_port()); } TEST(URLTest, ParseUrlWithProtocol) { URL url("http: ...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/data/service/url.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/data/service/url_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
d202f695-4abf-4358-aa4f-6952eaf62e6d
cpp
tensorflow/tensorflow
validate_utils
tensorflow/core/data/service/client/validate_utils.cc
tensorflow/core/data/service/client/validate_utils_test.cc
#include "tensorflow/core/data/service/client/validate_utils.h" #include "tensorflow/core/data/service/client/common.h" #include "tensorflow/core/data/service/common.h" #include "tensorflow/core/data/service/common.pb.h" #include "tensorflow/core/data/service/worker_impl.h" #include "tensorflow/core/framework/dataset.h...
#include "tensorflow/core/data/service/client/validate_utils.h" #include <memory> #include "tensorflow/core/data/service/client/common.h" #include "tensorflow/core/data/service/common.pb.h" #include "tensorflow/core/data/service/worker_impl.h" #include "tensorflow/core/framework/dataset.h" #include "tensorflow/core/lib...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/data/service/client/validate_utils.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/data/service/client/validate_utils_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
7992b87a-34e9-459f-b578-130df373c9f1
cpp
tensorflow/tensorflow
split_provider
tensorflow/core/data/service/split_provider.cc
tensorflow/core/data/service/split_provider_test.cc
#include "tensorflow/core/data/service/split_provider.h" #include <functional> #include <memory> #include <string> #include <vector> #include "tensorflow/core/data/service/common.pb.h" #include "tensorflow/core/data/service/dispatcher_client.h" #include "tensorflow/core/data/service/grpc_util.h" #include "tensorflow/co...
#include "tensorflow/core/data/service/split_provider.h" #include <array> #include <cstdint> #include <memory> #include <tuple> #include <vector> #include "absl/strings/str_cat.h" #include "xla/tsl/lib/core/status_test_util.h" #include "tensorflow/core/data/service/common.pb.h" #include "tensorflow/core/data/service/te...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/data/service/split_provider.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/data/service/split_provider_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
4e37c532-87dd-48a8-b0b5-c412fc21335e
cpp
tensorflow/tensorflow
dispatcher_client
tensorflow/core/data/service/dispatcher_client.cc
tensorflow/core/data/service/dispatcher_client_test.cc
#include "tensorflow/core/data/service/dispatcher_client.h" #include <cstdint> #include <limits> #include <memory> #include <optional> #include <string> #include <vector> #include "grpcpp/client_context.h" #include "grpcpp/create_channel.h" #include "grpcpp/security/credentials.h" #include "grpcpp/support/channel_argum...
#include "tensorflow/core/data/service/dispatcher_client.h" #include <cstdint> #include <cstdlib> #include <memory> #include <optional> #include <string> #include "absl/container/flat_hash_set.h" #include "absl/status/status.h" #include "tensorflow/core/data/service/common.pb.h" #include "tensorflow/core/data/service/d...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/data/service/dispatcher_client.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/data/service/dispatcher_client_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
43917cfe-e049-4c6c-9278-844e1b636421
cpp
tensorflow/tensorflow
grpc_worker_impl
tensorflow/core/data/service/grpc_worker_impl.cc
tensorflow/core/data/service/grpc_worker_impl_test.cc
#include "tensorflow/core/data/service/grpc_worker_impl.h" #include <memory> #include <string> #include <vector> #include "grpcpp/server_builder.h" #include "grpcpp/server_context.h" #include "tensorflow/core/data/service/export.pb.h" #include "tensorflow/core/data/service/worker_impl.h" #include "tensorflow/core/distr...
#include "tensorflow/core/data/service/grpc_worker_impl.h" #include <limits> #include <memory> #include <string> #include <utility> #include "grpcpp/channel.h" #include "grpcpp/client_context.h" #include "grpcpp/create_channel.h" #include "grpcpp/security/credentials.h" #include "grpcpp/support/channel_arguments.h" #in...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/data/service/grpc_worker_impl.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/data/service/grpc_worker_impl_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
65d0efa3-bde3-4dea-bcb8-1f5223d73655
cpp
tensorflow/tensorflow
byte_size
tensorflow/core/data/service/byte_size.cc
tensorflow/core/data/service/byte_size_test.cc
#include "tensorflow/core/data/service/byte_size.h" #include <cstddef> #include <string> #include "absl/strings/str_cat.h" namespace tensorflow { namespace data { size_t ByteSize::ToUnsignedBytes() const { return bytes_; } double ByteSize::ToDoubleBytes() const { return static_cast<double>(bytes_); } double ByteSize::T...
#include "tensorflow/core/data/service/byte_size.h" #include <cstddef> #include <string> #include <vector> #include "absl/algorithm/container.h" #include "tsl/platform/test.h" namespace tensorflow { namespace data { namespace { using ::testing::Eq; using ::testing::Not; TEST(ByteSizeTest, Constructors) { EXPECT_EQ(By...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/data/service/byte_size.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/data/service/byte_size_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
288c8bde-c5d9-4a6c-a2a7-e4e91ae9a23a
cpp
tensorflow/tensorflow
auto_scaler
tensorflow/core/data/service/auto_scaler.cc
tensorflow/core/data/service/auto_scaler_test.cc
#include "tensorflow/core/data/service/auto_scaler.h" #include <algorithm> #include <cmath> #include <cstdint> #include <memory> #include <numeric> #include <optional> #include <string> #include <vector> #include "absl/container/flat_hash_map.h" #include "absl/log/log.h" #include "absl/status/status.h" #include "absl/s...
#include "tensorflow/core/data/service/auto_scaler.h" #include <optional> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "absl/status/status.h" #include "absl/time/time.h" #include "xla/tsl/lib/core/status_test_util.h" #include "tensorflow/core/framework/metrics.h" #include "tensorflow/core/lib/monitoring/c...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/data/service/auto_scaler.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/data/service/auto_scaler_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
32b6f306-4d70-4f3a-8887-4af878ce1da0
cpp
tensorflow/tensorflow
task_runner
tensorflow/core/data/service/task_runner.cc
tensorflow/core/data/service/task_runner_test.cc
#include "tensorflow/core/data/service/task_runner.h" #include <algorithm> #include <memory> #include <optional> #include <utility> #include <vector> #include "tensorflow/core/data/service/byte_size.h" #include "tensorflow/core/data/service/common.h" #include "tensorflow/core/data/service/cross_trainer_cache.h" #includ...
#include "tensorflow/core/data/service/task_runner.h" #include <algorithm> #include <cstdint> #include <iterator> #include <memory> #include <optional> #include <string> #include <tuple> #include <utility> #include <vector> #include "absl/memory/memory.h" #include "tensorflow/core/data/service/data_transfer.h" #include...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/data/service/task_runner.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/data/service/task_runner_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
ff6e614c-d7f4-4756-bc9e-cd60d9819967
cpp
tensorflow/tensorflow
data_transfer
tensorflow/core/data/service/data_transfer.cc
tensorflow/core/data/service/data_transfer_test.cc
#include "tensorflow/core/data/service/data_transfer.h" #include <functional> #include <memory> #include <string> #include <unordered_map> #include <vector> #include "absl/strings/str_join.h" #include "tensorflow/core/framework/tensor.h" #include "tensorflow/core/framework/types.pb.h" #include "tensorflow/core/framewor...
#include "tensorflow/core/data/service/data_transfer.h" #include <memory> #include <string> #include <utility> #include <vector> #include "tensorflow/core/framework/tensor.h" #include "tensorflow/core/framework/tensor_shape.h" #include "tensorflow/core/framework/tensor_testutil.h" #include "tensorflow/core/framework/ty...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/data/service/data_transfer.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/data/service/data_transfer_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
be4b5433-ca85-4f8f-92b6-37a1dd883c50
cpp
tensorflow/tensorflow
graph_rewriters
tensorflow/core/data/service/graph_rewriters.cc
tensorflow/core/data/service/graph_rewriters_test.cc
#include "tensorflow/core/data/service/graph_rewriters.h" #include <cstdlib> #include <iterator> #include <memory> #include <string> #include <unordered_map> #include <utility> #include "absl/algorithm/container.h" #include "absl/strings/match.h" #include "absl/strings/str_join.h" #include "absl/strings/string_view.h" ...
#include "tensorflow/core/data/service/graph_rewriters.h" #include <string> #include "absl/strings/string_view.h" #include "absl/strings/substitute.h" #include "tensorflow/core/data/service/common.pb.h" #include "tensorflow/core/data/service/test_util.h" #include "tensorflow/core/framework/dataset_options.pb.h" #includ...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/data/service/graph_rewriters.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/data/service/graph_rewriters_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
0b2254c0-2234-4559-85fd-63d91a12a555
cpp
tensorflow/tensorflow
credentials_factory
tensorflow/core/data/service/credentials_factory.cc
tensorflow/core/data/service/credentials_factory_test.cc
#include "tensorflow/core/data/service/credentials_factory.h" #include <memory> #include <string> #include <unordered_map> #include <vector> #include "tensorflow/core/lib/core/errors.h" #include "tensorflow/core/platform/mutex.h" namespace tensorflow { namespace data { namespace { mutex* get_lock() { static mutex loc...
#include "tensorflow/core/data/service/credentials_factory.h" #include <memory> #include <string> #include "tensorflow/core/lib/core/status_test_util.h" #include "tensorflow/core/platform/errors.h" #include "tensorflow/core/platform/test.h" namespace tensorflow { namespace data { namespace { constexpr char kFailedToCre...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/data/service/credentials_factory.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/data/service/credentials_factory_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
ce35ed39-e4f0-49e6-98a4-f765d18996b3
cpp
tensorflow/tensorflow
worker_impl
tensorflow/core/data/service/worker_impl.cc
tensorflow/core/data/service/worker_impl_test.cc
#include "tensorflow/core/data/service/worker_impl.h" #include <cstdint> #include <memory> #include <optional> #include <string> #include <utility> #include <vector> #include "grpcpp/create_channel.h" #include "absl/algorithm/container.h" #include "absl/memory/memory.h" #include "absl/strings/str_cat.h" #include "absl/...
#include "tensorflow/core/data/service/worker_impl.h" #include <memory> #include <string> #include <vector> #include "tensorflow/core/data/service/test_cluster.h" #include "tensorflow/core/lib/core/status_test_util.h" #include "tensorflow/core/platform/test.h" namespace tensorflow { namespace data { namespace { using :...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/data/service/worker_impl.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/data/service/worker_impl_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
85e435bf-b69e-489b-a72a-a03f354f1baa
cpp
tensorflow/tensorflow
server_lib
tensorflow/core/distributed_runtime/server_lib.cc
tensorflow/core/distributed_runtime/server_lib_test.cc
#include "tensorflow/core/distributed_runtime/server_lib.h" #include <unordered_map> #include "tensorflow/core/lib/core/errors.h" #include "tensorflow/core/platform/mutex.h" namespace tensorflow { namespace { mutex* get_server_factory_lock() { static mutex server_factory_lock(LINKER_INITIALIZED); return &server_fac...
#include "tensorflow/core/distributed_runtime/server_lib.h" #include "tensorflow/core/lib/core/status_test_util.h" #include "tensorflow/core/lib/strings/str_util.h" #include "tensorflow/core/platform/test.h" namespace tensorflow { class TestServerFactory : public ServerFactory { public: bool AcceptsOptions(const Ser...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/distributed_runtime/server_lib.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/distributed_runtime/server_lib_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
b0a5d668-8561-4789-820f-0d628bfa1730
cpp
tensorflow/tensorflow
journal
tensorflow/core/data/service/journal.cc
tensorflow/core/data/service/journal_test.cc
#include "tensorflow/core/data/service/journal.h" #include <algorithm> #include <memory> #include <string> #include <vector> #include "absl/memory/memory.h" #include "absl/status/status.h" #include "tensorflow/core/data/service/journal.pb.h" #include "tensorflow/core/lib/io/record_reader.h" #include "tensorflow/core/li...
#include "tensorflow/core/data/service/journal.h" #include <memory> #include <string> #include <vector> #include "absl/memory/memory.h" #include "absl/status/status.h" #include "tensorflow/core/data/service/common.pb.h" #include "tensorflow/core/data/service/journal.pb.h" #include "tensorflow/core/lib/core/status_test_...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/data/service/journal.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/data/service/journal_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
637f3e50-ff60-4f5e-af87-9df00924ac52
cpp
tensorflow/tensorflow
snapshot_split_provider
tensorflow/core/data/service/snapshot/snapshot_split_provider.cc
tensorflow/core/data/service/snapshot/snapshot_split_provider_test.cc
#include "tensorflow/core/data/service/snapshot/snapshot_split_provider.h" #include <cstdint> #include <functional> #include <memory> #include <optional> #include <string> #include <utility> #include <vector> #include "absl/container/btree_map.h" #include "absl/log/log.h" #include "absl/status/status.h" #include "absl/...
#include "tensorflow/core/data/service/snapshot/snapshot_split_provider.h" #include <cstdint> #include <memory> #include <string> #include <utility> #include <vector> #include "absl/status/status.h" #include "absl/strings/str_cat.h" #include "absl/time/time.h" #include "xla/tsl/lib/core/status_test_util.h" #include "xl...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/data/service/snapshot/snapshot_split_provider.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/data/service/snapshot/snapshot_split_provider_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
ad69ddc5-0993-4550-bcd1-c25e14d6bb5e
cpp
tensorflow/tensorflow
path_utils
tensorflow/core/data/service/snapshot/path_utils.cc
tensorflow/core/data/service/snapshot/path_utils_test.cc
#include "tensorflow/core/data/service/snapshot/path_utils.h" #include <cstdint> #include <string> #include <tuple> #include <utility> #include <vector> #include "absl/status/status.h" #include "absl/status/statusor.h" #include "absl/strings/numbers.h" #include "absl/strings/str_cat.h" #include "absl/strings/str_split....
#include "tensorflow/core/data/service/snapshot/path_utils.h" #include "tsl/platform/status_matchers.h" #include "tsl/platform/test.h" #include "tsl/protobuf/error_codes.pb.h" namespace tensorflow { namespace data { namespace { using ::testing::FieldsAre; using ::testing::HasSubstr; using ::testing::MatchesRegex; using...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/data/service/snapshot/path_utils.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/data/service/snapshot/path_utils_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
f87db812-983d-4651-9b5e-a77f29660ffd
cpp
tensorflow/tensorflow
prefetched_split_provider
tensorflow/core/data/service/snapshot/prefetched_split_provider.cc
tensorflow/core/data/service/snapshot/prefetched_split_provider_test.cc
#include "tensorflow/core/data/service/snapshot/prefetched_split_provider.h" #include <cstddef> #include <cstdint> #include <memory> #include <optional> #include <string> #include <utility> #include "absl/base/thread_annotations.h" #include "absl/status/status.h" #include "absl/status/statusor.h" #include "absl/strings...
#include "tensorflow/core/data/service/snapshot/prefetched_split_provider.h" #include <cstddef> #include <cstdint> #include <iterator> #include <memory> #include <numeric> #include <optional> #include <string> #include <tuple> #include <utility> #include <vector> #include "absl/algorithm/container.h" #include "absl/mem...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/data/service/snapshot/prefetched_split_provider.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/data/service/snapshot/prefetched_split_provider_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
17e0abbc-0854-4ec0-a080-901466566b64
cpp
tensorflow/tensorflow
snapshot_manager
tensorflow/core/data/service/snapshot/snapshot_manager.cc
tensorflow/core/data/service/snapshot/snapshot_manager_test.cc
#include "tensorflow/core/data/service/snapshot/snapshot_manager.h" #include <algorithm> #include <cstddef> #include <cstdint> #include <memory> #include <optional> #include <string> #include <utility> #include <vector> #include "absl/algorithm/container.h" #include "absl/container/btree_map.h" #include "absl/container...
#include "tensorflow/core/data/service/snapshot/snapshot_manager.h" #include <memory> #include <string> #include "xla/tsl/lib/core/status_test_util.h" #include "xla/tsl/protobuf/status.pb.h" #include "tensorflow/core/data/service/common.pb.h" #include "tensorflow/core/data/service/dispatcher.pb.h" #include "tensorflow/...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/data/service/snapshot/snapshot_manager.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/data/service/snapshot/snapshot_manager_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
fbd27fd6-da5b-4cbf-9c30-4a3f1eebfb20
cpp
tensorflow/tensorflow
snapshot_stream_writer
tensorflow/core/data/service/snapshot/snapshot_stream_writer.cc
tensorflow/core/data/service/snapshot/snapshot_stream_writer_test.cc
#include "tensorflow/core/data/service/snapshot/snapshot_stream_writer.h" #include <algorithm> #include <cstddef> #include <cstdint> #include <memory> #include <optional> #include <string> #include <utility> #include <vector> #include "absl/container/flat_hash_map.h" #include "absl/status/status.h" #include "absl/statu...
#include "tensorflow/core/data/service/snapshot/snapshot_stream_writer.h" #include <cstddef> #include <cstdint> #include <memory> #include <optional> #include <string> #include <utility> #include <vector> #include "absl/status/status.h" #include "absl/status/statusor.h" #include "absl/strings/str_cat.h" #include "xla/t...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/data/service/snapshot/snapshot_stream_writer.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/data/service/snapshot/snapshot_stream_writer_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
f20f0ac8-614d-4be5-a30f-2b86a1eedae3
cpp
tensorflow/tensorflow
snapshot_chunk_provider
tensorflow/core/data/service/snapshot/snapshot_chunk_provider.cc
tensorflow/core/data/service/snapshot/snapshot_chunk_provider_test.cc
#include "tensorflow/core/data/service/snapshot/snapshot_chunk_provider.h" #include <cstdint> #include <functional> #include <optional> #include <string> #include <tuple> #include <utility> #include <vector> #include "absl/base/thread_annotations.h" #include "absl/container/btree_set.h" #include "absl/log/log.h" #inclu...
#include "tensorflow/core/data/service/snapshot/snapshot_chunk_provider.h" #include <memory> #include <optional> #include <string> #include <utility> #include <vector> #include "absl/algorithm/container.h" #include "absl/memory/memory.h" #include "absl/status/status.h" #include "absl/status/statusor.h" #include "absl/s...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/data/service/snapshot/snapshot_chunk_provider.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/data/service/snapshot/snapshot_chunk_provider_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
d16e7c62-0807-460f-8ba5-1385b18f29fc
cpp
tensorflow/tensorflow
parallel_tfrecord_writer
tensorflow/core/data/service/snapshot/parallel_tfrecord_writer.cc
tensorflow/core/data/service/snapshot/parallel_tfrecord_writer_test.cc
#include "tensorflow/core/data/service/snapshot/parallel_tfrecord_writer.h" #include <cstdint> #include <memory> #include <optional> #include <string> #include <utility> #include <vector> #include "absl/base/thread_annotations.h" #include "absl/container/flat_hash_map.h" #include "absl/log/log.h" #include "absl/status/...
#include "tensorflow/core/data/service/snapshot/parallel_tfrecord_writer.h" #include <cstdint> #include <iterator> #include <limits> #include <memory> #include <numeric> #include <string> #include <tuple> #include <utility> #include <vector> #include "absl/algorithm/container.h" #include "absl/container/flat_hash_map.h...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/data/service/snapshot/parallel_tfrecord_writer.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/data/service/snapshot/parallel_tfrecord_writer_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
a6b50088-4668-4bea-9a3a-97e531d48900
cpp
tensorflow/tensorflow
data_service_client
tensorflow/core/data/service/client/data_service_client.cc
tensorflow/core/data/service/client/data_service_client_test.cc
#include "tensorflow/core/data/service/client/data_service_client.h" #include <algorithm> #include <functional> #include <limits> #include <memory> #include <optional> #include <random> #include <string> #include <string_view> #include <utility> #include <vector> #include "absl/algorithm/container.h" #include "absl/con...
#include "tensorflow/core/data/service/client/data_service_client.h" #include <functional> #include <memory> #include <string> #include <utility> #include <vector> #include "absl/time/time.h" #include "xla/tsl/lib/core/status_test_util.h" #include "tensorflow/core/data/service/client/common.h" #include "tensorflow/core...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/data/service/client/data_service_client.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/data/service/client/data_service_client_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
422bf0f2-be5f-4d65-a40c-dbfaaaace216
cpp
tensorflow/tensorflow
message_wrappers
tensorflow/core/distributed_runtime/message_wrappers.cc
tensorflow/core/distributed_runtime/message_wrappers_test.cc
#include "tensorflow/core/distributed_runtime/message_wrappers.h" #include <memory> #include "absl/status/status.h" #include "tensorflow/core/framework/cost_graph.pb.h" #include "tensorflow/core/framework/step_stats.pb.h" #include "tensorflow/core/framework/tensor.pb.h" #include "tensorflow/core/protobuf/config.pb.h" #...
#include "tensorflow/core/distributed_runtime/message_wrappers.h" #include "tensorflow/core/framework/cost_graph.pb.h" #include "tensorflow/core/framework/step_stats.pb.h" #include "tensorflow/core/framework/tensor_testutil.h" #include "tensorflow/core/lib/core/status_test_util.h" #include "tensorflow/core/platform/tes...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/distributed_runtime/message_wrappers.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/distributed_runtime/message_wrappers_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
029d686d-d1e9-4d27-9854-c4784353d924
cpp
tensorflow/tensorflow
device_resolver_distributed
tensorflow/core/distributed_runtime/device_resolver_distributed.cc
tensorflow/core/distributed_runtime/device_resolver_distributed_test.cc
#include "tensorflow/core/distributed_runtime/device_resolver_distributed.h" #include "tensorflow/core/common_runtime/device_mgr.h" #include "tensorflow/core/framework/device_attributes.pb.h" #include "tensorflow/core/platform/errors.h" namespace tensorflow { DeviceResolverDistributed::DeviceResolverDistributed(const D...
#include "tensorflow/core/distributed_runtime/device_resolver_distributed.h" #include "absl/memory/memory.h" #include "tensorflow/core/common_runtime/device_mgr.h" #include "tensorflow/core/distributed_runtime/test_utils.h" #include "tensorflow/core/lib/core/notification.h" #include "tensorflow/core/lib/core/status_tes...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/distributed_runtime/device_resolver_distributed.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/distributed_runtime/device_resolver_distributed_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
7a63ecfb-0bf9-4b2d-bc5b-7ffc4cb555fa
cpp
tensorflow/tensorflow
recent_request_ids
tensorflow/core/distributed_runtime/recent_request_ids.cc
tensorflow/core/distributed_runtime/recent_request_ids_test.cc
#include "tensorflow/core/distributed_runtime/recent_request_ids.h" #include <utility> #include "tensorflow/core/platform/logging.h" namespace tensorflow { RecentRequestIds::RecentRequestIds(int num_tracked_request_ids, int num_shards) : index_buckets_(num_shards > 0 ? num_shards : 1) { DCHECK(num_tracked_request...
#include "tensorflow/core/distributed_runtime/recent_request_ids.h" #include <algorithm> #include "tensorflow/core/distributed_runtime/request_id.h" #include "tensorflow/core/lib/core/status_test_util.h" #include "tensorflow/core/platform/test.h" #include "tensorflow/core/platform/test_benchmark.h" #include "tensorflow...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/distributed_runtime/recent_request_ids.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/distributed_runtime/recent_request_ids_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
e3460a20-4301-4749-99c9-483fa6ad0a48
cpp
tensorflow/tensorflow
master
tensorflow/core/distributed_runtime/master.cc
tensorflow/core/distributed_runtime/master_test.cc
#include "tensorflow/core/distributed_runtime/master.h" #include <memory> #include <unordered_set> #include <vector> #include "xla/tsl/protobuf/rpc_options.pb.h" #include "tensorflow/core/common_runtime/device_set.h" #include "tensorflow/core/common_runtime/process_util.h" #include "tensorflow/core/distributed_runtime/...
#include "tensorflow/core/distributed_runtime/master.h" #include <map> #include <memory> #include "grpcpp/grpcpp.h" #include "Eigen/Core" #include "tensorflow/core/distributed_runtime/rpc/grpc_channel.h" #include "tensorflow/core/distributed_runtime/rpc/grpc_master_service_impl.h" #include "tensorflow/core/distribute...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/distributed_runtime/master.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/distributed_runtime/master_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
2a390141-a179-474f-84ec-21165faf17ec
cpp
tensorflow/tensorflow
request_id
tensorflow/core/distributed_runtime/request_id.cc
tensorflow/core/distributed_runtime/request_id_test.cc
#include "tensorflow/core/distributed_runtime/request_id.h" #include "tensorflow/core/platform/types.h" namespace tensorflow { int64_t GetUniqueRequestId() { int64_t request_id = 0; while (request_id == 0) { request_id = tsl::random::ThreadLocalNew64(); } return request_id; } }
#include "tensorflow/core/distributed_runtime/request_id.h" #include "tensorflow/core/platform/test.h" namespace tensorflow { TEST(GetUniqueRequestId, Basic) { for (int i = 0; i < 1000000; ++i) { EXPECT_NE(GetUniqueRequestId(), 0); } } }
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/distributed_runtime/request_id.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/distributed_runtime/request_id_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
5054f737-a436-48d6-bda7-202ce4f02830
cpp
tensorflow/tensorflow
session_mgr
tensorflow/core/distributed_runtime/session_mgr.cc
tensorflow/core/distributed_runtime/session_mgr_test.cc
#include "tensorflow/core/distributed_runtime/session_mgr.h" #include <algorithm> #include <memory> #include <string> #include <utility> #include <vector> #include "xla/tsl/distributed_runtime/coordination/coordination_service.h" #include "xla/tsl/distributed_runtime/coordination/coordination_service_agent.h" #include ...
#include "tensorflow/core/distributed_runtime/session_mgr.h" #include <string> #include "absl/status/status.h" #include "tensorflow/core/distributed_runtime/error_payloads.h" #include "tensorflow/core/distributed_runtime/rpc/rpc_rendezvous_mgr.h" #include "tensorflow/core/distributed_runtime/worker_env.h" #include "ten...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/distributed_runtime/session_mgr.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/distributed_runtime/session_mgr_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
e7903eb4-9985-4b6c-b0e5-c2348dbcc8ef
cpp
tensorflow/tensorflow
remote_device
tensorflow/core/distributed_runtime/remote_device.cc
tensorflow/core/distributed_runtime/remote_device_test.cc
#include "tensorflow/core/distributed_runtime/remote_device.h" #include <stdlib.h> #include <vector> #include "tensorflow/core/common_runtime/device.h" #include "tensorflow/core/common_runtime/process_util.h" #include "tensorflow/core/common_runtime/renamed_device.h" #include "tensorflow/core/distributed_runtime/worker...
#include "tensorflow/core/distributed_runtime/remote_device.h" #include "tensorflow/core/common_runtime/device.h" #include "tensorflow/core/distributed_runtime/rpc/grpc_channel.h" #include "tensorflow/core/distributed_runtime/rpc/grpc_testlib.h" #include "tensorflow/core/distributed_runtime/rpc/grpc_worker_cache.h" #in...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/distributed_runtime/remote_device.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/distributed_runtime/remote_device_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
ed544b03-b54a-491f-ae4b-4e50be0c4758
cpp
tensorflow/tensorflow
partial_run_mgr
tensorflow/core/distributed_runtime/partial_run_mgr.cc
tensorflow/core/distributed_runtime/partial_run_mgr_test.cc
#include "tensorflow/core/distributed_runtime/partial_run_mgr.h" namespace tensorflow { bool PartialRunMgr::FindOrCreate(int step_id, CancellationManager** cancellation_manager) { mutex_lock l(mu_); auto it = step_id_to_partial_run_.find(step_id); if (it != step_id_to_partial_run_...
#include "tensorflow/core/distributed_runtime/partial_run_mgr.h" #include "tensorflow/core/lib/core/notification.h" #include "tensorflow/core/platform/test.h" namespace tensorflow { namespace { TEST(PartialRunMgrFindOrCreate, Create) { PartialRunMgr partial_run_mgr; int step_id = 1; CancellationManager* cancellat...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/distributed_runtime/partial_run_mgr.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/distributed_runtime/partial_run_mgr_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
09bea60d-dbf0-4bb3-b457-acc4a46d50db
cpp
tensorflow/tensorflow
collective_rma_distributed
tensorflow/core/distributed_runtime/collective_rma_distributed.cc
tensorflow/core/distributed_runtime/collective_rma_distributed_test.cc
#include "tensorflow/core/distributed_runtime/collective_rma_distributed.h" #include <memory> #include "absl/status/status.h" #include "tensorflow/core/common_runtime/base_collective_executor.h" #include "tensorflow/core/common_runtime/copy_tensor.h" #include "tensorflow/core/common_runtime/device_mgr.h" #include "tens...
#include "tensorflow/core/distributed_runtime/collective_rma_distributed.h" #include <memory> #include "google/protobuf/any.pb.h" #include "tensorflow/core/common_runtime/device_mgr.h" #include "tensorflow/core/common_runtime/dma_helper.h" #include "tensorflow/core/common_runtime/process_util.h" #include "tensorflow/co...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/distributed_runtime/collective_rma_distributed.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/distributed_runtime/collective_rma_distributed_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
f7e1b2b6-c751-40a9-8248-b14670cbf6d6
cpp
tensorflow/tensorflow
cluster_function_library_runtime
tensorflow/core/distributed_runtime/eager/cluster_function_library_runtime.cc
tensorflow/core/distributed_runtime/cluster_function_library_runtime_test.cc
#include "tensorflow/core/distributed_runtime/eager/cluster_function_library_runtime.h" #include <map> #include <memory> #include <utility> #include <variant> #include <vector> #include "tensorflow/core/common_runtime/eager/context.h" #include "tensorflow/core/common_runtime/eager/eager_operation.h" #include "tensorflo...
#include "tensorflow/core/distributed_runtime/cluster_function_library_runtime.h" #include <map> #include <memory> #include "tensorflow/core/common_runtime/function_testlib.h" #include "tensorflow/core/distributed_runtime/rpc/grpc_channel.h" #include "tensorflow/core/distributed_runtime/rpc/grpc_testlib.h" #include "te...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/distributed_runtime/eager/cluster_function_library_runtime.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/distributed_runtime/cluster_function_library_runtime_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
2e44108f-0ab0-4cba-9936-a5afa356d05c
cpp
tensorflow/tensorflow
collective_param_resolver_distributed
tensorflow/core/distributed_runtime/collective_param_resolver_distributed.cc
tensorflow/core/distributed_runtime/collective_param_resolver_distributed_test.cc
#include "tensorflow/core/distributed_runtime/collective_param_resolver_distributed.h" #include "absl/strings/escaping.h" #include "tensorflow/core/common_runtime/device.h" #include "tensorflow/core/common_runtime/device_mgr.h" #include "tensorflow/core/distributed_runtime/cancellable_call.h" #include "tensorflow/core/...
#include "tensorflow/core/distributed_runtime/collective_param_resolver_distributed.h" #include "absl/container/flat_hash_map.h" #include "tensorflow/core/common_runtime/device_mgr.h" #include "tensorflow/core/common_runtime/test_collective_executor_mgr.h" #include "tensorflow/core/distributed_runtime/device_resolver_d...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/distributed_runtime/collective_param_resolver_distributed.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/distributed_runtime/collective_param_resolver_distributed_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
79cf9640-53d5-4de9-930d-2b402a98d224
cpp
tensorflow/tensorflow
rpc_collective_executor_mgr
tensorflow/core/distributed_runtime/rpc_collective_executor_mgr.cc
tensorflow/core/distributed_runtime/rpc_collective_executor_mgr_test.cc
#include "tensorflow/core/distributed_runtime/rpc_collective_executor_mgr.h" #include "tensorflow/core/common_runtime/base_collective_executor.h" #include "tensorflow/core/common_runtime/collective_executor_mgr.h" #include "tensorflow/core/common_runtime/collective_rma_local.h" #include "tensorflow/core/distributed_run...
#include "tensorflow/core/distributed_runtime/rpc_collective_executor_mgr.h" #include <stdlib.h> #include <string> #include <vector> #include "tensorflow/core/common_runtime/device.h" #include "tensorflow/core/common_runtime/device_factory.h" #include "tensorflow/core/common_runtime/device_mgr.h" #include "tensorflow/c...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/distributed_runtime/rpc_collective_executor_mgr.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/distributed_runtime/rpc_collective_executor_mgr_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
3afdaf8b-caec-4d41-8aa6-2983d81f5758
cpp
tensorflow/tensorflow
coordination_service_barrier_proxy
tensorflow/core/distributed_runtime/coordination/coordination_service_barrier_proxy.cc
tensorflow/core/distributed_runtime/coordination/coordination_service_barrier_proxy_test.cc
#include "tensorflow/core/distributed_runtime/coordination/coordination_service_barrier_proxy.h" #include <memory> #include <string> #include <tuple> #include <utility> #include <vector> #include "absl/log/check.h" #include "absl/log/log.h" #include "absl/status/status.h" #include "absl/strings/str_cat.h" #include "abs...
#include "tensorflow/core/distributed_runtime/coordination/coordination_service_barrier_proxy.h" #include <atomic> #include <cstdint> #include <map> #include <memory> #include <optional> #include <string> #include <string_view> #include <utility> #include <vector> #include <gmock/gmock.h> #include "absl/status/status.h...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/distributed_runtime/coordination/coordination_service_barrier_proxy.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/distributed_runtime/coordination/coordination_service_barrier_proxy_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
02f756a9-dd1d-4fcf-a26f-3d0ce3a6c096
cpp
tensorflow/tensorflow
grpc_session
tensorflow/core/distributed_runtime/rpc/grpc_session.cc
tensorflow/core/distributed_runtime/rpc/grpc_session_test.cc
#include "tensorflow/core/distributed_runtime/rpc/grpc_session.h" #include <unordered_map> #include "tensorflow/core/common_runtime/session_factory.h" #include "tensorflow/core/distributed_runtime/call_options.h" #include "tensorflow/core/distributed_runtime/local_master.h" #include "tensorflow/core/distributed_runtime...
#include "tensorflow/core/distributed_runtime/rpc/grpc_session.h" #include <string> #include "xla/tsl/lib/core/status_test_util.h" #include "tensorflow/core/common_runtime/device.h" #include "tensorflow/core/distributed_runtime/rpc/grpc_testlib.h" #include "tensorflow/core/framework/graph.pb.h" #include "tensorflow/cor...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/distributed_runtime/rpc/grpc_session.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/distributed_runtime/rpc/grpc_session_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
7bab9db0-18bd-4eb9-8086-4bfa1cf88e70
cpp
tensorflow/tensorflow
rpc_rendezvous_mgr
tensorflow/core/distributed_runtime/rpc/rpc_rendezvous_mgr.cc
tensorflow/core/distributed_runtime/rpc/rpc_rendezvous_mgr_test.cc
#include "tensorflow/core/distributed_runtime/rpc/rpc_rendezvous_mgr.h" #include "tensorflow/core/common_runtime/device.h" #include "tensorflow/core/common_runtime/device_mgr.h" #include "tensorflow/core/common_runtime/dma_helper.h" #include "tensorflow/core/common_runtime/process_util.h" #include "tensorflow/core/dist...
#include "tensorflow/core/distributed_runtime/rpc/rpc_rendezvous_mgr.h" #include "tensorflow/core/common_runtime/process_util.h" #include "tensorflow/core/distributed_runtime/test_utils.h" #include "tensorflow/core/framework/cancellation.h" #include "tensorflow/core/framework/control_flow.h" #include "tensorflow/core/l...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/distributed_runtime/rpc/rpc_rendezvous_mgr.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/distributed_runtime/rpc/rpc_rendezvous_mgr_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
4e72922f-72c7-4080-9b76-440f602382cd
cpp
tensorflow/tensorflow
grpc_tensor_coding
tensorflow/core/distributed_runtime/rpc/grpc_tensor_coding.cc
tensorflow/core/distributed_runtime/rpc/grpc_tensor_coding_test.cc
#include "tensorflow/core/distributed_runtime/rpc/grpc_tensor_coding.h" #include "grpcpp/support/byte_buffer.h" #include "grpcpp/support/slice.h" #include "tensorflow/core/common_runtime/dma_helper.h" #include "tensorflow/core/framework/tensor.h" #include "tensorflow/core/framework/tensor.pb.h" #include "tensorflow/cor...
#include "tensorflow/core/distributed_runtime/rpc/grpc_tensor_coding.h" #include "grpcpp/support/byte_buffer.h" #include "grpcpp/support/slice.h" #include "tensorflow/core/framework/tensor.h" #include "tensorflow/core/framework/tensor_testutil.h" #include "tensorflow/core/lib/gtl/inlined_vector.h" #include "tensorflow/...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/distributed_runtime/rpc/grpc_tensor_coding.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/distributed_runtime/rpc/grpc_tensor_coding_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
0ef74f11-3523-4202-9791-2c1beb9227af
cpp
tensorflow/tensorflow
grpc_worker_cache
tensorflow/core/distributed_runtime/rpc/grpc_worker_cache.cc
tensorflow/core/distributed_runtime/rpc/grpc_worker_cache_test.cc
#include "tensorflow/core/distributed_runtime/rpc/grpc_worker_cache.h" #include "tensorflow/core/distributed_runtime/rpc/coordination/grpc_coordination_client.h" #include "tensorflow/core/distributed_runtime/rpc/eager/grpc_eager_client.h" #include "tensorflow/core/distributed_runtime/rpc/grpc_remote_worker.h" #include ...
#include "tensorflow/core/distributed_runtime/rpc/grpc_worker_cache.h" #include "tensorflow/c/tf_status.h" #include "tensorflow/core/distributed_runtime/rpc/grpc_channel.h" #include "tensorflow/core/distributed_runtime/test_utils.h" #include "tensorflow/core/lib/core/status_test_util.h" #include "tensorflow/core/platfo...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/distributed_runtime/rpc/grpc_worker_cache.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/distributed_runtime/rpc/grpc_worker_cache_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
e680641a-da49-449a-bb3e-3767970a1e11
cpp
tensorflow/tensorflow
grpc_eager_client
tensorflow/core/distributed_runtime/rpc/eager/grpc_eager_client.cc
tensorflow/core/distributed_runtime/rpc/eager/grpc_eager_client_test.cc
#include "tensorflow/core/distributed_runtime/rpc/eager/grpc_eager_client.h" #include <cstdint> #include <string> #include "grpcpp/generic/generic_stub.h" #include "xla/tsl/distributed_runtime/call_options.h" #include "tensorflow/core/distributed_runtime/call_options.h" #include "tensorflow/core/distributed_runtime/rpc...
#include "tensorflow/core/distributed_runtime/rpc/eager/grpc_eager_client.h" #include "tensorflow/core/distributed_runtime/rpc/grpc_channel.h" #include "tensorflow/core/lib/core/status_test_util.h" #include "tensorflow/core/platform/blocking_counter.h" #include "tensorflow/core/platform/env.h" #include "tensorflow/core...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/distributed_runtime/rpc/eager/grpc_eager_client.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/distributed_runtime/rpc/eager/grpc_eager_client_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
5b273aa4-9a13-4db4-af7d-902975da9160
cpp
tensorflow/tensorflow
eager_service_impl
tensorflow/core/distributed_runtime/eager/eager_service_impl.cc
tensorflow/core/distributed_runtime/eager/eager_service_impl_test.cc
#include "tensorflow/core/distributed_runtime/eager/eager_service_impl.h" #include <functional> #include <memory> #include <optional> #include <string> #include <unordered_map> #include <utility> #include <vector> #include "absl/container/fixed_array.h" #include "absl/status/status.h" #include "absl/strings/str_cat.h" ...
#include "tensorflow/core/distributed_runtime/eager/eager_service_impl.h" #include <cstdint> #include <functional> #include <memory> #include <optional> #include <unordered_map> #include <utility> #include <variant> #include <vector> #include "absl/status/status.h" #include "absl/types/optional.h" #include "absl/types/...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/distributed_runtime/eager/eager_service_impl.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/distributed_runtime/eager/eager_service_impl_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
1f3c6aef-7f7d-42a7-8cfa-9656e271f9f0
cpp
tensorflow/tensorflow
remote_mgr
tensorflow/core/distributed_runtime/eager/remote_mgr.cc
tensorflow/core/distributed_runtime/eager/remote_mgr_test.cc
#include "tensorflow/core/distributed_runtime/eager/remote_mgr.h" #include <memory> #include <string> #include <tuple> #include <utility> #include <vector> #include "absl/status/status.h" #include "absl/strings/str_cat.h" #include "tensorflow/core/distributed_runtime/eager/remote_tensor_handle.h" #include "tensorflow/c...
#include "tensorflow/core/distributed_runtime/eager/remote_mgr.h" #include <memory> #include <utility> #include <vector> #include "tensorflow/core/common_runtime/eager/tensor_handle.h" #include "tensorflow/core/framework/types.pb.h" #include "tensorflow/core/lib/core/status_test_util.h" #include "tensorflow/core/platfo...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/distributed_runtime/eager/remote_mgr.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/distributed_runtime/eager/remote_mgr_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
d7a0dd09-19cd-4e14-ba62-dc1cebe0e8e2
cpp
tensorflow/tensorflow
schema
tensorflow/core/summary/schema.cc
tensorflow/core/summary/schema_test.cc
#include "tensorflow/core/summary/schema.h" #include "tensorflow/core/lib/core/errors.h" namespace tensorflow { namespace { Status Run(Sqlite* db, const char* sql) { SqliteStatement stmt; TF_RETURN_IF_ERROR(db->Prepare(sql, &stmt)); return stmt.StepAndReset(); } } Status SetupTensorboardSqliteDb(Sqlite* db) { ...
#include "tensorflow/core/summary/schema.h" #include <memory> #include "tensorflow/core/lib/core/status_test_util.h" #include "tensorflow/core/platform/test.h" namespace tensorflow { namespace { TEST(SchemaTest, SmokeTestTensorboardSchema) { Sqlite* db; TF_ASSERT_OK(Sqlite::Open(":memory:", SQLITE_OPEN_READWRITE, &...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/summary/schema.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/summary/schema_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
64afe01c-f225-4810-a1ae-f62d116283b3
cpp
tensorflow/tensorflow
summary_db_writer
tensorflow/core/summary/summary_db_writer.cc
tensorflow/core/summary/summary_db_writer_test.cc
#include "tensorflow/core/summary/summary_db_writer.h" #include <deque> #include "tensorflow/core/summary/summary_converter.h" #include "tensorflow/core/framework/graph.pb.h" #include "tensorflow/core/framework/node_def.pb.h" #include "tensorflow/core/framework/register_types.h" #include "tensorflow/core/framework/summ...
#include "tensorflow/core/summary/summary_db_writer.h" #include "tensorflow/core/summary/schema.h" #include "tensorflow/core/framework/function.pb.h" #include "tensorflow/core/framework/graph.pb.h" #include "tensorflow/core/framework/node_def.pb.h" #include "tensorflow/core/framework/summary.pb.h" #include "tensorflow/...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/summary/summary_db_writer.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/summary/summary_db_writer_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
b8f1a831-4754-45ce-a70d-ceae8ef287fa
cpp
tensorflow/tensorflow
summary_file_writer
tensorflow/core/summary/summary_file_writer.cc
tensorflow/core/summary/summary_file_writer_test.cc
#include "tensorflow/core/summary/summary_file_writer.h" #include <memory> #include "absl/strings/match.h" #include "absl/strings/str_cat.h" #include "tensorflow/core/framework/graph.pb.h" #include "tensorflow/core/framework/op_kernel.h" #include "tensorflow/core/framework/resource_mgr.h" #include "tensorflow/core/fram...
#include "tensorflow/core/summary/summary_file_writer.h" #include "tensorflow/core/framework/summary.pb.h" #include "tensorflow/core/framework/tensor.pb.h" #include "tensorflow/core/framework/types.h" #include "tensorflow/core/framework/types.pb.h" #include "tensorflow/core/lib/core/errors.h" #include "tensorflow/core/...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/summary/summary_file_writer.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/summary/summary_file_writer_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
f91e14b2-7735-43ce-8b22-6f38cce4d87a
cpp
tensorflow/tensorflow
debug_graph_utils
tensorflow/core/debug/debug_graph_utils.cc
tensorflow/core/debug/debug_graph_utils_test.cc
#include "tensorflow/core/debug/debug_graph_utils.h" #include "absl/status/status.h" #include "absl/strings/str_cat.h" #include "tensorflow/core/common_runtime/memory_types.h" #include "tensorflow/core/framework/kernel_def.pb.h" #include "tensorflow/core/framework/node_def_builder.h" #include "tensorflow/core/framework...
#include "tensorflow/core/debug/debug_graph_utils.h" #include "tensorflow/core/framework/tensor_testutil.h" #include "tensorflow/core/lib/core/errors.h" #include "tensorflow/core/lib/core/status_test_util.h" #include "tensorflow/core/lib/strings/str_util.h" namespace tensorflow { class DebugGraphUtilsTest : public ::te...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/debug/debug_graph_utils.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/debug/debug_graph_utils_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea