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
b0117d33-c5af-4127-8481-159be8a2c317
cpp
tensorflow/tensorflow
device_mgr
tensorflow/core/common_runtime/device_mgr.cc
tensorflow/core/common_runtime/device_mgr_test.cc
#include "tensorflow/core/common_runtime/device_mgr.h" #include <memory> #include <vector> #include "tensorflow/core/common_runtime/local_device.h" #include "tensorflow/core/framework/device_attributes.pb.h" #include "tensorflow/core/lib/core/errors.h" #include "tensorflow/core/platform/logging.h" #include "tensorflow/...
#include "tensorflow/core/common_runtime/device_mgr.h" #include <memory> #include <vector> #include "absl/memory/memory.h" #include "tensorflow/core/lib/core/status.h" #include "tensorflow/core/platform/test.h" namespace tensorflow { namespace { static Device* CreateDevice(const char* type, const char* name) { class ...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/common_runtime/device_mgr.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/common_runtime/device_mgr_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
cb4af92b-029e-4f0c-9777-99652edb4d8c
cpp
tensorflow/tensorflow
collective_rma_local
tensorflow/core/common_runtime/collective_rma_local.cc
tensorflow/core/common_runtime/collective_rma_local_test.cc
#include "tensorflow/core/common_runtime/collective_rma_local.h" #include "tensorflow/core/common_runtime/copy_tensor.h" #include "tensorflow/core/common_runtime/dma_helper.h" namespace tensorflow { void CollectiveRemoteAccessLocal::StartAbort(const Status& s) { buf_rendezvous_.StartAbort(s); } void CollectiveRemoteA...
#include "tensorflow/core/common_runtime/collective_rma_local.h" #include "tensorflow/core/common_runtime/buf_rendezvous.h" #include "tensorflow/core/common_runtime/collective_param_resolver_local.h" #include "tensorflow/core/common_runtime/device.h" #include "tensorflow/core/common_runtime/device_factory.h" #include "...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/common_runtime/collective_rma_local.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/common_runtime/collective_rma_local_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
34e66ece-9ff8-4b9c-9545-dcb0094f4b53
cpp
tensorflow/tensorflow
partitioning_utils
tensorflow/core/common_runtime/partitioning_utils.cc
tensorflow/core/common_runtime/partitioning_utils_test.cc
#include "tensorflow/core/common_runtime/partitioning_utils.h" #include <algorithm> #include <functional> #include <memory> #include <optional> #include <string> #include <unordered_map> #include <utility> #include "tensorflow/core/common_runtime/arg_ret_placement.h" #include "tensorflow/core/common_runtime/graph_const...
#include "tensorflow/core/common_runtime/partitioning_utils.h" #include <map> #include <memory> #include <string> #include <unordered_map> #include <vector> #include "tensorflow/cc/ops/array_ops.h" #include "tensorflow/cc/ops/function_ops.h" #include "tensorflow/core/common_runtime/device_factory.h" #include "tensorflo...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/common_runtime/partitioning_utils.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/common_runtime/partitioning_utils_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
fa658703-36ea-4391-9a72-299b017e9eb8
cpp
tensorflow/tensorflow
placer
tensorflow/core/common_runtime/placer.cc
tensorflow/core/common_runtime/placer_test.cc
#include "tensorflow/core/common_runtime/placer.h" #include <string> #include <unordered_map> #include <vector> #include "tensorflow/core/common_runtime/colocation_graph.h" #include "tensorflow/core/common_runtime/device.h" #include "tensorflow/core/framework/attr_value_util.h" #include "tensorflow/core/framework/devic...
#include "tensorflow/core/common_runtime/placer.h" #include <memory> #include <string> #include <unordered_set> #include <utility> #include <vector> #include "tensorflow/core/common_runtime/device.h" #include "tensorflow/core/common_runtime/device_factory.h" #include "tensorflow/core/common_runtime/device_set.h" #inclu...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/common_runtime/placer.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/common_runtime/placer_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
6c1c0925-8ddf-4895-8858-8f20be4ec17b
cpp
tensorflow/tensorflow
graph_view
tensorflow/core/grappler/utils/graph_view.cc
tensorflow/core/grappler/utils/graph_view_test.cc
#include "tensorflow/core/grappler/utils/graph_view.h" #include <utility> #include "absl/container/flat_hash_set.h" #include "absl/strings/str_cat.h" #include "absl/strings/str_join.h" #include "tensorflow/core/framework/node_def_util.h" #include "tensorflow/core/graph/tensor_id.h" #include "tensorflow/core/grappler/op...
#include "tensorflow/core/grappler/utils/graph_view.h" #include <type_traits> #include "absl/container/flat_hash_set.h" #include "absl/strings/str_cat.h" #include "absl/strings/substitute.h" #include "tensorflow/cc/ops/standard_ops.h" #include "tensorflow/core/framework/function_testlib.h" #include "tensorflow/core/fra...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/grappler/utils/graph_view.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/grappler/utils/graph_view_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
f4bef952-252d-42c3-bf1d-7f04f232b2ad
cpp
tensorflow/tensorflow
lower_function_call_op
tensorflow/core/common_runtime/lower_function_call_op.cc
tensorflow/core/common_runtime/lower_function_call_op_test.cc
#include "tensorflow/core/common_runtime/lower_function_call_op.h" #include <utility> #include "absl/algorithm/container.h" #include "absl/types/span.h" #include "tensorflow/core/common_runtime/function_def_utils.h" #include "tensorflow/core/common_runtime/inline_function_utils.h" #include "tensorflow/core/common_runti...
#include "tensorflow/cc/client/client_session.h" #include "tensorflow/cc/framework/ops.h" #include "tensorflow/cc/ops/array_ops.h" #include "tensorflow/cc/ops/control_flow_ops_internal.h" #include "tensorflow/cc/ops/function_ops.h" #include "tensorflow/cc/ops/resource_variable_ops.h" #include "tensorflow/cc/ops/standar...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/common_runtime/lower_function_call_op.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/common_runtime/lower_function_call_op_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
bff43165-4287-4ce8-91f3-effe03e6f7a8
cpp
tensorflow/tensorflow
graph_constructor
tensorflow/core/common_runtime/graph_constructor.cc
tensorflow/core/common_runtime/graph_constructor_test.cc
#include "tensorflow/core/common_runtime/graph_constructor.h" #include <algorithm> #include <memory> #include <optional> #include <set> #include <sstream> #include <string> #include <utility> #include <vector> #include "absl/algorithm/container.h" #include "absl/container/flat_hash_map.h" #include "absl/container/flat_...
#include "tensorflow/core/common_runtime/graph_constructor.h" #include <utility> #include <vector> #include <gtest/gtest.h> #include "tensorflow/core/common_runtime/shape_refiner.h" #include "tensorflow/core/framework/common_shape_fns.h" #include "tensorflow/core/framework/function.h" #include "tensorflow/core/framewor...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/common_runtime/graph_constructor.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/common_runtime/graph_constructor_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
0198949a-e919-4cf3-b597-d178b5b5c6e9
cpp
tensorflow/tensorflow
session
tensorflow/core/common_runtime/session.cc
tensorflow/core/common_runtime/session_test.cc
#include "tensorflow/core/public/session.h" #include <string> #include "tensorflow/core/common_runtime/session_factory.h" #include "tensorflow/core/lib/core/errors.h" #include "tensorflow/core/lib/monitoring/gauge.h" #include "tensorflow/core/platform/logging.h" namespace tensorflow { namespace { auto* session_created ...
#include "tensorflow/core/public/session.h" #include "tensorflow/core/common_runtime/session_factory.h" #include "tensorflow/core/lib/strings/str_util.h" #include "tensorflow/core/platform/test.h" #include "tensorflow/core/public/session_options.h" namespace tensorflow { namespace { TEST(SessionTest, InvalidTargetRetur...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/common_runtime/session.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/common_runtime/session_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
4247af5c-3ab6-4144-ac73-c851293eeb69
cpp
tensorflow/tensorflow
arg_ret_placement
tensorflow/core/common_runtime/arg_ret_placement.cc
tensorflow/core/common_runtime/arg_ret_placement_test.cc
#include "tensorflow/core/common_runtime/arg_ret_placement.h" #include <algorithm> #include <cstddef> #include <string> #include <utility> #include <vector> #include "absl/container/flat_hash_map.h" #include "tensorflow/core/framework/allocator.h" #include "tensorflow/core/framework/attr_value.pb.h" #include "tensorflo...
#include "tensorflow/core/common_runtime/arg_ret_placement.h" #include <memory> #include <utility> #include <vector> #include <gtest/gtest.h> #include "tensorflow/cc/framework/scope.h" #include "xla/tsl/lib/core/status_test_util.h" #include "tensorflow/core/framework/allocator.h" #include "tensorflow/core/framework/ful...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/common_runtime/arg_ret_placement.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/common_runtime/arg_ret_placement_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
78c82e59-e383-40f5-be5e-ae074095bd05
cpp
tensorflow/tensorflow
type_inference
tensorflow/core/common_runtime/type_inference.cc
tensorflow/core/common_runtime/type_inference_test.cc
#include "tensorflow/core/common_runtime/type_inference.h" #include <functional> #include <list> #include <queue> #include <string> #include <string_view> #include <utility> #include <vector> #include "absl/container/flat_hash_set.h" #include "tensorflow/core/framework/full_type.pb.h" #include "tensorflow/core/framewor...
#include "tensorflow/core/common_runtime/type_inference.h" #include <functional> #include <string> #include "tensorflow/cc/client/client_session.h" #include "tensorflow/cc/framework/ops.h" #include "tensorflow/cc/ops/standard_ops.h" #include "tensorflow/core/common_runtime/graph_constructor.h" #include "tensorflow/core...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/common_runtime/type_inference.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/common_runtime/type_inference_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
3c8d261a-8b13-453f-97e9-ad253db6ca01
cpp
tensorflow/tensorflow
process_function_library_runtime
tensorflow/core/common_runtime/process_function_library_runtime.cc
tensorflow/core/common_runtime/process_function_library_runtime_test.cc
#include "tensorflow/core/common_runtime/process_function_library_runtime.h" #include <algorithm> #include <cstdint> #include <functional> #include <iterator> #include <memory> #include <optional> #include <string> #include <unordered_map> #include <utility> #include "absl/container/flat_hash_map.h" #include "absl/stat...
#include "tensorflow/core/common_runtime/process_function_library_runtime.h" #include <memory> #include <unordered_map> #include <vector> #include "tensorflow/core/common_runtime/composite_device.h" #include "tensorflow/core/common_runtime/device_factory.h" #include "tensorflow/core/common_runtime/device_mgr.h" #includ...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/common_runtime/process_function_library_runtime.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/common_runtime/process_function_library_runtime_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
ff9480bd-20ca-4f9a-97b5-2962374a7103
cpp
tensorflow/tensorflow
rendezvous_util
tensorflow/core/common_runtime/rendezvous_util.cc
tensorflow/core/common_runtime/rendezvous_util_test.cc
#include "tensorflow/core/common_runtime/rendezvous_util.h" #include "tensorflow/core/platform/mutex.h" #include "tensorflow/core/util/reffed_status_callback.h" namespace tensorflow { Status SendTensorsToRendezvous( RendezvousInterface* rendezvous, DeviceContext* device_context, const std::vector<AllocatorAttri...
#include "tensorflow/core/common_runtime/rendezvous_util.h" #include "tensorflow/core/lib/core/notification.h" #include "tensorflow/core/lib/core/status_test_util.h" #include "tensorflow/core/platform/test.h" namespace tensorflow { namespace { class RendezvousUtilTest : public ::testing::Test { public: RendezvousUti...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/common_runtime/rendezvous_util.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/common_runtime/rendezvous_util_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
3e216e1c-4bba-4884-a26e-b3fea70d8fbb
cpp
tensorflow/tensorflow
quantize_training
tensorflow/core/common_runtime/quantize_training.cc
tensorflow/core/common_runtime/quantize_training_test.cc
#include "tensorflow/core/common_runtime/quantize_training.h" #include <algorithm> #include <atomic> #include <set> #include <unordered_map> #include <vector> #include "tensorflow/core/common_runtime/graph_constructor.h" #include "tensorflow/core/common_runtime/memory_types.h" #include "tensorflow/core/framework/log_me...
#include "tensorflow/core/common_runtime/quantize_training.h" #include <map> #include <string> #include <unordered_map> #include <vector> #include "tensorflow/core/common_runtime/device_factory.h" #include "tensorflow/core/common_runtime/device_mgr.h" #include "tensorflow/core/common_runtime/graph_constructor.h" #inclu...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/common_runtime/quantize_training.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/common_runtime/quantize_training_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
a7f46326-cc72-4b4e-b225-22247bd2f23a
cpp
tensorflow/tensorflow
placer_inspection_required_ops_utils
tensorflow/core/common_runtime/placer_inspection_required_ops_utils.cc
tensorflow/core/common_runtime/placer_inspection_required_ops_utils_test.cc
#include "tensorflow/core/common_runtime/placer_inspection_required_ops_utils.h" #include <unordered_map> #include <unordered_set> #include "absl/strings/str_cat.h" #include "absl/types/optional.h" #include "tensorflow/core/framework/function.h" #include "tensorflow/core/framework/node_def_builder.h" #include "tensorfl...
#include "tensorflow/core/common_runtime/placer_inspection_required_ops_utils.h" #include <map> #include "absl/memory/memory.h" #include "absl/strings/str_join.h" #include "tensorflow/core/common_runtime/graph_constructor.h" #include "tensorflow/core/framework/function_testlib.h" #include "tensorflow/core/framework/nod...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/common_runtime/placer_inspection_required_ops_utils.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/common_runtime/placer_inspection_required_ops_utils_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
8eb513de-403b-4f62-8099-cef65c43e9f9
cpp
tensorflow/tensorflow
scoped_allocator_mgr
tensorflow/core/common_runtime/scoped_allocator_mgr.cc
tensorflow/core/common_runtime/scoped_allocator_mgr_test.cc
#include "tensorflow/core/common_runtime/scoped_allocator_mgr.h" #include "tensorflow/core/common_runtime/scoped_allocator.h" #include "tensorflow/core/framework/allocator.h" namespace tensorflow { Status ScopedAllocatorContainer::AddScopedAllocator( const Tensor& backing_tensor, int32_t scope_id, const string& sco...
#include "tensorflow/core/common_runtime/scoped_allocator_mgr.h" #include "tensorflow/core/common_runtime/dma_helper.h" #include "tensorflow/core/common_runtime/scoped_allocator.h" #include "tensorflow/core/framework/allocator.h" #include "tensorflow/core/framework/tensor.h" #include "tensorflow/core/platform/test.h" n...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/common_runtime/scoped_allocator_mgr.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/common_runtime/scoped_allocator_mgr_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
c3e707eb-aa99-42f0-8beb-c5644b98862f
cpp
tensorflow/tensorflow
device_propagation
tensorflow/core/common_runtime/device_propagation.cc
tensorflow/core/common_runtime/device_propagation_test.cc
#include "tensorflow/core/common_runtime/device_propagation.h" #include <string> #include <utility> #include "absl/container/flat_hash_set.h" #include "tensorflow/core/framework/types.h" #include "tensorflow/core/graph/algorithm.h" #include "tensorflow/core/graph/graph.h" namespace tensorflow { namespace { const std::s...
#include "tensorflow/core/common_runtime/device_propagation.h" #include <string> #include "absl/container/flat_hash_map.h" #include "absl/container/flat_hash_set.h" #include "absl/strings/match.h" #include "tensorflow/cc/framework/scope.h" #include "tensorflow/cc/ops/array_ops.h" #include "tensorflow/cc/ops/control_flo...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/common_runtime/device_propagation.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/common_runtime/device_propagation_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
8f4efb58-88af-470d-a5f6-790410917c2f
cpp
tensorflow/tensorflow
buf_rendezvous
tensorflow/core/common_runtime/buf_rendezvous.cc
tensorflow/core/common_runtime/buf_rendezvous_test.cc
#include "tensorflow/core/common_runtime/buf_rendezvous.h" #include "absl/strings/numbers.h" #include "absl/strings/str_cat.h" #include "absl/strings/string_view.h" #include "tensorflow/core/common_runtime/device.h" #include "tensorflow/core/common_runtime/device_mgr.h" #include "tensorflow/core/common_runtime/process_...
#include "tensorflow/core/common_runtime/buf_rendezvous.h" #include "tensorflow/core/common_runtime/device.h" #include "tensorflow/core/common_runtime/device_mgr.h" #include "tensorflow/core/framework/tensor.h" #include "tensorflow/core/framework/types.pb.h" #include "tensorflow/core/lib/core/notification.h" #include "...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/common_runtime/buf_rendezvous.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/common_runtime/buf_rendezvous_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
2d7045fb-b6b0-4986-a243-6e549d212000
cpp
tensorflow/tensorflow
lower_if_op
tensorflow/core/common_runtime/lower_if_op.cc
tensorflow/core/common_runtime/lower_if_op_test.cc
#include "tensorflow/core/common_runtime/lower_if_op.h" #include "tensorflow/core/common_runtime/inline_function_utils.h" #include "tensorflow/core/framework/node_def_builder.h" #include "tensorflow/core/graph/graph.h" #include "tensorflow/core/graph/node_builder.h" namespace tensorflow { namespace { using NodeOut = No...
#include "tensorflow/cc/client/client_session.h" #include "tensorflow/cc/framework/ops.h" #include "tensorflow/cc/ops/array_ops.h" #include "tensorflow/cc/ops/control_flow_ops_internal.h" #include "tensorflow/cc/ops/function_ops.h" #include "tensorflow/cc/ops/resource_variable_ops.h" #include "tensorflow/cc/ops/standar...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/common_runtime/lower_if_op.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/common_runtime/lower_if_op_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
fc2c582a-cd25-44b2-88af-7fa487bdb013
cpp
tensorflow/tensorflow
ring_reducer
tensorflow/core/common_runtime/ring_reducer.cc
tensorflow/core/common_runtime/ring_reducer_test.cc
#include "tensorflow/core/common_runtime/ring_reducer.h" #include <stdlib.h> #include <atomic> #include <functional> #include <utility> #include "tensorflow/core/common_runtime/collective_rma_local.h" #include "tensorflow/core/common_runtime/collective_util.h" #include "tensorflow/core/common_runtime/copy_tensor.h" #in...
#include "tensorflow/core/common_runtime/ring_reducer.h" #include <algorithm> #include "absl/memory/memory.h" #include "tensorflow/core/common_runtime/base_collective_executor.h" #include "tensorflow/core/common_runtime/collective_rma_local.h" #include "tensorflow/core/common_runtime/collective_test_util.h" #include "t...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/common_runtime/ring_reducer.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/common_runtime/ring_reducer_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
13ecf62c-b147-4735-9f37-cf4474c6761c
cpp
tensorflow/tensorflow
isolate_placer_inspection_required_ops_pass
tensorflow/core/common_runtime/isolate_placer_inspection_required_ops_pass.cc
tensorflow/core/common_runtime/isolate_placer_inspection_required_ops_pass_test.cc
#include "tensorflow/core/common_runtime/isolate_placer_inspection_required_ops_pass.h" #include "tensorflow/core/common_runtime/optimization_registry.h" #include "tensorflow/core/common_runtime/placer_inspection_required_ops_utils.h" #include "tensorflow/core/framework/function.h" #include "tensorflow/core/graph/graph...
#include "tensorflow/core/common_runtime/isolate_placer_inspection_required_ops_pass.h" #include <map> #include <unordered_map> #include "absl/memory/memory.h" #include "absl/strings/str_join.h" #include "tensorflow/core/common_runtime/graph_constructor.h" #include "tensorflow/core/framework/function.h" #include "tenso...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/common_runtime/isolate_placer_inspection_required_ops_pass.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/common_runtime/isolate_placer_inspection_required_ops_pass_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
ce6ef79f-c050-4a7f-b50f-126d68923ea5
cpp
tensorflow/tensorflow
process_util
tensorflow/core/common_runtime/process_util.cc
tensorflow/core/common_runtime/process_util_test.cc
#include "tensorflow/core/common_runtime/process_util.h" #if defined(ENABLE_MKL) && defined(ENABLE_ONEDNN_OPENMP) #ifdef _OPENMP #include <omp.h> #endif #endif #include <string.h> #include "tensorflow/core/lib/core/threadpool.h" #include "tensorflow/core/platform/byte_order.h" #include "tensorflow/core/platform/cpu...
#include "tensorflow/core/common_runtime/process_util.h" #include "tensorflow/core/platform/test.h" namespace tensorflow { namespace { TEST(ProcessUtilTest, NumThreads) { SessionOptions opts; opts.config.set_inter_op_parallelism_threads(10); EXPECT_EQ(10, NumInterOpThreadsFromSessionOptions(opts)); } TEST(Process...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/common_runtime/process_util.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/common_runtime/process_util_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
f3ed1296-aa66-4676-b427-1b02afef8845
cpp
tensorflow/tensorflow
replicate_constants_pass
tensorflow/core/common_runtime/replicate_constants_pass.cc
tensorflow/core/common_runtime/replicate_constants_pass_test.cc
#include "tensorflow/core/common_runtime/replicate_constants_pass.h" #include <algorithm> #include <cstdint> #include <limits> #include <string> #include <vector> #include "absl/container/btree_map.h" #include "absl/status/status.h" #include "absl/strings/str_cat.h" #include "tensorflow/core/common_runtime/optimization...
#include "tensorflow/core/common_runtime/replicate_constants_pass.h" #include <memory> #include <string> #include "tensorflow/cc/framework/ops.h" #include "tensorflow/cc/framework/scope.h" #include "tensorflow/cc/ops/const_op.h" #include "tensorflow/cc/ops/math_ops.h" #include "xla/tsl/lib/core/status_test_util.h" #inc...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/common_runtime/replicate_constants_pass.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/common_runtime/replicate_constants_pass_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
5e23e48e-e613-4ffe-b6df-e833fb616742
cpp
tensorflow/tensorflow
simplify_ici_dummy_variables_pass
tensorflow/core/common_runtime/simplify_ici_dummy_variables_pass.cc
tensorflow/core/common_runtime/simplify_ici_dummy_variables_pass_test.cc
#include "tensorflow/core/common_runtime/simplify_ici_dummy_variables_pass.h" #include <optional> #include <string> #include <vector> #include "absl/container/flat_hash_map.h" #include "absl/status/status.h" #include "absl/strings/str_cat.h" #include "absl/strings/str_split.h" #include "absl/strings/string_view.h" #inc...
#include "tensorflow/core/common_runtime/simplify_ici_dummy_variables_pass.h" #include <memory> #include <string> #include "absl/status/status.h" #include "tensorflow/cc/framework/scope.h" #include "xla/tsl/lib/core/status_test_util.h" #include "tensorflow/core/common_runtime/graph_constructor.h" #include "tensorflow/c...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/common_runtime/simplify_ici_dummy_variables_pass.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/common_runtime/simplify_ici_dummy_variables_pass_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
c396709c-ef47-4f4e-8cf4-224ba0257c00
cpp
tensorflow/tensorflow
composite_device
tensorflow/core/common_runtime/composite_device.cc
tensorflow/core/common_runtime/composite_device_test.cc
#include "tensorflow/core/common_runtime/composite_device.h" #include "absl/strings/str_join.h" #include "tensorflow/core/util/device_name_utils.h" namespace tensorflow { const char* const kCompositeDeviceType = "COMPOSITE"; std::unique_ptr<CompositeDevice> CompositeDevice::MakeDevice( const std::vector<string>& un...
#include "tensorflow/core/common_runtime/composite_device.h" #include "tensorflow/core/lib/core/status_test_util.h" namespace tensorflow { TEST(CompositeDeviceTest, Basic) { const string host_name = "/job:localhost/replica:0/task:0/device:CPU:0"; DeviceNameUtils::ParsedName parsed_host_name; EXPECT_TRUE(DeviceNam...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/common_runtime/composite_device.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/common_runtime/composite_device_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
458adafa-04cc-4dde-85aa-2a8742b9d8ab
cpp
tensorflow/tensorflow
cost_measurement_registry
tensorflow/core/common_runtime/cost_measurement_registry.cc
tensorflow/core/common_runtime/cost_measurement_registry_test.cc
#include "tensorflow/core/common_runtime/cost_measurement_registry.h" #include <string> #include <utility> #include "absl/container/flat_hash_map.h" #include "absl/strings/string_view.h" #include "tensorflow/core/common_runtime/cost_measurement.h" #include "tensorflow/core/platform/logging.h" namespace tensorflow { nam...
#include "tensorflow/core/common_runtime/cost_measurement_registry.h" #include "absl/strings/str_cat.h" #include "absl/strings/string_view.h" #include "absl/time/time.h" #include "tensorflow/core/common_runtime/cost_measurement.h" #include "tensorflow/core/platform/test.h" namespace tensorflow { namespace { constexpr c...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/common_runtime/cost_measurement_registry.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/common_runtime/cost_measurement_registry_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
3de0f6a1-48f4-438a-b8a4-3ea5085c9e4a
cpp
tensorflow/tensorflow
ring_gatherer
tensorflow/core/common_runtime/ring_gatherer.cc
tensorflow/core/common_runtime/ring_gatherer_test.cc
#include "tensorflow/core/common_runtime/ring_gatherer.h" #include <stdlib.h> #include <atomic> #include <functional> #include <utility> #include "tensorflow/core/common_runtime/collective_rma_local.h" #include "tensorflow/core/common_runtime/collective_util.h" #include "tensorflow/core/common_runtime/copy_tensor.h" #i...
#include "tensorflow/core/common_runtime/ring_gatherer.h" #include <algorithm> #include "absl/memory/memory.h" #include "tensorflow/core/common_runtime/base_collective_executor.h" #include "tensorflow/core/common_runtime/collective_rma_local.h" #include "tensorflow/core/common_runtime/collective_test_util.h" #include "...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/common_runtime/ring_gatherer.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/common_runtime/ring_gatherer_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
99f5a28d-e886-4282-beb8-9ab9d5c4ff0d
cpp
tensorflow/tensorflow
optimize_function_graph_utils
tensorflow/core/common_runtime/optimize_function_graph_utils.cc
tensorflow/core/common_runtime/optimize_function_graph_utils_test.cc
#include "tensorflow/core/common_runtime/optimize_function_graph_utils.h" #include <algorithm> #include <cstdlib> #include <iterator> #include <memory> #include <string> #include <type_traits> #include <unordered_map> #include <utility> #include <vector> #include "absl/status/status.h" #include "absl/strings/str_cat.h"...
#include "tensorflow/core/common_runtime/optimize_function_graph_utils.h" #include <memory> #include <vector> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "absl/strings/string_view.h" #include "absl/time/time.h" #include "xla/tsl/lib/core/status_test_util.h" #include "tensorflow/core/common_runtime/device...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/common_runtime/optimize_function_graph_utils.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/common_runtime/optimize_function_graph_utils_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
c6163921-3eb0-4635-9477-0c8012ec8a36
cpp
tensorflow/tensorflow
shape_refiner
tensorflow/core/common_runtime/shape_refiner.cc
tensorflow/core/common_runtime/shape_refiner_test.cc
#include "tensorflow/core/common_runtime/shape_refiner.h" #include <deque> #include <limits> #include <memory> #include <optional> #include <utility> #include <vector> #include "absl/container/flat_hash_set.h" #include "tensorflow/core/common_runtime/eval_const_tensor.h" #include "tensorflow/core/common_runtime/functio...
#include "tensorflow/core/common_runtime/shape_refiner.h" #include "tensorflow/cc/framework/scope.h" #include "tensorflow/cc/ops/resource_variable_ops.h" #include "tensorflow/cc/ops/standard_ops.h" #include "tensorflow/core/common_runtime/function_testlib.h" #include "tensorflow/core/framework/common_shape_fns.h" #incl...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/common_runtime/shape_refiner.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/common_runtime/shape_refiner_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
37982d4d-cc04-490b-a3c7-68edcd3f1dc4
cpp
tensorflow/tensorflow
gpu_bfc_allocator
tensorflow/core/common_runtime/gpu/gpu_bfc_allocator.cc
tensorflow/core/common_runtime/gpu/gpu_bfc_allocator_test.cc
#include "tensorflow/core/common_runtime/gpu/gpu_bfc_allocator.h" #include <cstdlib> #include <cstring> #include <memory> #include <string> #include <utility> #include "xla/tsl/framework/bfc_allocator.h" #include "tsl/platform/logging.h" namespace tensorflow { namespace { bool GetAllowGrowthValue(bool orig_value) { c...
#if (defined(GOOGLE_CUDA) && GOOGLE_CUDA) || \ (defined(TENSORFLOW_USE_ROCM) && TENSORFLOW_USE_ROCM) #include "tensorflow/core/common_runtime/gpu/gpu_bfc_allocator.h" #include <algorithm> #include <optional> #include <vector> #include "xla/stream_executor/gpu/gpu_driver.h" #include "xla/stream_executor/gpu/gpu_init...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/common_runtime/gpu/gpu_bfc_allocator.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/common_runtime/gpu/gpu_bfc_allocator_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
49b48a75-9413-4452-9358-84307792442c
cpp
tensorflow/tensorflow
gpu_debug_allocator
tensorflow/core/common_runtime/gpu/gpu_debug_allocator.cc
tensorflow/core/common_runtime/gpu/gpu_debug_allocator_test.cc
#include "tensorflow/core/common_runtime/gpu/gpu_debug_allocator.h" #include <cstddef> #include <cstdint> #include <optional> #include <vector> #include "xla/stream_executor/gpu/gpu_init.h" #include "xla/stream_executor/stream_executor.h" #include "xla/tsl/framework/device_id.h" #include "tsl/platform/logging.h" #inclu...
#if (defined(GOOGLE_CUDA) && GOOGLE_CUDA) || \ (defined(TENSORFLOW_USE_ROCM) && TENSORFLOW_USE_ROCM) #include "tensorflow/core/common_runtime/gpu/gpu_debug_allocator.h" #include <algorithm> #include <vector> #include "xla/stream_executor/gpu/gpu_init.h" #include "xla/stream_executor/platform.h" #include "xla/stream...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/common_runtime/gpu/gpu_debug_allocator.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/common_runtime/gpu/gpu_debug_allocator_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
890fb4c1-2de7-4aa0-846d-d9612a5dfe98
cpp
tensorflow/tensorflow
gpu_serving_device_selector
tensorflow/core/common_runtime/gpu/gpu_serving_device_selector.cc
tensorflow/core/common_runtime/gpu/gpu_serving_device_selector_test.cc
#include "tensorflow/core/common_runtime/gpu/gpu_serving_device_selector.h" #include <algorithm> #include <cstdint> #include <memory> #include <utility> #include "absl/base/attributes.h" #include "absl/container/fixed_array.h" #include "absl/log/check.h" #include "absl/log/log.h" #include "absl/strings/string_view.h" #...
#include "tensorflow/core/common_runtime/gpu/gpu_serving_device_selector.h" #include <cstdint> #include <memory> #include <string> #include <utility> #include <gtest/gtest.h> #include "absl/time/clock.h" #include "xla/tsl/framework/serving_device_selector.h" #include "xla/tsl/framework/serving_device_selector_policies....
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/common_runtime/gpu/gpu_serving_device_selector.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/common_runtime/gpu/gpu_serving_device_selector_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
c1d79aab-385a-4f6f-bd49-cd1c141acb1c
cpp
tensorflow/tensorflow
gpu_device
tensorflow/core/common_runtime/gpu/gpu_device.cc
tensorflow/core/common_runtime/gpu/gpu_device_test.cc
#if (defined(GOOGLE_CUDA) && GOOGLE_CUDA) || \ (defined(TENSORFLOW_USE_ROCM) && TENSORFLOW_USE_ROCM) #if (defined(PLATFORM_GOOGLE) && defined(TF_PLATFORM_LINUX_X86_64)) #define TF_GPU_USE_PJRT #endif #if TENSORFLOW_USE_ROCM #include "rocm/include/hip/hip_runtime.h" #endif #define EIGEN_USE_GPU #include <stdlib.h>...
#if GOOGLE_CUDA || TENSORFLOW_USE_ROCM #if (defined(PLATFORM_GOOGLE) && defined(TF_PLATFORM_LINUX_X86_64)) #define TF_GPU_USE_PJRT #endif #include "tensorflow/core/common_runtime/gpu/gpu_device.h" #include "xla/stream_executor/gpu/gpu_cudamallocasync_allocator.h" #include "xla/stream_executor/gpu/gpu_init.h" #include...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/common_runtime/gpu/gpu_device.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/common_runtime/gpu/gpu_device_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
56c494af-7b20-485f-bb65-2e34dfb9d524
cpp
tensorflow/tensorflow
c_plugin_coordination_service_agent
tensorflow/core/common_runtime/next_pluggable_device/c_plugin_coordination_service_agent.cc
tensorflow/core/common_runtime/next_pluggable_device/c_plugin_coordination_service_agent_test.cc
#include "tensorflow/core/common_runtime/next_pluggable_device/c_plugin_coordination_service_agent.h" #include <string> #include <string_view> #include "absl/time/time.h" #include "tensorflow/c/experimental/next_pluggable_device/c_api.h" #include "tensorflow/c/tf_buffer.h" #include "tensorflow/c/tf_status.h" #include "...
#include "tensorflow/core/common_runtime/next_pluggable_device/c_plugin_coordination_service_agent.h" #include <memory> #include <ostream> #include <string> #include <utility> #include "absl/log/check.h" #include "absl/log/log.h" #include "absl/status/status.h" #include "absl/time/time.h" #include "xla/tsl/distributed_...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/common_runtime/next_pluggable_device/c_plugin_coordination_service_agent.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/common_runtime/next_pluggable_device/c_plugin_coordination_service_agent_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
f5f7b9eb-13c0-4e83-beba-fbe9edad6cf3
cpp
tensorflow/tensorflow
device_event_mgr
tensorflow/core/common_runtime/device/device_event_mgr.cc
tensorflow/core/common_runtime/device/device_event_mgr_test.cc
#include "tensorflow/core/common_runtime/device/device_event_mgr.h" #include <functional> #include <memory> #include <utility> #include "tensorflow/core/platform/stacktrace.h" #include "tensorflow/core/platform/stream_executor.h" #include "tensorflow/core/protobuf/config.pb.h" #include "tsl/platform/thread_annotations....
#if GOOGLE_CUDA || TENSORFLOW_USE_ROCM #include "tensorflow/core/common_runtime/device/device_event_mgr.h" #include <atomic> #include "xla/stream_executor/gpu/gpu_init.h" #include "xla/tsl/framework/device_id.h" #include "tensorflow/core/common_runtime/dma_helper.h" #include "tensorflow/core/common_runtime/gpu/gpu_devi...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/common_runtime/device/device_event_mgr.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/common_runtime/device/device_event_mgr_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
abb610d2-6795-47fc-9ff4-a077f44ff498
cpp
tensorflow/tensorflow
kernel_and_device
tensorflow/core/common_runtime/eager/kernel_and_device.cc
tensorflow/core/common_runtime/eager/kernel_and_device_test.cc
#include "tensorflow/core/common_runtime/eager/kernel_and_device.h" #include <functional> #include <memory> #include <optional> #include <utility> #include <vector> #include "absl/status/status.h" #include "absl/strings/match.h" #include "absl/types/optional.h" #include "tensorflow/core/common_runtime/device_factory.h"...
#include "tensorflow/core/common_runtime/eager/kernel_and_device.h" #include <memory> #include <optional> #include <utility> #include <vector> #include "absl/memory/memory.h" #include "absl/types/optional.h" #include "tensorflow/cc/client/client_session.h" #include "tensorflow/cc/framework/ops.h" #include "tensorflow/c...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/common_runtime/eager/kernel_and_device.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/common_runtime/eager/kernel_and_device_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
bd82b62c-d379-4d92-a458-68403e5ddeac
cpp
tensorflow/tensorflow
eager_executor
tensorflow/core/common_runtime/eager/eager_executor.cc
tensorflow/core/common_runtime/eager/eager_executor_test.cc
#include "tensorflow/core/common_runtime/eager/eager_executor.h" #include <forward_list> #include <functional> #include <memory> #include <utility> #include "tensorflow/core/lib/core/errors.h" #include "tensorflow/core/lib/gtl/cleanup.h" #include "tensorflow/core/util/env_var.h" namespace tensorflow { namespace { bool ...
#include "tensorflow/core/common_runtime/eager/eager_executor.h" #include <memory> #include <utility> #include "xla/tsl/lib/core/status_test_util.h" #include "tensorflow/core/platform/status.h" #include "tensorflow/core/platform/status_matchers.h" #include "tensorflow/core/platform/test.h" #include "tsl/platform/status...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/common_runtime/eager/eager_executor.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/common_runtime/eager/eager_executor_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
0ecbd68f-03dc-483c-bf7d-7c2e09656484
cpp
tensorflow/tensorflow
eager_op_rewrite_registry
tensorflow/core/common_runtime/eager/eager_op_rewrite_registry.cc
tensorflow/core/common_runtime/eager/eager_op_rewrite_registry_test.cc
#include "tensorflow/core/common_runtime/eager/eager_op_rewrite_registry.h" #include <memory> #include <utility> namespace tensorflow { EagerOpRewriteRegistry* EagerOpRewriteRegistry::Global() { static EagerOpRewriteRegistry* global_rewrite_registry = new EagerOpRewriteRegistry; return global_rewrite_registry...
#include "tensorflow/core/common_runtime/eager/eager_op_rewrite_registry.h" #include <memory> #include "tensorflow/core/platform/test.h" namespace tensorflow { class TestEagerOpRewrite : public EagerOpRewrite { public: TestEagerOpRewrite(string name, string file, string line) : EagerOpRewrite(name, file, line)...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/common_runtime/eager/eager_op_rewrite_registry.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/common_runtime/eager/eager_op_rewrite_registry_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
ace438f3-1171-4bf3-b5af-b4186736073d
cpp
tensorflow/tensorflow
mkl_eager_op_rewrite
tensorflow/core/common_runtime/eager/mkl_eager_op_rewrite.cc
tensorflow/core/common_runtime/eager/mkl_eager_op_rewrite_test.cc
#ifdef INTEL_MKL #include <string> #include <unordered_map> #include "tensorflow/core/common_runtime/eager/eager_op_rewrite_registry.h" #include "tensorflow/core/graph/mkl_graph_util.h" #include "tensorflow/core/lib/core/status.h" #include "tensorflow/core/util/mkl_util.h" #include "tensorflow/core/util/util.h" namespa...
#if defined(INTEL_MKL) && defined(ENABLE_MKL) #include "tensorflow/core/common_runtime/device_mgr.h" #include "tensorflow/core/common_runtime/eager/eager_op_rewrite_registry.h" #include "tensorflow/core/framework/rendezvous.h" #include "tensorflow/core/platform/test.h" #include "tensorflow/core/util/mkl_util.h" namespa...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/common_runtime/eager/mkl_eager_op_rewrite.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/common_runtime/eager/mkl_eager_op_rewrite_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
594ee246-0ac1-404d-aa23-48f0f2123e9b
cpp
tensorflow/tensorflow
context
tensorflow/core/tfrt/mlrt/interpreter/context.cc
tensorflow/core/tfrt/mlrt/interpreter/context_test.cc
#include "tensorflow/core/tfrt/mlrt/interpreter/context.h" #include "absl/log/check.h" #include "absl/strings/string_view.h" #include "tensorflow/core/tfrt/mlrt/bytecode/executable.h" namespace mlrt { namespace context_internal { UserContextBase::~UserContextBase() = default; } void KernelRegistry::Register(absl::strin...
#include "tensorflow/core/tfrt/mlrt/interpreter/context.h" #include <memory> #include <utility> #include <gtest/gtest.h> #include "absl/log/log.h" #include "absl/status/status.h" namespace mlrt { namespace { struct A : KernelFrame { static constexpr char kName[] = "A"; using KernelFrame::KernelFrame; void Invoke(...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/tfrt/mlrt/interpreter/context.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/tfrt/mlrt/interpreter/context_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
ce1df6e4-04ce-46d9-852f-1d19564385cf
cpp
tensorflow/tensorflow
tensor_handle
tensorflow/core/common_runtime/eager/tensor_handle.cc
tensorflow/core/common_runtime/eager/tensor_handle_test.cc
#include "tensorflow/core/common_runtime/eager/tensor_handle.h" #include <algorithm> #include <cstddef> #include <map> #include <memory> #include <queue> #include <string> #include <tuple> #include <utility> #include <variant> #include <vector> #include "absl/status/status.h" #include "absl/strings/str_cat.h" #include ...
#include "tensorflow/core/common_runtime/eager/tensor_handle.h" #include <iostream> #include <memory> #include <string> #include <utility> #include <vector> #include "absl/cleanup/cleanup.h" #include "tensorflow/core/common_runtime/composite_device.h" #include "tensorflow/core/common_runtime/device_mgr.h" #include "ten...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/common_runtime/eager/tensor_handle.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/common_runtime/eager/tensor_handle_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
c5092579-ad27-4d89-8e94-e52defb886c3
cpp
tensorflow/tensorflow
custom_device
tensorflow/core/common_runtime/eager/custom_device.cc
tensorflow/c/eager/custom_device_test.cc
#include "tensorflow/core/common_runtime/eager/custom_device.h" #include <utility> #include <vector> #include "tensorflow/core/common_runtime/eager/custom_device_op_handler.h" namespace tensorflow { Status CustomDeviceTensorHandle::Shape(PartialTensorShape* shape) const { int num_dims; TF_RETURN_IF_ERROR(NumDims(&n...
#include <memory> #include "absl/strings/match.h" #include "tensorflow/c/c_api.h" #include "tensorflow/c/eager/c_api.h" #include "tensorflow/c/eager/c_api_experimental.h" #include "tensorflow/c/eager/c_api_test_util.h" #include "tensorflow/c/eager/custom_device_testutil.h" #include "tensorflow/c/tf_status.h" #include "...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/common_runtime/eager/custom_device.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/c/eager/custom_device_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
6fbcfd3c-c07b-407f-91b7-5614abd60af0
cpp
tensorflow/tensorflow
execute
tensorflow/core/tfrt/mlrt/interpreter/execute.cc
tensorflow/core/common_runtime/eager/execute_test.cc
#include "tensorflow/core/tfrt/mlrt/interpreter/execute.h" #include <cstdint> #include <string> #include <utility> #include "absl/log/check.h" #include "absl/log/log.h" #include "absl/status/status.h" #include "absl/strings/str_cat.h" #include "tensorflow/core/tfrt/mlrt/bytecode/kernel.h" #include "tensorflow/core/tfrt...
#include "tensorflow/core/common_runtime/eager/execute.h" #include <memory> #include <utility> #include <vector> #include "tensorflow/core/framework/full_type.pb.h" #include "tensorflow/core/framework/tensor_testutil.h" #include "tensorflow/core/lib/core/status_test_util.h" #include "tensorflow/core/lib/monitoring/cell...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/tfrt/mlrt/interpreter/execute.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/common_runtime/eager/execute_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
51490e3e-50c8-4a6d-a209-b93fee91cf59
cpp
tensorflow/tensorflow
execute_node
tensorflow/core/common_runtime/eager/execute_node.cc
tensorflow/core/common_runtime/eager/execute_node_test.cc
#include "tensorflow/core/common_runtime/eager/execute_node.h" #include "xla/tsl/util/env_var.h" #include "tensorflow/core/common_runtime/eager/context.h" #include "tensorflow/core/lib/core/errors.h" namespace tensorflow { #if !defined(IS_MOBILE_PLATFORM) bool ExecuteNodeArgs::IsRemote(EagerContext* ctx, Device* input_...
#include "tensorflow/core/common_runtime/eager/execute_node.h" #include <memory> #include <optional> #include <utility> #include <vector> #include "tensorflow/core/common_runtime/composite_device.h" #include "tensorflow/core/common_runtime/device_mgr.h" #include "tensorflow/core/common_runtime/eager/context.h" #include...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/common_runtime/eager/execute_node.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/common_runtime/eager/execute_node_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
b2e87421-cde3-430f-bfe2-9faaf3f39e73
cpp
tensorflow/tensorflow
placement_utils
tensorflow/core/common_runtime/eager/placement_utils.cc
tensorflow/core/common_runtime/eager/placement_utils_test.cc
#include "tensorflow/core/common_runtime/eager/placement_utils.h" #include <variant> #include "absl/status/status.h" #include "tensorflow/c/eager/immediate_execution_tensor_handle.h" #include "tensorflow/core/common_runtime/eager/attr_builder.h" #include "tensorflow/core/common_runtime/eager/custom_device.h" #include "...
#include "tensorflow/core/common_runtime/eager/placement_utils.h" #include <memory> #include <string> #include <utility> #include <vector> #include <gtest/gtest.h> #include "tensorflow/c/eager/immediate_execution_tensor_handle.h" #include "xla/tsl/lib/core/status_test_util.h" #include "tensorflow/core/common_runtime/de...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/common_runtime/eager/placement_utils.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/common_runtime/eager/placement_utils_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
80a4a321-6ecd-4fb0-b3a8-a72aa0335a14
cpp
tensorflow/tensorflow
summary_optimizer
tensorflow/core/common_runtime/eager/summary_optimizer.cc
tensorflow/core/common_runtime/eager/summary_optimizer_test.cc
#include "tensorflow/core/common_runtime/eager/summary_optimizer.h" #include <iterator> #include <string> #include <utility> #include <vector> #include "absl/algorithm/container.h" #include "absl/container/flat_hash_set.h" #include "absl/strings/str_cat.h" #include "absl/strings/str_split.h" #include "absl/strings/stri...
#include "tensorflow/core/common_runtime/eager/summary_optimizer.h" #include <algorithm> #include <string> #include <vector> #include "xla/tsl/lib/core/status_test_util.h" #include "tensorflow/core/framework/attr_value.pb.h" #include "tensorflow/core/framework/function.h" #include "tensorflow/core/framework/function.pb...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/common_runtime/eager/summary_optimizer.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/common_runtime/eager/summary_optimizer_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
7a5d48b6-b23a-4473-9c78-e527da0dec6b
cpp
tensorflow/tensorflow
tensor_handle_data
tensorflow/core/common_runtime/eager/tensor_handle_data.cc
tensorflow/core/common_runtime/eager/tensor_handle_data_test.cc
#include "tensorflow/core/common_runtime/eager/tensor_handle_data.h" #include <utility> #include <variant> #include "tensorflow/core/common_runtime/eager/eager_executor.h" #include "tensorflow/core/lib/core/status.h" #include "tensorflow/core/lib/strings/strcat.h" #include "tensorflow/core/profiler/lib/traceme.h" names...
#include "tensorflow/core/common_runtime/eager/tensor_handle_data.h" #include <utility> #include "tensorflow/core/lib/core/status_test_util.h" #include "tensorflow/core/platform/status_matchers.h" #include "tensorflow/core/platform/test.h" namespace tensorflow { namespace { TEST(TensorHandleData, TensorAttribute) { T...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/common_runtime/eager/tensor_handle_data.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/common_runtime/eager/tensor_handle_data_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
c83ba0db-1096-4396-a51b-56cd13874e1c
cpp
tensorflow/tensorflow
attr_builder
tensorflow/core/common_runtime/eager/attr_builder.cc
tensorflow/core/common_runtime/eager/attr_builder_test.cc
#include "tensorflow/core/common_runtime/eager/attr_builder.h" #include <memory> #include "absl/status/status.h" #include "tensorflow/core/common_runtime/device_factory.h" #include "tensorflow/core/common_runtime/rendezvous_mgr.h" #include "tensorflow/core/framework/allocator.h" #include "tensorflow/core/framework/attr...
#include "tensorflow/core/common_runtime/eager/attr_builder.h" #include <memory> #include <vector> #include "tensorflow/c/c_api.h" #include "tensorflow/cc/client/client_session.h" #include "tensorflow/cc/framework/ops.h" #include "tensorflow/cc/framework/scope.h" #include "tensorflow/cc/ops/standard_ops.h" #include "te...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/common_runtime/eager/attr_builder.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/common_runtime/eager/attr_builder_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
7801b87e-4f22-4f70-8c3c-dc16e2b87f00
cpp
tensorflow/tensorflow
eager_operation
tensorflow/core/common_runtime/eager/eager_operation.cc
tensorflow/core/common_runtime/eager/eager_operation_test.cc
#include "tensorflow/core/common_runtime/eager/eager_operation.h" #include <memory> #include <string> #include <variant> #include <vector> #include "absl/status/status.h" #include "absl/strings/str_cat.h" #include "absl/types/span.h" #include "tensorflow/c/eager/abstract_operation.h" #include "tensorflow/c/eager/abstra...
#include "tensorflow/core/common_runtime/eager/eager_operation.h" #include "tensorflow/core/lib/core/status_test_util.h" #include "tensorflow/core/platform/errors.h" #include "tensorflow/core/platform/test.h" namespace tensorflow { namespace { TEST(EagerOperationTest, DeviceName) { StaticDeviceMgr device_mgr(DeviceFa...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/common_runtime/eager/eager_operation.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/common_runtime/eager/eager_operation_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
55dc148d-bb3c-4c44-8572-b7c721de9c6b
cpp
tensorflow/tensorflow
update_api_def
tensorflow/core/api_def/update_api_def.cc
tensorflow/core/api_def/update_api_def_test.cc
#include "tensorflow/core/api_def/update_api_def.h" #include <ctype.h> #include <algorithm> #include <string> #include <vector> #include "tensorflow/core/api_def/excluded_ops.h" #include "tensorflow/core/framework/api_def.pb.h" #include "tensorflow/core/framework/op.h" #include "tensorflow/core/framework/op_def_builder...
#include "tensorflow/core/api_def/update_api_def.h" #include "tensorflow/core/framework/op_def.pb.h" #include "tensorflow/core/lib/core/status_test_util.h" #include "tensorflow/core/lib/io/path.h" #include "tensorflow/core/platform/env.h" #include "tensorflow/core/platform/test.h" namespace tensorflow { namespace { TES...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/api_def/update_api_def.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/api_def/update_api_def_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
f86148fb-f654-4d7d-b45a-5e7e21319870
cpp
tensorflow/tensorflow
runtime_client
tensorflow/core/function/runtime_client/runtime_client.cc
tensorflow/core/function/runtime_client/runtime_client_test.cc
#include "tensorflow/core/function/runtime_client/runtime_client.h" #include <memory> #include <string> #include <utility> #include <vector> #include "absl/strings/match.h" #include "absl/strings/str_cat.h" #include "absl/types/span.h" #include "mlir/IR/MLIRContext.h" #include "mlir/Pass/PassManager.h" #include "ml...
#include "tensorflow/core/function/runtime_client/runtime_client.h" #include <stdint.h> #include <memory> #include <utility> #include <vector> #include "absl/types/span.h" #include "mlir/Parser/Parser.h" #include "tensorflow/c/eager/immediate_execution_tensor_handle.h" #include "tensorflow/c/tensor_interface.h" #incl...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/function/runtime_client/runtime_client.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/function/runtime_client/runtime_client_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
acb6e25d-5035-4121-96bc-58bf96d1e10c
cpp
tensorflow/tensorflow
graph_executor
tensorflow/core/tfrt/graph_executor/graph_executor.cc
tensorflow/core/tfrt/graph_executor/graph_executor_test.cc
#include "tensorflow/core/tfrt/graph_executor/graph_executor.h" #include <algorithm> #include <array> #include <cstdint> #include <functional> #include <memory> #include <numeric> #include <optional> #include <string> #include <utility> #include <vector> #include "absl/container/inlined_vector.h" #include "absl/log/che...
#include "tensorflow/core/tfrt/graph_executor/graph_executor.h" #include <cstdint> #include <memory> #include <string> #include <utility> #include <vector> #include "learning/brain/experimental/tfrt/native_lowering/kernels/math_kernels.h" #include "learning/brain/experimental/tfrt/native_lowering/kernels/sync_fallback_...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/tfrt/graph_executor/graph_executor.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/tfrt/graph_executor/graph_executor_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
dba42569-ea24-4bc0-b340-9f383dc1dacc
cpp
tensorflow/tensorflow
config
tensorflow/compiler/mlir/quantization/stablehlo/cc/config.cc
tensorflow/compiler/mlir/quantization/stablehlo/cc/config_test.cc
#include "tensorflow/compiler/mlir/quantization/stablehlo/cc/config.h" #include <utility> #include "tensorflow/compiler/mlir/quantization/stablehlo/quantization_config.pb.h" namespace stablehlo::quantization { namespace { void PopulateDefaultCalibrationOptions(QuantizationConfig& quant_config) { if (!quant_config.has...
#include "tensorflow/compiler/mlir/quantization/stablehlo/cc/config.h" #include <gmock/gmock.h> #include <gtest/gtest.h> #include "tensorflow/compiler/mlir/quantization/stablehlo/quantization_config.pb.h" namespace stablehlo::quantization { namespace { using ::testing::Eq; using ::testing::SizeIs; using ::testing::StrE...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/compiler/mlir/quantization/stablehlo/cc/config.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/compiler/mlir/quantization/stablehlo/cc/config_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
34fb00dd-c8fd-49ca-aa3d-7b157bea692d
cpp
tensorflow/tensorflow
tfrt_session
tensorflow/core/tfrt/tfrt_session/tfrt_session.cc
tensorflow/core/tfrt/tfrt_session/tfrt_session_test.cc
#include "tensorflow/core/tfrt/tfrt_session/tfrt_session.h" #include <algorithm> #include <cassert> #include <cstdint> #include <functional> #include <memory> #include <optional> #include <string> #include <unordered_map> #include <utility> #include <vector> #include "absl/base/thread_annotations.h" #include "absl/cont...
#include "tensorflow/core/tfrt/tfrt_session/tfrt_session.h" #include <cstdint> #include <memory> #include <string> #include <utility> #include <vector> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "absl/memory/memory.h" #include "absl/time/time.h" #include "tensorflow/cc/framework/ops.h" #include "tensorf...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/tfrt/tfrt_session/tfrt_session.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/tfrt/tfrt_session/tfrt_session_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
f83f267d-434a-4484-9e69-3ad4689bb579
cpp
tensorflow/tensorflow
stream_ops_util
tensorflow/core/tfrt/kernels/stream_ops_util.cc
tensorflow/core/tfrt/kernels/stream_ops_util_test.cc
#include "tensorflow/core/tfrt/kernels/stream_ops_util.h" #include <cstdint> #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 "absl/strings/str_cat.h" #include "absl/types/span.h" #include ...
#include "tensorflow/core/tfrt/kernels/stream_ops_util.h" #include <cstdint> #include <vector> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "tensorflow/core/framework/tensor.h" #include "tensorflow/core/framework/tensor_matcher.h" #include "tensorflow/core/framework/tensor_testutil.h" #include "tensorflow...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/tfrt/kernels/stream_ops_util.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/tfrt/kernels/stream_ops_util_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
af8c8af1-7b5b-4942-b777-1f91251c6e5a
cpp
tensorflow/tensorflow
ifrt_program_ops
tensorflow/core/tfrt/ops/ifrt_program_ops.cc
tensorflow/core/tfrt/kernels/ifrt_program_ops_test.cc
#include "tensorflow/core/framework/common_shape_fns.h" #include "tensorflow/core/framework/op.h" namespace tensorflow { namespace tfrt_stub { REGISTER_OP("IfrtCall") .Input("args: Tin") .Output("results: Tout") .Attr("Tin: list(type) >= 0") .Attr("Tout: list(type) >= 0") .Attr("program_id: int") ...
#include <cstdint> #include <memory> #include <utility> #include <vector> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "absl/strings/str_cat.h" #include "absl/strings/string_view.h" #include "absl/types/span.h" #include "xla/python/ifrt/test_util.h" #include "xla/tsl/framework/serving_device_selector.h" #...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/tfrt/ops/ifrt_program_ops.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/tfrt/kernels/ifrt_program_ops_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
066c5d82-ae42-4a0c-8c65-e9015f33cc6c
cpp
tensorflow/tensorflow
gpu_runner
tensorflow/core/tfrt/gpu/kernel/gpu_runner.cc
tensorflow/core/tfrt/gpu/kernel/gpu_runner_test.cc
#include "tensorflow/core/tfrt/gpu/kernel/gpu_runner.h" #include <cstddef> #include <cstdint> #include <memory> #include <optional> #include <string> #include <utility> #include <vector> #include "absl/container/flat_hash_map.h" #include "absl/container/flat_hash_set.h" #include "absl/log/check.h" #include "absl/log/lo...
#if GOOGLE_CUDA || TENSORFLOW_USE_ROCM #include "tensorflow/core/tfrt/gpu/kernel/gpu_runner.h" #include <memory> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "tensorflow/cc/framework/scope.h" #include "tensorflow/cc/ops/function_ops.h" #include "tensorflow/cc/ops/math_ops.h" #include "xla/tsl/framework/se...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/tfrt/gpu/kernel/gpu_runner.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/tfrt/gpu/kernel/gpu_runner_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
402174c6-7916-42b0-b0e0-b7990900b8d6
cpp
tensorflow/tensorflow
saved_model
tensorflow/compiler/mlir/tfrt/saved_model/saved_model.cc
tensorflow/compiler/mlir/tfrt/tests/saved_model/saved_model_test.cc
#include "tensorflow/compiler/mlir/tfrt/saved_model/saved_model.h" #include <utility> #include "absl/status/status.h" #include "absl/status/statusor.h" #include "llvm/ADT/STLFunctionalExtras.h" #include "llvm/ADT/SmallVector.h" #include "llvm/ADT/StringRef.h" #include "mlir/Dialect/Func/IR/FuncOps.h" #include "mlir/I...
#include "tensorflow/compiler/mlir/tfrt/saved_model/saved_model.h" #include <string> #include <utility> #include <vector> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "llvm/ADT/STLExtras.h" #include "llvm/Support/Casting.h" #include "mlir/IR/DialectRegistry.h" #include "mlir/IR/MLIRContext.h" #include...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/compiler/mlir/tfrt/saved_model/saved_model.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/compiler/mlir/tfrt/tests/saved_model/saved_model_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
5c3a7bc1-a537-48b5-8488-5855798de70c
cpp
tensorflow/tensorflow
serialize_utils
tensorflow/core/tfrt/saved_model/utils/serialize_utils.cc
tensorflow/core/tfrt/saved_model/utils/serialize_utils_test.cc
#include "tensorflow/core/tfrt/saved_model/utils/serialize_utils.h" #include <cstring> #include <memory> #include <string> #include "absl/status/status.h" #include "llvm/Support/ToolOutputFile.h" #include "mlir/Support/FileUtilities.h" #include "tensorflow/compiler/mlir/tensorflow/utils/dump_mlir_util.h" #include "te...
#include "tensorflow/core/tfrt/saved_model/utils/serialize_utils.h" #include <cstdlib> #include <memory> #include <string> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "mlir/IR/OwningOpRef.h" #include "mlir/Parser/Parser.h" #include "tensorflow/compiler/mlir/tensorflow/dialect_registration.h" #include...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/tfrt/saved_model/utils/serialize_utils.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/tfrt/saved_model/utils/serialize_utils_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
8a3f8588-637c-45e9-a35c-80b3a7189e17
cpp
tensorflow/tensorflow
cost_recorder
tensorflow/core/tfrt/fallback/cost_recorder.cc
tensorflow/core/tfrt/fallback/cost_recorder_test.cc
#include "tensorflow/core/tfrt/fallback/cost_recorder.h" #include <limits> #include <string> #include "absl/container/flat_hash_map.h" #include "tensorflow/core/platform/env.h" #include "tensorflow/core/platform/mutex.h" #include "tensorflow/core/platform/status.h" #include "tensorflow/core/tfrt/fallback/op_cost_map.pb...
#include "tensorflow/core/tfrt/fallback/cost_recorder.h" #include <limits> #include <string> #include <gtest/gtest.h> #include "tensorflow/core/platform/env.h" #include "tensorflow/core/tfrt/fallback/op_cost_map.pb.h" namespace tensorflow { namespace tfrt_stub { namespace { constexpr int64_t kTestOpKey = 1; constexpr u...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/tfrt/fallback/cost_recorder.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/tfrt/fallback/cost_recorder_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
a547991a-c996-49e1-9bda-5e264c5885da
cpp
tensorflow/tensorflow
fallback_state
tensorflow/core/tfrt/fallback/fallback_state.cc
tensorflow/core/tfrt/fallback/fallback_state_test.cc
#include "tensorflow/core/tfrt/fallback/fallback_state.h" #include <cstddef> #include <cstdint> #include <memory> #include <new> #include <utility> #include <variant> #include <vector> #include "absl/base/nullability.h" #include "absl/status/status.h" #include "absl/status/statusor.h" #include "absl/strings/string_view...
#include "tensorflow/core/tfrt/fallback/fallback_state.h" #include <memory> #include <utility> #include <variant> #include <vector> #include "absl/base/nullability.h" #include "tensorflow/cc/framework/ops.h" #include "tensorflow/cc/framework/scope.h" #include "tensorflow/cc/ops/const_op.h" #include "xla/tsl/lib/core/st...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/tfrt/fallback/fallback_state.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/tfrt/fallback/fallback_state_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
55717161-4c5c-47f4-9796-477dd280f8de
cpp
tensorflow/tensorflow
op_kernel_runner
tensorflow/core/tfrt/fallback/op_kernel_runner.cc
tensorflow/core/tfrt/fallback/op_kernel_runner_test.cc
#include "tensorflow/core/tfrt/fallback/op_kernel_runner.h" #include <functional> #include <memory> #include <string> #include <utility> #include "tensorflow/core/platform/errors.h" namespace tensorflow { namespace tfrt_stub { namespace { Status CheckOpDefCompatibility(const tensorflow::OpDef& op_def) { auto check_ar...
#include "tensorflow/core/tfrt/fallback/op_kernel_runner.h" #include <memory> #include <string> #include <vector> #include "tensorflow/core/framework/device_base.h" #include "tensorflow/core/framework/device_factory.h" #include "tensorflow/core/framework/op_kernel.h" #include "tensorflow/core/framework/tensor.h" #inclu...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/tfrt/fallback/op_kernel_runner.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/tfrt/fallback/op_kernel_runner_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
9023f77c-6d2f-4bb9-b69d-4e2e666b234d
cpp
tensorflow/tensorflow
stream
tensorflow/core/tfrt/runtime/stream.cc
tensorflow/core/tfrt/runtime/stream_test.cc
#include "tensorflow/core/tfrt/runtime/stream.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/functional/any_invocable.h" #include "absl/log/check.h" #inc...
#include "tensorflow/core/tfrt/runtime/stream.h" #include <cstdint> #include <functional> #include <memory> #include <string> #include <utility> #include <vector> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "absl/container/flat_hash_map.h" #include "absl/log/check.h" #include "absl/log/log.h" #include "a...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/tfrt/runtime/stream.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/tfrt/runtime/stream_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
4e6fafa5-5d2d-4a50-9c2d-5cb980bc6d2e
cpp
tensorflow/tensorflow
runtime
tensorflow/lite/delegates/gpu/gl/runtime.cc
tensorflow/core/tfrt/runtime/runtime_test.cc
#include "tensorflow/lite/delegates/gpu/gl/runtime.h" #include <algorithm> #include <cstdint> #include <functional> #include <memory> #include <utility> #include <variant> #include <vector> #include "absl/status/status.h" #include "absl/strings/str_cat.h" #include "tensorflow/lite/delegates/gpu/common/data_type.h" #inc...
#include "tensorflow/core/tfrt/runtime/runtime.h" #include <gtest/gtest.h> namespace tensorflow { namespace tfrt_stub { namespace { TEST(RuntimeTest, GlobalRuntimeWorks) { EXPECT_EQ(GetGlobalRuntime(), nullptr); SetGlobalRuntime(Runtime::Create(4)); EXPECT_NE(GetGlobalRuntime(), nullptr); EXPECT_EQ(GetGlobalRun...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/delegates/gpu/gl/runtime.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/tfrt/runtime/runtime_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
6fdff665-ed54-4a1b-8aa2-c0280a997a05
cpp
tensorflow/tensorflow
tf_threadpool_concurrent_work_queue
tensorflow/core/tfrt/runtime/tf_threadpool_concurrent_work_queue.cc
tensorflow/core/tfrt/runtime/tf_threadpool_concurrent_work_queue_test.cc
#include "tensorflow/core/tfrt/runtime/tf_threadpool_concurrent_work_queue.h" #include <memory> #include <optional> #include <utility> #include "tensorflow/core/platform/errors.h" #include "tensorflow/core/platform/status.h" #include "tensorflow/core/platform/threadpool.h" #include "tensorflow/core/platform/threadpool_...
#include "tensorflow/core/tfrt/runtime/tf_threadpool_concurrent_work_queue.h" #include <memory> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "tensorflow/core/lib/core/status_test_util.h" #include "tensorflow/core/platform/errors.h" #include "tensorflow/core/platform/status_matchers.h" #include "tensorflow...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/tfrt/runtime/tf_threadpool_concurrent_work_queue.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/tfrt/runtime/tf_threadpool_concurrent_work_queue_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
bd13b244-2252-4f7c-8e58-0f8f18afb81d
cpp
tensorflow/tensorflow
work_queue_interface
tensorflow/core/tfrt/runtime/work_queue_interface.cc
tensorflow/core/tfrt/runtime/work_queue_interface_test.cc
#include "tensorflow/core/tfrt/runtime/work_queue_interface.h" #include <memory> #include <optional> #include <string> #include <utility> #include "tfrt/host_context/execution_context.h" namespace tensorflow { namespace tfrt_stub { namespace { class DefaultWorkQueueWrapper : public WorkQueueInterface { public: exp...
#include "tensorflow/core/tfrt/runtime/work_queue_interface.h" #include <thread> #include <utility> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "tensorflow/core/lib/core/status_test_util.h" #include "tensorflow/core/tfrt/utils/thread_pool.h" #include "tfrt/cpp_tests/test_util.h" #include "tfrt/host_con...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/tfrt/runtime/work_queue_interface.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/tfrt/runtime/work_queue_interface_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
b63e28df-3ad9-4432-842c-d1391ddc96bc
cpp
tensorflow/tensorflow
fallback_tensor
tensorflow/core/tfrt/utils/fallback_tensor.cc
tensorflow/core/tfrt/utils/fallback_tensor_test.cc
#include "tensorflow/core/tfrt/utils/fallback_tensor.h" #include <utility> #include "tensorflow/core/common_runtime/dma_helper.h" namespace tensorflow { namespace tfrt_stub { namespace { class ImmutableTensorBuffer final : public tensorflow::TensorBuffer { public: static tensorflow::core::RefCountPtr<ImmutableTensor...
#include "tensorflow/core/tfrt/utils/fallback_tensor.h" #include <gmock/gmock.h> #include <gtest/gtest.h> #include "tensorflow/core/common_runtime/dma_helper.h" #include "tensorflow/core/framework/tensor_shape.h" namespace tensorflow { namespace tfrt_stub { namespace { TEST(FallbackTensorTest, ImmutableTensor) { int3...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/tfrt/utils/fallback_tensor.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/tfrt/utils/fallback_tensor_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
b3e3da25-86c9-4535-8cb3-d5716a14c2c4
cpp
tensorflow/tensorflow
tfrt_graph_execution_state
tensorflow/core/tfrt/utils/tfrt_graph_execution_state.cc
tensorflow/core/tfrt/utils/tfrt_graph_execution_state_test.cc
#include "tensorflow/core/tfrt/utils/tfrt_graph_execution_state.h" #include <algorithm> #include <memory> #include <string> #include <unordered_map> #include <utility> #include <vector> #include "absl/container/flat_hash_map.h" #include "absl/container/flat_hash_set.h" #include "absl/synchronization/mutex.h" #include "...
#include "tensorflow/core/tfrt/utils/tfrt_graph_execution_state.h" #include <memory> #include <string> #include <utility> #include <vector> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "tensorflow/cc/ops/array_ops.h" #include "tensorflow/cc/ops/const_op.h" #include "tensorflow/cc/ops/functional_ops.h" #in...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/tfrt/utils/tfrt_graph_execution_state.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/tfrt/utils/tfrt_graph_execution_state_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
c8b735fe-1061-46a4-98c4-74adb45572e5
cpp
tensorflow/tensorflow
node_io_dump_rewriter
tensorflow/core/tfrt/utils/debug/node_io_dump_rewriter.cc
tensorflow/core/tfrt/utils/debug/node_io_dump_rewriter_test.cc
#include "tensorflow/core/tfrt/utils/debug/node_io_dump_rewriter.h" #include <cstdlib> #include <memory> #include <string> #include <vector> #include "absl/container/flat_hash_set.h" #include "absl/status/status.h" #include "absl/status/statusor.h" #include "absl/strings/str_cat.h" #include "absl/strings/string_view.h"...
#include "tensorflow/core/tfrt/utils/debug/node_io_dump_rewriter.h" #include <dirent.h> #include <cstddef> #include <cstdint> #include <cstring> #include <memory> #include <string> #include <vector> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "absl/log/check.h" #include "absl/status/status.h" #include "a...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/tfrt/utils/debug/node_io_dump_rewriter.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/tfrt/utils/debug/node_io_dump_rewriter_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
2f94b5e9-140b-4097-af52-b4d19366be44
cpp
tensorflow/tensorflow
create_pjrt_client_util
tensorflow/core/tfrt/common/create_pjrt_client_util.cc
tensorflow/core/tfrt/common/create_pjrt_client_util_test.cc
#include "tensorflow/core/tfrt/common/create_pjrt_client_util.h" #include <optional> #include <set> #include "absl/status/status.h" #include "absl/status/statusor.h" #include "xla/pjrt/pjrt_client.h" #include "tensorflow/core/framework/resource_mgr.h" #include "tensorflow/core/framework/types.h" #include "tensorflow/co...
#include "tensorflow/core/tfrt/common/create_pjrt_client_util.h" #include "absl/strings/str_cat.h" #include "tensorflow/compiler/tf2xla/xla_op_registry.h" #include "tensorflow/core/framework/types.h" #include "tsl/platform/status_matchers.h" namespace tensorflow { namespace { using ::testing::HasSubstr; using ::tsl::...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/tfrt/common/create_pjrt_client_util.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/tfrt/common/create_pjrt_client_util_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
6e49f4a9-c87d-4ea6-9c68-73d8c7379601
cpp
tensorflow/tensorflow
pjrt_state
tensorflow/core/tfrt/common/pjrt_state.cc
tensorflow/core/tfrt/common/pjrt_state_test.cc
#include "tensorflow/core/tfrt/common/pjrt_state.h" #include <memory> #include <utility> #include "absl/status/status.h" #include "absl/status/statusor.h" #include "absl/synchronization/mutex.h" #include "xla/pjrt/pjrt_client.h" #include "xla/pjrt/tf_pjrt_client.h" #include "tensorflow/core/framework/types.h" #include ...
#include "tensorflow/core/tfrt/common/pjrt_state.h" #include <memory> #include <utility> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "xla/pjrt/cpu/cpu_client.h" #include "xla/pjrt/pjrt_client.h" #include "xla/tsl/lib/core/status_test_util.h" #include "tensorflow/core/framework/types.h" #include "tensorfl...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/tfrt/common/pjrt_state.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/tfrt/common/pjrt_state_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
7569af85-4644-4ab1-890f-3d81139b5f07
cpp
tensorflow/tensorflow
pjrt_gpu_client_registration
tensorflow/core/tfrt/common/pjrt_gpu_client_registration.cc
tensorflow/core/tfrt/common/pjrt_gpu_client_registration_test.cc
#include <memory> #include <utility> #include "absl/status/statusor.h" #include "tensorflow/compiler/tf2xla/xla_op_registry.h" #include "xla/pjrt/gpu/se_gpu_pjrt_client.h" #include "xla/pjrt/pjrt_client.h" #include "tensorflow/core/framework/types.h" #include "tensorflow/core/tfrt/common/pjrt_client_factory_options.h" ...
#include <gtest/gtest.h> #include "xla/tsl/framework/device_type.h" #include "tensorflow/core/framework/types.h" #include "tensorflow/core/tfrt/common/pjrt_client_factory_options.h" #include "tensorflow/core/tfrt/common/pjrt_client_factory_registry.h" #include "tsl/platform/statusor.h" namespace xla { namespace { TEST(...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/tfrt/common/pjrt_gpu_client_registration.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/tfrt/common/pjrt_gpu_client_registration_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
e75402be-4462-469a-b7e4-f4278767815f
cpp
tensorflow/tensorflow
pjrt_cpu_client_registration
tensorflow/core/tfrt/common/pjrt_cpu_client_registration.cc
tensorflow/core/tfrt/common/pjrt_cpu_client_registration_test.cc
#include <memory> #include <utility> #include "absl/status/statusor.h" #include "xla/pjrt/cpu/cpu_client.h" #include "xla/pjrt/pjrt_client.h" #include "tensorflow/core/framework/types.h" #include "tensorflow/core/tfrt/common/pjrt_client_factory_options.h" #include "tensorflow/core/tfrt/common/pjrt_client_factory_regist...
#include <gtest/gtest.h> #include "xla/tsl/framework/device_type.h" #include "tensorflow/core/framework/types.h" #include "tensorflow/core/tfrt/common/pjrt_client_factory_options.h" #include "tensorflow/core/tfrt/common/pjrt_client_factory_registry.h" #include "tsl/platform/statusor.h" namespace xla { namespace { TEST(...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/tfrt/common/pjrt_cpu_client_registration.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/tfrt/common/pjrt_cpu_client_registration_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
31a835cc-caae-4afb-b0a3-525ca43c83f7
cpp
tensorflow/tensorflow
pjrt_util
tensorflow/core/tfrt/common/pjrt_util.cc
tensorflow/core/tfrt/common/pjrt_util_test.cc
#include "tensorflow/core/tfrt/common/pjrt_util.h" #include <memory> #include <utility> #include "absl/status/status.h" #include "absl/status/statusor.h" #include "xla/pjrt/pjrt_client.h" #include "tensorflow/core/framework/resource_mgr.h" #include "tensorflow/core/framework/types.h" #include "tensorflow/core/platform/...
#include "tensorflow/core/tfrt/common/pjrt_util.h" #include <memory> #include <utility> #include "xla/pjrt/cpu/cpu_client.h" #include "xla/tsl/lib/core/status_test_util.h" #include "tensorflow/core/framework/types.h" #include "tensorflow/core/tfrt/common/pjrt_state.h" #include "tsl/platform/status_matchers.h" #include ...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/tfrt/common/pjrt_util.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/tfrt/common/pjrt_util_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
c45b2d03-f0b3-41f2-a12e-10706399826b
cpp
tensorflow/tensorflow
async_value_tensor
tensorflow/core/tfrt/common/async_value_tensor.cc
tensorflow/core/tfrt/common/async_value_tensor_test.cc
#include "tensorflow/core/tfrt/common/async_value_tensor.h" #include <cstddef> #include <cstdint> #include <memory> #include <utility> #include "absl/log/check.h" #include "xla/pjrt/pjrt_client.h" #include "tensorflow/core/framework/tensor.h" #include "tfrt/host_context/async_value.h" #include "tfrt/support/forward_d...
#include "tensorflow/core/tfrt/common/async_value_tensor.h" #include <cstdint> #include <memory> #include <gtest/gtest.h> #include "xla/pjrt/pjrt_client.h" #include "xla/tsl/concurrency/async_value_ref.h" #include "tensorflow/core/framework/tensor.h" #include "tensorflow/core/framework/tensor_shape.h" #include "tensorf...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/tfrt/common/async_value_tensor.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/tfrt/common/async_value_tensor_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
ed9a3fba-817e-4f60-bc20-9c5d849e2c26
cpp
tensorflow/tensorflow
ifrt_serving_executable
tensorflow/core/tfrt/ifrt/ifrt_serving_executable.cc
tensorflow/core/tfrt/ifrt/ifrt_serving_executable_test.cc
#include "tensorflow/core/tfrt/ifrt/ifrt_serving_executable.h" #include <cstdint> #include <functional> #include <memory> #include <optional> #include <string> #include <utility> #include <vector> #include "absl/container/flat_hash_map.h" #include "absl/container/flat_hash_set.h" #include "absl/log/check.h" #include "a...
#include "tensorflow/core/tfrt/ifrt/ifrt_serving_executable.h" #include <cstdint> #include <memory> #include <string> #include <utility> #include <vector> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "absl/log/check.h" #include "absl/status/status.h" #include "absl/status/statusor.h" #include "absl/string...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/tfrt/ifrt/ifrt_serving_executable.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/tfrt/ifrt/ifrt_serving_executable_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
8323374f-8b1c-43c0-bf25-98a044b762e4
cpp
tensorflow/tensorflow
ifrt_restore_tensor_registry
tensorflow/core/tfrt/ifrt/ifrt_restore_tensor_registry.cc
tensorflow/core/tfrt/ifrt/ifrt_restore_tensor_registry_test.cc
#include "tensorflow/core/tfrt/ifrt/ifrt_restore_tensor_registry.h" #include <utility> #include "absl/container/flat_hash_map.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/string_view.h" #include "absl/synchronizat...
#include "tensorflow/core/tfrt/ifrt/ifrt_restore_tensor_registry.h" #include <cstdint> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "absl/status/status.h" #include "tensorflow/compiler/mlir/tfrt/transforms/ifrt/ifrt_types.h" #include "xla/python/ifrt/future.h" #include "xla/tsl/lib/core/status_test_util.h...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/tfrt/ifrt/ifrt_restore_tensor_registry.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/tfrt/ifrt/ifrt_restore_tensor_registry_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
ae917258-0a9b-4bd7-b025-c4d9b3ac9c98
cpp
tensorflow/tensorflow
ifrt_serving_core_selector
tensorflow/core/tfrt/ifrt/ifrt_serving_core_selector.cc
tensorflow/core/tfrt/ifrt/ifrt_serving_core_selector_test.cc
#include "tensorflow/core/tfrt/ifrt/ifrt_serving_core_selector.h" #include <cstdint> #include "absl/strings/str_cat.h" #include "absl/synchronization/mutex.h" #include "xla/tsl/framework/serving_device_selector.h" namespace tensorflow { namespace ifrt_serving { IfrtServingCoreSelector::IfrtServingCoreSelector( tsl:...
#include "tensorflow/core/tfrt/ifrt/ifrt_serving_core_selector.h" #include <cstdint> #include <memory> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "absl/strings/str_cat.h" #include "xla/tsl/framework/serving_device_selector.h" #include "xla/tsl/framework/test_util/mock_serving_device_selector.h" namespac...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/tfrt/ifrt/ifrt_serving_core_selector.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/tfrt/ifrt/ifrt_serving_core_selector_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
233cc73f-0e99-48c3-84bf-b56c721034a9
cpp
tensorflow/tensorflow
sharding_utils
tensorflow/core/tpu/kernels/sharding_utils.cc
tensorflow/core/tpu/kernels/sharding_utils_test.cc
#include "tensorflow/core/tpu/kernels/sharding_utils.h" #include <cstdint> #include <functional> #include <vector> #include "absl/status/status.h" #include "absl/strings/str_cat.h" #include "absl/strings/string_view.h" #include "absl/types/span.h" #include "Eigen/Core" #include "unsupported/Eigen/CXX11/Tensor" #inc...
#define EIGEN_USE_THREADS #include "tensorflow/core/tpu/kernels/sharding_utils.h" #include <cstdint> #include <memory> #include <vector> #include <gtest/gtest.h> #include "absl/status/status.h" #include "absl/strings/str_cat.h" #include "absl/types/span.h" #include "unsupported/Eigen/CXX11/Tensor" #include "xla/tsl/l...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/tpu/kernels/sharding_utils.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/tpu/kernels/sharding_utils_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
f8e4857a-743f-4562-bda6-e2d2ac928b31
cpp
tensorflow/tensorflow
ifrt_loaded_variable_utils
tensorflow/core/tfrt/ifrt/ifrt_loaded_variable_utils.cc
tensorflow/core/tfrt/ifrt/ifrt_loaded_variable_utils_test.cc
#include "tensorflow/core/tfrt/ifrt/ifrt_loaded_variable_utils.h" #include <memory> #include <string> #include <utility> #include <vector> #include "absl/log/log.h" #include "absl/status/status.h" #include "absl/status/statusor.h" #include "absl/strings/str_cat.h" #include "absl/strings/string_view.h" #include "absl/ty...
#include "tensorflow/core/tfrt/ifrt/ifrt_loaded_variable_utils.h" #include <cstdint> #include <memory> #include <utility> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "absl/status/status.h" #include "absl/status/statusor.h" #include "xla/hlo/ir/hlo_sharding.h" #include "xla/python/ifrt/array.h" #include "...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/tfrt/ifrt/ifrt_loaded_variable_utils.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/tfrt/ifrt/ifrt_loaded_variable_utils_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
ca34a38a-e8e5-4fb3-b1d4-e583a80562a1
cpp
tensorflow/tensorflow
ifrt_executable_registry
tensorflow/core/tfrt/ifrt/ifrt_executable_registry.cc
tensorflow/core/tfrt/ifrt/ifrt_executable_registry_test.cc
#include "tensorflow/core/tfrt/ifrt/ifrt_executable_registry.h" #include <cstdint> #include <memory> #include <optional> #include <utility> #include "absl/base/attributes.h" #include "absl/base/const_init.h" #include "absl/container/flat_hash_map.h" #include "absl/log/check.h" #include "absl/log/log.h" #include "absl/s...
#include "tensorflow/core/tfrt/ifrt/ifrt_executable_registry.h" #include <cstdint> #include <memory> #include <string> #include <utility> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "absl/status/status.h" #include "absl/status/statusor.h" #include "absl/strings/str_cat.h" #include "absl/strings/string_vi...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/tfrt/ifrt/ifrt_executable_registry.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/tfrt/ifrt/ifrt_executable_registry_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
f5a8fa47-b710-49c7-b98f-355ccd37a6f2
cpp
tensorflow/tensorflow
ifrt_device_utils
tensorflow/core/tfrt/ifrt/ifrt_device_utils.cc
tensorflow/core/tfrt/ifrt/ifrt_device_utils_test.cc
#include "tensorflow/core/tfrt/ifrt/ifrt_device_utils.h" #include <optional> #include <vector> #include "absl/algorithm/container.h" #include "absl/container/flat_hash_map.h" #include "absl/container/flat_hash_set.h" #include "absl/log/check.h" #include "absl/log/log.h" #include "absl/status/status.h" #include "absl/st...
#include "tensorflow/core/tfrt/ifrt/ifrt_device_utils.h" #include <memory> #include <optional> #include <vector> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "absl/status/status.h" #include "xla/python/ifrt/attribute_map.h" #include "xla/python/ifrt/device.h" #include "xla/python/ifrt/mock.h" #include "xl...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/tfrt/ifrt/ifrt_device_utils.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/tfrt/ifrt/ifrt_device_utils_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
b4226e9b-7fbf-4289-b06e-d2775cb74417
cpp
tensorflow/tensorflow
tf_host_callback
tensorflow/core/tfrt/ifrt/tf_host_callback.cc
tensorflow/core/tfrt/ifrt/tf_host_callback_test.cc
#include "tensorflow/core/tfrt/ifrt/tf_host_callback.h" #include <cstddef> #include <cstring> #include <memory> #include <string> #include <utility> #include <vector> #include "absl/cleanup/cleanup.h" #include "absl/container/fixed_array.h" #include "absl/log/check.h" #include "absl/memory/memory.h" #include "absl/stat...
#include "tensorflow/core/tfrt/ifrt/tf_host_callback.h" #include <cstdint> #include <memory> #include <string> #include <utility> #include <vector> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "absl/status/statusor.h" #include "absl/strings/string_view.h" #include "tensorflow/cc/framework/ops.h" #include ...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/tfrt/ifrt/tf_host_callback.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/tfrt/ifrt/tf_host_callback_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
c775d3d1-0469-48e5-a02a-d44ccc159d13
cpp
tensorflow/tensorflow
attribute
tensorflow/core/tfrt/mlrt/attribute/attribute.cc
tensorflow/core/tfrt/mlrt/attribute/attribute_test.cc
#include "tensorflow/core/tfrt/mlrt/attribute/attribute.h" #include <cstring> #include <string> #include <utility> #include <vector> #include "absl/status/status.h" #include "absl/status/statusor.h" #include "absl/strings/str_cat.h" #include "llvm/ADT/ArrayRef.h" #include "llvm/Support/raw_ostream.h" #include "mlir/IR/...
#include "tensorflow/core/tfrt/mlrt/attribute/attribute.h" #include <array> #include <cstring> #include <utility> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "absl/status/status.h" #include "absl/strings/string_view.h" #include "llvm/ADT/ArrayRef.h" #include "mlir/IR/Attributes.h" #include "mlir/IR/Bui...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/tfrt/mlrt/attribute/attribute.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/tfrt/mlrt/attribute/attribute_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
1764824f-014b-48c7-86d7-e5d951be561b
cpp
tensorflow/tensorflow
shard_restore_util
tensorflow/core/tfrt/mlrt/kernel/shard_restore_util.cc
tensorflow/core/tfrt/mlrt/kernel/shard_restore_util_test.cc
#include "tensorflow/core/tfrt/mlrt/kernel/shard_restore_util.h" #include <algorithm> #include <cstddef> #include <cstdint> #include <queue> #include <utility> #include <vector> #include "absl/log/check.h" #include "absl/types/span.h" namespace tensorflow { namespace tf_mlrt { std::vector<std::vector<int>> ShardVariabl...
#include "tensorflow/core/tfrt/mlrt/kernel/shard_restore_util.h" #include <cstdint> #include <vector> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "absl/types/span.h" namespace tensorflow { namespace tf_mlrt { namespace { using ::testing::ElementsAre; using ::testing::UnorderedElementsAre; TEST(ShardResto...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/tfrt/mlrt/kernel/shard_restore_util.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/tfrt/mlrt/kernel/shard_restore_util_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
908bf121-508e-4c4a-9d0d-8904854bb57f
cpp
tensorflow/tensorflow
ifrt_ops_kernel
tensorflow/core/tfrt/mlrt/kernel/ifrt_ops_kernel.cc
tensorflow/core/tfrt/mlrt/kernel/ifrt_ops_kernel_test.cc
#include <cstdint> #include <memory> #include <optional> #include <string> #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 "absl/strings/string_view.h" #include "xla/python/ifrt/future.h" #include "xla/...
#include <cstdint> #include <functional> #include <memory> #include <string> #include <utility> #include <vector> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "absl/log/check.h" #include "absl/status/status.h" #include "absl/strings/str_cat.h" #include "absl/strings/string_view.h" #include "absl/strings/s...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/tfrt/mlrt/kernel/ifrt_ops_kernel.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/tfrt/mlrt/kernel/ifrt_ops_kernel_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
49a0ec33-fc7c-48d1-bb5c-a573c76e4ae8
cpp
tensorflow/tensorflow
run_handler_concurrent_work_queue
tensorflow/core/tfrt/run_handler_thread_pool/run_handler_concurrent_work_queue.cc
tensorflow/core/tfrt/run_handler_thread_pool/run_handler_concurrent_work_queue_test.cc
#include "tensorflow/core/tfrt/run_handler_thread_pool/run_handler_concurrent_work_queue.h" #include <memory> #include <optional> #include <ostream> #include <utility> #include "absl/strings/str_join.h" #include "tensorflow/core/tfrt/run_handler_thread_pool/run_handler.h" #include "tfrt/host_context/async_dispatch.h" ...
#include "tensorflow/core/tfrt/run_handler_thread_pool/run_handler_concurrent_work_queue.h" #include <cstdio> #include <memory> #include <utility> #include <gtest/gtest.h> #include "absl/strings/match.h" #include "absl/strings/str_cat.h" #include "absl/time/time.h" #include "tensorflow/core/platform/errors.h" #include ...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/tfrt/run_handler_thread_pool/run_handler_concurrent_work_queue.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/tfrt/run_handler_thread_pool/run_handler_concurrent_work_queue_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
9a3a494c-3b74-4871-a96d-6f77ba7803fe
cpp
tensorflow/tensorflow
mutable_graph_view
tensorflow/core/grappler/mutable_graph_view.cc
tensorflow/core/grappler/mutable_graph_view_test.cc
#include "tensorflow/core/grappler/mutable_graph_view.h" #include <algorithm> #include <utility> #include "absl/container/flat_hash_map.h" #include "absl/strings/str_cat.h" #include "absl/strings/str_join.h" #include "absl/strings/string_view.h" #include "absl/strings/substitute.h" #include "tensorflow/core/framework/f...
#include "tensorflow/core/grappler/mutable_graph_view.h" #include "absl/strings/substitute.h" #include "absl/types/span.h" #include "tensorflow/cc/ops/standard_ops.h" #include "tensorflow/core/framework/function_testlib.h" #include "tensorflow/core/framework/types.pb.h" #include "tensorflow/core/graph/tensor_id.h" #inc...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/grappler/mutable_graph_view.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/grappler/mutable_graph_view_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
302cc88e-5ab4-4ce3-bf18-b8cadb005346
cpp
tensorflow/tensorflow
graph_topology_view
tensorflow/core/grappler/graph_topology_view.cc
tensorflow/core/grappler/graph_topology_view_test.cc
#include "tensorflow/core/grappler/graph_topology_view.h" #include <algorithm> #include "absl/container/flat_hash_map.h" #include "absl/container/inlined_vector.h" #include "absl/strings/string_view.h" #include "absl/types/optional.h" #include "absl/types/span.h" #include "tensorflow/core/framework/graph.pb.h" #include...
#include "tensorflow/core/grappler/graph_topology_view.h" #include "tensorflow/core/framework/graph.pb.h" #include "tensorflow/core/framework/node_def.pb.h" #include "tensorflow/core/platform/test.h" namespace tensorflow { namespace grappler { class GraphTopologyViewTest : public ::testing::Test { protected: using N...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/grappler/graph_topology_view.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/grappler/graph_topology_view_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
bb3eda25-8fdd-4ad9-89dd-5e546b6e1c89
cpp
tensorflow/tensorflow
grappler_item
tensorflow/core/grappler/grappler_item.cc
tensorflow/core/grappler/grappler_item_test.cc
#include "tensorflow/core/grappler/grappler_item.h" #include <unordered_map> #include <unordered_set> #include <vector> #include "absl/container/flat_hash_set.h" #include "absl/strings/str_join.h" #include "tensorflow/core/framework/attr_value.pb.h" #include "tensorflow/core/framework/node_def.pb.h" #include "tensorflo...
#include "tensorflow/core/grappler/grappler_item.h" #include "tensorflow/core/framework/function_testlib.h" #include "tensorflow/core/framework/node_def.pb.h" #include "tensorflow/core/framework/tensor_testutil.h" #include "tensorflow/core/grappler/inputs/trivial_test_graph_input_yielder.h" #include "tensorflow/core/pl...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/grappler/grappler_item.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/grappler/grappler_item_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
9c4ce22d-cbf0-4e42-b3eb-255b77c035b5
cpp
tensorflow/tensorflow
grappler_item_builder
tensorflow/core/grappler/grappler_item_builder.cc
tensorflow/core/grappler/grappler_item_builder_test.cc
#include "tensorflow/core/grappler/grappler_item_builder.h" #include <type_traits> #include <unordered_map> #include <unordered_set> #include <vector> #include "absl/status/status.h" #include "absl/strings/str_cat.h" #include "tensorflow/core/common_runtime/device.h" #include "tensorflow/core/common_runtime/device_fact...
#include "tensorflow/core/grappler/grappler_item_builder.h" #include "google/protobuf/any.pb.h" #include "tensorflow/cc/framework/gradients.h" #include "tensorflow/cc/gradients/grad_testutil.h" #include "tensorflow/cc/ops/functional_ops.h" #include "tensorflow/cc/ops/standard_ops.h" #include "tensorflow/core/framework/...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/grappler/grappler_item_builder.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/grappler/grappler_item_builder_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
442c8e38-f2cc-4d7b-8e1c-cf95d427ea3c
cpp
tensorflow/tensorflow
cost_estimator
tensorflow/core/grappler/costs/cost_estimator.cc
tensorflow/core/grappler/costs/cost_estimator_test.cc
#include "tensorflow/core/grappler/costs/cost_estimator.h" namespace tensorflow { namespace grappler { Costs CombineCosts(const Costs& left, const Costs& right) { CHECK_NE(left.max_memory, kMemoryUnknown); CHECK_NE(left.max_per_op_buffers, kMemoryUnknown); CHECK_NE(left.max_per_op_streaming, kMemoryUnknown); Co...
#include "tensorflow/core/grappler/costs/cost_estimator.h" #include "tensorflow/core/platform/test.h" namespace tensorflow { namespace grappler { namespace { TEST(CostEstimatorTest, CombineCosts) { Costs c = Costs::ZeroCosts(); c.execution_time = Costs::NanoSeconds(1); c.compute_time = Costs::NanoSeconds(2); c....
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/grappler/costs/cost_estimator.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/grappler/costs/cost_estimator_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
ab750f69-b902-438c-9461-e3c414849229
cpp
tensorflow/tensorflow
analytical_cost_estimator
tensorflow/core/grappler/costs/analytical_cost_estimator.cc
tensorflow/core/grappler/costs/analytical_cost_estimator_test.cc
#include "tensorflow/core/grappler/costs/analytical_cost_estimator.h" #include <limits> #include <unordered_map> #include "tensorflow/core/framework/tensor.pb.h" #include "tensorflow/core/framework/tensor_shape.pb.h" #include "tensorflow/core/graph/types.h" #include "tensorflow/core/grappler/costs/graph_properties.h"...
#include "tensorflow/core/grappler/costs/virtual_scheduler.h" #include "tensorflow/cc/ops/standard_ops.h" #include "tensorflow/core/grappler/clusters/virtual_cluster.h" #include "tensorflow/core/grappler/costs/analytical_cost_estimator.h" #include "tensorflow/core/lib/core/status_test_util.h" #include "tensorflow/core/...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/grappler/costs/analytical_cost_estimator.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/grappler/costs/analytical_cost_estimator_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
1b74e393-915d-4eaa-9c6c-9893a7f52c8c
cpp
tensorflow/tensorflow
virtual_scheduler
tensorflow/core/grappler/costs/virtual_scheduler.cc
tensorflow/core/grappler/costs/virtual_scheduler_test.cc
#include "tensorflow/core/grappler/costs/virtual_scheduler.h" #include <algorithm> #include <functional> #include <string> #include <utility> #include "absl/status/status.h" #include "absl/strings/str_cat.h" #include "absl/strings/str_format.h" #include "absl/strings/str_replace.h" #include "tensorflow/core/framework/a...
#include "tensorflow/core/grappler/costs/virtual_scheduler.h" #include <algorithm> #include <cstdint> #include <string> #include "absl/strings/match.h" #include "tensorflow/cc/ops/standard_ops.h" #include "tensorflow/core/framework/allocation_description.pb.h" #include "tensorflow/core/framework/tensor_description.pb.h...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/grappler/costs/virtual_scheduler.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/grappler/costs/virtual_scheduler_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
1e67b253-9a27-4432-91a1-3609c13e9dfd
cpp
tensorflow/tensorflow
graph_memory
tensorflow/core/grappler/costs/graph_memory.cc
tensorflow/core/grappler/costs/graph_memory_test.cc
#include "tensorflow/core/grappler/costs/graph_memory.h" #include <deque> #include "tensorflow/core/framework/allocation_description.pb.h" #include "tensorflow/core/framework/attr_value.pb.h" #include "tensorflow/core/framework/node_def.pb.h" #include "tensorflow/core/framework/step_stats.pb.h" #include "tensorflow/cor...
#include "tensorflow/core/grappler/costs/graph_memory.h" #include "tensorflow/cc/ops/standard_ops.h" #include "tensorflow/core/grappler/grappler_item.h" #include "tensorflow/core/grappler/inputs/trivial_test_graph_input_yielder.h" #include "tensorflow/core/platform/test.h" namespace tensorflow { namespace grappler { na...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/grappler/costs/graph_memory.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/grappler/costs/graph_memory_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
7015e367-82f3-4d91-a11d-8439c8d9ae65
cpp
tensorflow/tensorflow
op_level_cost_estimator
tensorflow/core/grappler/costs/op_level_cost_estimator.cc
tensorflow/core/grappler/costs/op_level_cost_estimator_test.cc
#include "tensorflow/core/grappler/costs/op_level_cost_estimator.h" #include <algorithm> #include <cmath> #include <cstdint> #include <functional> #include <optional> #include <string> #include <vector> #include "absl/log/check.h" #include "absl/log/log.h" #include "absl/status/status.h" #include "absl/status/statusor....
#include "tensorflow/core/grappler/costs/op_level_cost_estimator.h" #include <unordered_set> #include "tensorflow/core/framework/attr_value.pb.h" #include "tensorflow/core/framework/attr_value_util.h" #include "tensorflow/core/framework/tensor.h" #include "tensorflow/core/framework/tensor.pb.h" #include "tensorflow/cor...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/grappler/costs/op_level_cost_estimator.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/grappler/costs/op_level_cost_estimator_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
9ec7452e-20d4-4980-94de-c634b44a3126
cpp
tensorflow/tensorflow
graph_properties
tensorflow/core/grappler/costs/graph_properties.cc
tensorflow/core/grappler/costs/graph_properties_test.cc
#include "tensorflow/core/grappler/costs/graph_properties.h" #include "absl/hash/hash.h" #include "absl/types/optional.h" #include "tensorflow/core/common_runtime/function.h" #include "tensorflow/core/common_runtime/graph_constructor.h" #include "tensorflow/core/framework/common_shape_fns.h" #include "tensorflow/core/f...
#include "tensorflow/core/grappler/costs/graph_properties.h" #include "tensorflow/cc/framework/scope.h" #include "tensorflow/cc/ops/functional_ops.h" #include "tensorflow/cc/ops/standard_ops.h" #include "tensorflow/core/framework/graph_def_util.h" #include "tensorflow/core/framework/node_def_builder.h" #include "tensor...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/grappler/costs/graph_properties.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/grappler/costs/graph_properties_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
19318bbc-47c6-4b3c-a78a-c14e89b2b652
cpp
tensorflow/tensorflow
virtual_placer
tensorflow/core/grappler/costs/virtual_placer.cc
tensorflow/core/grappler/costs/virtual_placer_test.cc
#include "tensorflow/core/grappler/costs/virtual_placer.h" #include "tensorflow/core/framework/node_def.pb.h" #include "tensorflow/core/grappler/clusters/cluster.h" #include "tensorflow/core/grappler/devices.h" #include "tensorflow/core/lib/strings/str_util.h" #include "tensorflow/core/util/device_name_utils.h" namespa...
#include "tensorflow/core/grappler/costs/virtual_placer.h" #include "tensorflow/core/framework/node_def.pb.h" #include "tensorflow/core/grappler/clusters/virtual_cluster.h" #include "tensorflow/core/lib/strings/strcat.h" #include "tensorflow/core/platform/test.h" #include "tensorflow/core/protobuf/device_properties.pb....
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/grappler/costs/virtual_placer.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/grappler/costs/virtual_placer_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
66a6130e-df50-475d-9fcc-fa07e2cdd66e
cpp
tensorflow/tensorflow
robust_stats
tensorflow/core/grappler/costs/robust_stats.cc
tensorflow/core/grappler/costs/robust_stats_test.cc
#include "tensorflow/core/grappler/costs/robust_stats.h" #include <algorithm> #include <cmath> #include <utility> namespace tensorflow { namespace grappler { static double SortedMedian(const std::vector<double> &values) { const int n = values.size(); if (n == 0) return 0.0; if (n & 1) { return values[n / 2]; ...
#include "tensorflow/core/grappler/costs/robust_stats.h" #include "tensorflow/core/platform/test.h" namespace tensorflow { namespace grappler { namespace { class RobustStatsTest : public ::testing::Test { public: void SetUp() override { for (double d = 1.0; d <= 5.0; d += 1.0) { values1_.push_back(5.0 - d)...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/grappler/costs/robust_stats.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/grappler/costs/robust_stats_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
c2d5cdab-c5af-4a62-b278-95f45b56ecde
cpp
tensorflow/tensorflow
sig_node
tensorflow/core/grappler/graph_analyzer/sig_node.cc
tensorflow/core/grappler/graph_analyzer/sig_node_test.cc
#include "tensorflow/core/grappler/graph_analyzer/sig_node.h" #include <algorithm> #include "absl/strings/str_format.h" namespace tensorflow { namespace grappler { namespace graph_analyzer { static constexpr bool debug = false; SigNode::SigNode(const NodeDef* node) : node_(node) {} void SigNode::CopyLinks(const GenNode...
#include "tensorflow/core/grappler/graph_analyzer/sig_node.h" #include <gmock/gmock.h> #include <gtest/gtest.h> #include "absl/memory/memory.h" #include "absl/strings/str_format.h" #include "tensorflow/core/grappler/graph_analyzer/subgraph.h" #include "tensorflow/core/grappler/graph_analyzer/test_tools.h" #include "ten...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/grappler/graph_analyzer/sig_node.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/grappler/graph_analyzer/sig_node_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
21b1cf8f-e548-408a-b9f8-3c49c1a4d992
cpp
tensorflow/tensorflow
graph_analyzer
tensorflow/core/grappler/graph_analyzer/graph_analyzer.cc
tensorflow/core/grappler/graph_analyzer/graph_analyzer_test.cc
#include <deque> #include <iostream> #include "absl/memory/memory.h" #include "absl/strings/str_format.h" #include "tensorflow/core/grappler/graph_analyzer/gen_node.h" #include "tensorflow/core/grappler/graph_analyzer/graph_analyzer.h" #include "tensorflow/core/grappler/graph_analyzer/sig_node.h" namespace tensorflow {...
#include "tensorflow/core/grappler/graph_analyzer/graph_analyzer.h" #include <algorithm> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "absl/memory/memory.h" #include "tensorflow/core/grappler/graph_analyzer/test_tools.h" namespace tensorflow { namespace grappler { namespace graph_analyzer { namespace test...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/grappler/graph_analyzer/graph_analyzer.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/grappler/graph_analyzer/graph_analyzer_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea