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
c64344e6-ea88-492c-9734-1b829227dfc1
cpp
tensorflow/tensorflow
autotune_serialize
tensorflow/core/util/autotune_maps/autotune_serialize.cc
tensorflow/core/util/autotune_maps/autotune_serialize_test.cc
#include "tensorflow/core/util/autotune_maps/autotune_serialize.h" #include <map> #include <string> #include <unordered_map> #include <vector> #include "xla/status_macros.h" #include "xla/stream_executor/dnn.h" #include "xla/stream_executor/gpu/gpu_init.h" #include "xla/stream_executor/platform_manager.h" #include "xla...
#include "xla/stream_executor/platform_manager.h" #if GOOGLE_CUDA || TENSORFLOW_USE_ROCM #include "xla/stream_executor/gpu/gpu_init.h" #include "tensorflow/core/platform/status_matchers.h" #include "tensorflow/core/platform/test.h" #include "tensorflow/core/util/autotune_maps/autotune_serialize.h" #include "tensorflow/...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/util/autotune_maps/autotune_serialize.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/util/autotune_maps/autotune_serialize_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
8e3f7268-df80-4d87-9b14-8d5ae82ee539
cpp
tensorflow/tensorflow
tensor_bundle
tensorflow/core/util/tensor_bundle/tensor_bundle.cc
tensorflow/core/util/tensor_bundle/tensor_bundle_test.cc
#include "tensorflow/core/util/tensor_bundle/tensor_bundle.h" #include <cstdlib> #include <cstring> #include <memory> #include <utility> #include "absl/base/call_once.h" #include "absl/synchronization/mutex.h" #include "xla/tsl/lib/io/buffered_file.h" #include "xla/tsl/util/byte_swap_array.h" #include "tensorflow/core/...
#include "tensorflow/core/util/tensor_bundle/tensor_bundle.h" #include <random> #include <string> #include <vector> #if defined(_WIN32) #include <windows.h> #endif #include "absl/status/status.h" #include "tensorflow/core/framework/tensor_testutil.h" #include "tensorflow/core/framework/tensor_util.h" #include "tensor...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/util/tensor_bundle/tensor_bundle.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/util/tensor_bundle/tensor_bundle_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
0c69dc71-9b09-41e8-9d9b-4d75be731448
cpp
tensorflow/tensorflow
sparse_tensor
tensorflow/core/util/sparse/sparse_tensor.cc
tensorflow/core/util/sparse/sparse_tensor_test.cc
#include "tensorflow/core/util/sparse/sparse_tensor.h" #include "tensorflow/core/lib/strings/strcat.h" namespace tensorflow { namespace sparse { namespace { int UnsafeGetDimsFromIx(const Tensor& ix) { DCHECK(TensorShapeUtils::IsMatrix(ix.shape())); return ix.dim_size(1); } Status GetDimsFromIx(const Tensor& ix, int...
#include "tensorflow/core/util/sparse/sparse_tensor.h" #include <string> #include <vector> #include "unsupported/Eigen/CXX11/Tensor" #include "tensorflow/core/framework/tensor.h" #include "tensorflow/core/framework/tensor_types.h" #include "tensorflow/core/lib/core/status_test_util.h" #include "tensorflow/core/lib/ra...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/util/sparse/sparse_tensor.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/util/sparse/sparse_tensor_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
3cb8cdf4-cddc-43a3-bd8c-aee1ea0653d4
cpp
tensorflow/tensorflow
op_gen_lib
tensorflow/core/framework/op_gen_lib.cc
tensorflow/core/framework/op_gen_lib_test.cc
#include "tensorflow/core/framework/op_gen_lib.h" #include <algorithm> #include <vector> #include "absl/strings/escaping.h" #include "tensorflow/core/framework/attr_value.pb.h" #include "tensorflow/core/lib/core/errors.h" #include "tensorflow/core/lib/gtl/map_util.h" #include "tensorflow/core/lib/strings/str_util.h" #i...
#include "tensorflow/core/framework/op_gen_lib.h" #include "tensorflow/core/framework/op_def.pb.h" #include "tensorflow/core/platform/test.h" #include "tensorflow/core/protobuf/error_codes.pb.h" namespace tensorflow { namespace { constexpr char kTestOpList[] = R"(op { name: "testop" input_arg { name: "arg_a" ...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/framework/op_gen_lib.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/framework/op_gen_lib_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
fb279d63-e77e-4a87-b5de-785907834cb5
cpp
tensorflow/tensorflow
resource_var
tensorflow/core/framework/resource_var.cc
tensorflow/core/framework/resource_var_test.cc
#include "tensorflow/core/framework/resource_var.h" #include "tensorflow/core/framework/resource_handle.h" #include "tensorflow/core/graph/graph_def_builder.h" namespace tensorflow { Status Var::AsGraphDef(GraphDefBuilder* builder, Node** out) const { Node* var = ops::SourceOp( "VarHandleOp", builder->opt...
#include "tensorflow/core/framework/resource_var.h" #include "tensorflow/core/platform/logging.h" #include "tensorflow/core/platform/test.h" namespace tensorflow { namespace core { TEST(ResourceVarTest, Uninitialize) { RefCountPtr<Var> var{new Var(DT_INT32)}; EXPECT_FALSE(var->is_initialized); EXPECT_TRUE(var->te...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/framework/resource_var.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/framework/resource_var_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
d8c9145a-2a75-4896-86ec-d23b9a0316cf
cpp
tensorflow/tensorflow
node_properties
tensorflow/core/framework/node_properties.cc
tensorflow/core/framework/node_properties_test.cc
#include "tensorflow/core/framework/node_properties.h" #include "tensorflow/core/framework/node_def_util.h" #include "tensorflow/core/framework/op.h" namespace tensorflow { Status NodeProperties::CreateFromNodeDef( NodeDef node_def, const OpRegistryInterface* op_registry, std::shared_ptr<const NodeProperties>* ...
#include "tensorflow/core/framework/node_properties.h" #include "tensorflow/core/framework/op.h" #include "tensorflow/core/framework/op_def_builder.h" #include "tensorflow/core/platform/test.h" namespace tensorflow { namespace { OpDef ToOpDef(const OpDefBuilder& builder) { OpRegistrationData op_reg_data; EXPECT_TRU...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/framework/node_properties.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/framework/node_properties_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
473bd387-adef-43eb-b015-07209f125840
cpp
tensorflow/tensorflow
op_def_builder
tensorflow/core/framework/op_def_builder.cc
tensorflow/core/framework/op_def_builder_test.cc
#include "tensorflow/core/framework/op_def_builder.h" #include <limits> #include <vector> #include "absl/strings/escaping.h" #include "tensorflow/core/framework/attr_value.pb.h" #include "tensorflow/core/framework/attr_value_util.h" #include "tensorflow/core/framework/op_def_util.h" #include "tensorflow/core/framework/...
#include "tensorflow/core/framework/op_def_builder.h" #include "tensorflow/core/framework/attr_value.pb.h" #include "tensorflow/core/framework/op_def.pb.h" #include "tensorflow/core/lib/core/errors.h" #include "tensorflow/core/lib/core/status_test_util.h" #include "tensorflow/core/lib/core/stringpiece.h" #include "tens...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/framework/op_def_builder.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/framework/op_def_builder_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
8866eb13-7cf5-4174-912e-2006853b5606
cpp
tensorflow/tensorflow
function
tensorflow/compiler/mlir/tfrt/function/function.cc
tensorflow/core/tfrt/mlrt/bytecode/function_test.cc
#include "tensorflow/compiler/mlir/tfrt/function/function.h" #include "absl/log/log.h" #include "absl/status/status.h" #include "absl/strings/match.h" #include "mlir/IR/OperationSupport.h" #include "mlir/Pass/PassManager.h" #include "mlir/Support/LogicalResult.h" #include "tensorflow/compiler/mlir/tensorflow/tran...
#include "tensorflow/core/tfrt/mlrt/bytecode/function.h" #include <gmock/gmock.h> #include <gtest/gtest.h> #include "tensorflow/core/tfrt/mlrt/bytecode/bytecode.h" #include "tensorflow/core/tfrt/mlrt/bytecode/kernel.h" namespace mlrt { namespace bc { namespace { TEST(FunctionTest, Function) { Buffer buffer; Allocat...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/compiler/mlir/tfrt/function/function.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/tfrt/mlrt/bytecode/function_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
e8bdefdc-6e3e-4dc4-b2fa-2d86de8dd804
cpp
tensorflow/tensorflow
run_handler_util
tensorflow/core/tfrt/run_handler_thread_pool/run_handler_util.cc
tensorflow/core/tfrt/run_handler_thread_pool/run_handler_util_test.cc
#include "tensorflow/core/tfrt/run_handler_thread_pool/run_handler_util.h" #include <cmath> #include <cstdlib> #include <string> #include <vector> #include "tensorflow/core/lib/strings/numbers.h" #include "tensorflow/core/platform/logging.h" #include "tensorflow/core/platform/str_util.h" namespace tfrt { namespace tf {...
#include "tensorflow/core/tfrt/run_handler_thread_pool/run_handler_util.h" #include <vector> #include "tensorflow/core/lib/strings/strcat.h" #include "tensorflow/core/platform/env.h" #include "tensorflow/core/platform/logging.h" #include "tensorflow/core/platform/test.h" namespace tfrt { namespace tf { namespace { TEST...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/tfrt/run_handler_thread_pool/run_handler_util.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/tfrt/run_handler_thread_pool/run_handler_util_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
94696138-88ad-406c-84d3-0739ede2539f
cpp
tensorflow/tensorflow
full_type_util
tensorflow/core/framework/full_type_util.cc
tensorflow/core/framework/full_type_util_test.cc
#include "tensorflow/core/framework/full_type_util.h" #include <algorithm> #include <string> #include "absl/container/flat_hash_map.h" #include "tensorflow/core/framework/attr_value.pb.h" #include "tensorflow/core/framework/full_type.pb.h" #include "tensorflow/core/framework/node_def.pb.h" #include "tensorflow/core/fra...
#include "tensorflow/core/framework/attr_value.pb.h" #include "tensorflow/core/framework/full_type.pb.h" #include "tensorflow/core/framework/node_def.pb.h" #include "tensorflow/core/framework/node_def_util.h" #include "tensorflow/core/framework/op.h" #include "tensorflow/core/framework/op_def.pb.h" #include "tensorflow...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/framework/full_type_util.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/framework/full_type_util_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
0b676bba-ee4c-4fe7-a438-1f7f7ad0d210
cpp
tensorflow/tensorflow
variant
tensorflow/lite/core/async/interop/variant.cc
tensorflow/lite/core/async/interop/variant_test.cc
#include "tensorflow/lite/core/async/interop/variant.h" #include <cstring> #include <utility> namespace tflite { namespace interop { Variant::Variant() { type = kInvalid; val.i = 0; } bool Variant::operator==(const Variant& other) const { if (type != other.type) return false; switch (type) { case kInvalid: ...
#include "tensorflow/lite/core/async/interop/variant.h" #include <cstddef> #include <cstdint> #include <string> #include <gtest/gtest.h> namespace tflite::interop { namespace { TEST(VariantTest, IntTest) { { Variant a(1); EXPECT_EQ(1, *a.Get<int>()); } { Variant a(1); a.Set(2); EXPECT_EQ(2, *a...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/core/async/interop/variant.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/core/async/interop/variant_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
eef8dca3-7df6-482a-8512-d6ab41154110
cpp
tensorflow/tensorflow
tensor_testutil
tensorflow/core/framework/tensor_testutil.cc
tensorflow/core/framework/tensor_testutil_test.cc
#include "tensorflow/core/framework/tensor_testutil.h" #include <cmath> #include "tensorflow/core/framework/tensor.h" #include "tensorflow/core/platform/types.h" namespace tensorflow { namespace test { ::testing::AssertionResult IsSameType(const Tensor& x, const Tensor& y) { if (x.dtype() != y.dtype()) { return :...
#include "tensorflow/core/framework/tensor_testutil.h" #include "tensorflow/core/platform/test.h" namespace tensorflow { namespace test { namespace { using internal_test::IsClose; template <typename T> void TestEdgeCasesNear() { EXPECT_TRUE(IsClose(Eigen::NumTraits<T>::infinity(), Eigen::NumTrai...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/framework/tensor_testutil.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/framework/tensor_testutil_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
31c1fe9d-b92e-40d4-9b3a-0cd0e17a79e6
cpp
tensorflow/tensorflow
dataset
tensorflow/core/framework/dataset.cc
tensorflow/core/framework/dataset_test.cc
#include "tensorflow/core/framework/dataset.h" #include <unordered_map> #include <vector> #include "tensorflow/core/activity_watcher/activity.h" #include "tensorflow/core/framework/dataset.pb.h" #include "tensorflow/core/framework/device_base.h" #include "tensorflow/core/framework/function.h" #include "tensorflow/core/...
#include "tensorflow/core/framework/dataset.h" #include <memory> #include <tuple> #include <gtest/gtest.h> #include "absl/container/flat_hash_set.h" #include "absl/status/status.h" #include "xla/tsl/lib/core/status_test_util.h" #include "tensorflow/core/framework/tensor_testutil.h" #include "tensorflow/core/framework/t...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/framework/dataset.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/framework/dataset_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
07635265-48b2-4ba1-86d5-a8203c9f03e8
cpp
tensorflow/tensorflow
attr_value_util
tensorflow/core/framework/attr_value_util.cc
tensorflow/core/framework/attr_value_util_test.cc
#include "tensorflow/core/framework/attr_value_util.h" #include <string> #include <unordered_map> #include <vector> #include "absl/strings/escaping.h" #include "tensorflow/core/framework/attr_value.pb_text.h" #include "tensorflow/core/framework/tensor.pb_text.h" #include "tensorflow/core/framework/tensor_shape.pb.h" #i...
#include "tensorflow/core/framework/attr_value_util.h" #include <numeric> #include <vector> #include <gtest/gtest.h> #include "tensorflow/core/framework/attr_value.pb.h" #include "tensorflow/core/framework/tensor.pb.h" #include "tensorflow/core/framework/tensor_shape.pb.h" #include "tensorflow/core/framework/types.pb.h...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/framework/attr_value_util.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/framework/attr_value_util_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
93b256e8-a954-4c10-a627-a30c48df4eab
cpp
tensorflow/tensorflow
model
tensorflow/lite/delegates/gpu/common/model.cc
tensorflow/lite/delegates/gpu/common/model_test.cc
#include "tensorflow/lite/delegates/gpu/common/model.h" #include <stdint.h> #include <algorithm> #include <iterator> #include <map> #include <memory> #include <string> #include <utility> #include <vector> #include "absl/status/status.h" #include "absl/strings/str_cat.h" #include "tensorflow/lite/delegates/gpu/common/sh...
#include "tensorflow/lite/delegates/gpu/common/model.h" #include <gmock/gmock.h> #include <gtest/gtest.h> #include "absl/status/status.h" namespace tflite { namespace gpu { namespace { using ::testing::ElementsAre; using ::testing::UnorderedElementsAre; TEST(Model, SingleNode) { GraphFloat32 graph; Node* node = gra...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/delegates/gpu/common/model.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/delegates/gpu/common/model_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
338ecf87-9d13-4d10-b0ec-321ec44cbddc
cpp
tensorflow/tensorflow
full_type_inference_util
tensorflow/core/framework/full_type_inference_util.cc
tensorflow/core/framework/full_type_inference_util_test.cc
#include "tensorflow/core/framework/full_type_inference_util.h" #include <functional> #include <string> #include <vector> #include "absl/strings/str_cat.h" #include "tensorflow/core/framework/full_type.pb.h" #include "tensorflow/core/framework/full_type_util.h" #include "tensorflow/core/framework/op_def_builder.h" #inc...
#include <functional> #include <string> #include <vector> #include "tensorflow/core/framework/full_type.pb.h" #include "tensorflow/core/framework/op.h" #include "tensorflow/core/lib/core/status_test_util.h" #include "tensorflow/core/platform/test.h" namespace tensorflow { namespace full_type { namespace { TEST(Replicat...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/framework/full_type_inference_util.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/framework/full_type_inference_util_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
d12e3e48-452a-40e4-a3c4-d4b35d7d3659
cpp
tensorflow/tensorflow
ops_util
tensorflow/core/framework/ops_util.cc
tensorflow/core/kernels/ops_util_test.cc
#include <algorithm> #include <cmath> #include "tensorflow/core/framework/attr_value.pb.h" #include "tensorflow/core/framework/ops_util.h" #include "tensorflow/core/lib/core/errors.h" #include "tensorflow/core/lib/strings/str_util.h" #include "tensorflow/core/util/padding.h" namespace tensorflow { Eigen::PaddingType Br...
#include "tensorflow/core/kernels/ops_util.h" #include "unsupported/Eigen/CXX11/Tensor" #include "tensorflow/core/framework/kernel_shape_util.h" #include "tensorflow/core/framework/tensor.h" #include "tensorflow/core/platform/test.h" namespace tensorflow { namespace { class OpsUtilTest : public ::testing::Test { pro...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/framework/ops_util.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/kernels/ops_util_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
862e5cf8-a705-43d3-a4f0-b68033bd09fe
cpp
tensorflow/tensorflow
tensor_matcher
tensorflow/core/framework/tensor_matcher.cc
tensorflow/lite/experimental/shlo/tensor_matcher_test.cc
#include "tensorflow/core/framework/tensor_matcher.h" #include <stdint.h> #include <complex> #include <ostream> #include <string> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "absl/log/log.h" #include "absl/types/span.h" #include "Eigen/Core" #include "tensorflow/core/framework/numeric_types.h" #include...
#include "tensorflow/lite/experimental/shlo/tensor_matcher.h" #include <gmock/gmock.h> #include <gtest/gtest.h> #include "tensorflow/lite/experimental/shlo/data_type.h" #include "tensorflow/lite/experimental/shlo/shape.h" #include "tensorflow/lite/experimental/shlo/tensor_with_data.h" namespace shlo_ref { namespace { u...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/framework/tensor_matcher.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/experimental/shlo/tensor_matcher_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
241482d4-5593-45b6-9f17-7c5376ad9853
cpp
tensorflow/tensorflow
tensor_shape
tensorflow/core/framework/tensor_shape.cc
tensorflow/core/framework/tensor_shape_test.cc
#include "tensorflow/core/framework/tensor_shape.h" #include "tensorflow/core/framework/bounds_check.h" #include "tensorflow/core/framework/tensor_shape.pb.h" #include "tensorflow/core/lib/strings/str_util.h" #include "tensorflow/core/lib/strings/strcat.h" #include "tensorflow/core/platform/errors.h" #include "tensorfl...
#include "tensorflow/core/framework/tensor_shape.h" #include <cstdint> #include <limits> #include "xla/tsl/lib/core/status_test_util.h" #include "tensorflow/core/framework/tensor_shape.pb.h" #include "tensorflow/core/lib/core/status_test_util.h" #include "tensorflow/core/lib/random/simple_philox.h" #include "tensorflow...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/framework/tensor_shape.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/framework/tensor_shape_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
81a66a6c-8535-493f-811b-5d2d96798c77
cpp
tensorflow/tensorflow
bfloat16
tensorflow/core/framework/bfloat16.cc
tensorflow/core/framework/bfloat16_test.cc
#include "tensorflow/core/framework/bfloat16.h" #include "Eigen/Core" namespace tensorflow { void RoundFloatToBFloat16(const float* src, bfloat16* dst, int64_t size) { Eigen::Map<const Eigen::ArrayXf> src_eigen(src, size); Eigen::Map<Eigen::Array<bfloat16, Eigen::Dynamic, 1>> dst_eigen(dst, size); dst_eigen = s...
#include "tensorflow/core/framework/bfloat16.h" #include "absl/base/casts.h" #include "tensorflow/core/framework/numeric_types.h" #include "tensorflow/core/platform/test.h" #include "tensorflow/core/platform/test_benchmark.h" namespace tensorflow { namespace { TEST(Bfloat16Test, Conversion) { float a[100]; for (int...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/framework/bfloat16.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/framework/bfloat16_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
e5e0a49a-1f40-435f-80d7-28442c2c513e
cpp
tensorflow/tensorflow
shape_inference_testutil
tensorflow/core/framework/shape_inference_testutil.cc
tensorflow/core/framework/shape_inference_testutil_test.cc
#include "tensorflow/core/framework/shape_inference_testutil.h" #include <algorithm> #include <memory> #include <vector> #include "tensorflow/core/framework/node_def_util.h" #include "tensorflow/core/framework/op.h" #include "tensorflow/core/lib/gtl/map_util.h" #include "tensorflow/core/lib/strings/numbers.h" #include ...
#include "tensorflow/core/framework/shape_inference_testutil.h" #include <string> #include "tensorflow/core/framework/node_def_builder.h" #include "tensorflow/core/framework/op.h" #include "tensorflow/core/framework/shape_inference.h" #include "tensorflow/core/lib/strings/str_util.h" #include "tensorflow/core/platform/...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/framework/shape_inference_testutil.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/framework/shape_inference_testutil_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
a3c22fae-00a0-46f8-a12c-8b501d62205a
cpp
tensorflow/tensorflow
tensor_util
tensorflow/core/runtime_fallback/kernel/tensor_util.cc
tensorflow/core/runtime_fallback/util/tensor_util_test.cc
#include "tensorflow/core/runtime_fallback/kernel/tensor_util.h" #include "tensorflow/core/runtime_fallback/kernel/kernel_fallback_tensor.h" #include "tensorflow/core/runtime_fallback/runtime/kernel_utils.h" #include "tfrt/host_context/device.h" #include "tfrt/support/string_util.h" namespace tensorflow { namespace...
#include "tensorflow/core/runtime_fallback/util/tensor_util.h" #include <cstddef> #include <memory> #include <gmock/gmock.h> #include "Eigen/Core" #include "tensorflow/core/framework/tensor.h" #include "tensorflow/core/framework/tensor.pb.h" #include "tensorflow/core/framework/tensor_shape.h" #include "tensorflow/cor...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/runtime_fallback/kernel/tensor_util.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/runtime_fallback/util/tensor_util_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
db2ed32f-50df-41fd-a494-8b379eaecd49
cpp
tensorflow/tensorflow
kernel_def_util
tensorflow/core/framework/kernel_def_util.cc
tensorflow/core/framework/kernel_def_util_test.cc
#include "tensorflow/core/framework/kernel_def_util.h" #include "tensorflow/core/framework/attr_value.pb.h" #include "tensorflow/core/framework/attr_value_util.h" #include "tensorflow/core/framework/kernel_def.pb.h" #include "tensorflow/core/framework/node_def_util.h" #include "tensorflow/core/framework/types.h" namesp...
#include "tensorflow/core/framework/kernel_def_util.h" #include "tensorflow/core/framework/kernel_def.pb.h" #include "tensorflow/core/framework/node_def.pb.h" #include "tensorflow/core/platform/logging.h" #include "tensorflow/core/platform/test.h" namespace tensorflow { namespace { NodeDef NodeDefFromText(const string&...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/framework/kernel_def_util.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/framework/kernel_def_util_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
a7de02f3-1f9b-4d79-9383-5b28d3fecda7
cpp
tensorflow/tensorflow
op_def_util
tensorflow/python/framework/op_def_util.cc
tensorflow/core/framework/op_def_util_test.cc
#include "tensorflow/python/framework/op_def_util.h" #include <map> #include "absl/strings/str_cat.h" #include "tensorflow/core/framework/attr_value.pb.h" #include "tensorflow/core/framework/tensor_shape.pb.h" #include "tensorflow/core/framework/types.pb.h" #include "tensorflow/python/lib/core/safe_pyobject_ptr.h" #inc...
#include "tensorflow/core/framework/op_def_util.h" #include "tensorflow/core/framework/op_def.pb.h" #include "tensorflow/core/framework/op_def_builder.h" #include "tensorflow/core/lib/core/status_test_util.h" #include "tensorflow/core/lib/strings/str_util.h" #include "tensorflow/core/lib/strings/strcat.h" #include "ten...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/python/framework/op_def_util.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/framework/op_def_util_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
ff8c6da2-f799-4128-be68-719d72d110fb
cpp
tensorflow/tensorflow
op_segment
tensorflow/core/framework/op_segment.cc
tensorflow/core/framework/op_segment_test.cc
#include "tensorflow/core/framework/op_segment.h" #include "tensorflow/core/framework/function.h" #include "tensorflow/core/framework/op_kernel.h" #include "tensorflow/core/lib/core/errors.h" #include "tensorflow/core/lib/gtl/map_util.h" #include "tensorflow/core/platform/logging.h" #include "tensorflow/core/platform/m...
#include "tensorflow/core/framework/op_segment.h" #include <vector> #include "tensorflow/core/framework/allocator.h" #include "tensorflow/core/framework/node_def_builder.h" #include "tensorflow/core/framework/op_kernel.h" #include "tensorflow/core/kernels/ops_util.h" #include "tensorflow/core/lib/core/errors.h" #includ...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/framework/op_segment.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/framework/op_segment_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
d3e95488-5275-405c-a295-dbce3315969e
cpp
tensorflow/tensorflow
graph_to_functiondef
tensorflow/core/framework/graph_to_functiondef.cc
tensorflow/core/framework/graph_to_functiondef_test.cc
#include "tensorflow/core/framework/graph_to_functiondef.h" #include <memory> #include <utility> #include "absl/container/flat_hash_map.h" #include "absl/container/flat_hash_set.h" #include "tensorflow/core/framework/attr_value_util.h" #include "tensorflow/core/framework/function.pb.h" #include "tensorflow/core/framewo...
#include "tensorflow/core/framework/graph_to_functiondef.h" #include <utility> #include <vector> #include "tensorflow/cc/framework/ops.h" #include "tensorflow/cc/ops/function_ops.h" #include "tensorflow/cc/ops/resource_variable_ops.h" #include "tensorflow/cc/ops/standard_ops.h" #include "tensorflow/core/common_runtime/...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/framework/graph_to_functiondef.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/framework/graph_to_functiondef_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
7423b8b9-1d55-4ce1-ba4f-6e17980cd9a9
cpp
tensorflow/tensorflow
variant_op_registry
tensorflow/core/framework/variant_op_registry.cc
tensorflow/core/framework/variant_op_registry_test.cc
#include "tensorflow/core/framework/variant_op_registry.h" #include <string> #include "tensorflow/core/framework/register_types.h" #include "tensorflow/core/framework/type_index.h" #include "tensorflow/core/framework/variant.h" #include "tensorflow/core/lib/core/errors.h" #include "tensorflow/core/platform/logging.h" #...
#include <memory> #include "tensorflow/core/lib/strings/str_util.h" #define EIGEN_USE_THREADS #if GOOGLE_CUDA || TENSORFLOW_USE_ROCM #define EIGEN_USE_GPU #endif #include "tensorflow/core/framework/variant_op_registry.h" #include "unsupported/Eigen/CXX11/Tensor" #include "tensorflow/core/framework/op_kernel.h" #inclu...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/framework/variant_op_registry.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/framework/variant_op_registry_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
0b3cd866-7823-44dc-8ae9-23c7a7b89396
cpp
tensorflow/tensorflow
resource_handle
tensorflow/core/framework/resource_handle.cc
tensorflow/core/framework/resource_handle_test.cc
#include "tensorflow/core/framework/resource_handle.h" #include <string> #include <utility> #include <vector> #include "absl/strings/str_format.h" #include "tensorflow/core/framework/resource_handle.pb.h" #include "tensorflow/core/framework/tensor_shape.h" #include "tensorflow/core/lib/core/errors.h" #include "tensorfl...
#include "tensorflow/core/framework/resource_handle.h" #include <memory> #include <string> #include "tensorflow/core/framework/resource_handle.pb.h" #include "tensorflow/core/framework/tensor_shape.pb.h" #include "tensorflow/core/platform/test.h" namespace tensorflow { namespace { class MockResource : public ResourceBa...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/framework/resource_handle.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/framework/resource_handle_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
4a1c6abc-0c40-4ed1-b36e-8bfe93401374
cpp
tensorflow/tensorflow
common_shape_fns
tensorflow/core/framework/common_shape_fns.cc
tensorflow/core/framework/common_shape_fns_test.cc
#include "tensorflow/core/framework/common_shape_fns.h" #include <cstdint> #include <optional> #include <vector> #include "absl/container/flat_hash_map.h" #include "absl/container/flat_hash_set.h" #include "absl/status/status.h" #include "absl/strings/match.h" #include "absl/strings/str_cat.h" #include "absl/strings/st...
#include "tensorflow/core/framework/common_shape_fns.h" #include <string> #include <gtest/gtest.h> #include "tensorflow/core/framework/fake_input.h" #include "tensorflow/core/framework/node_def_builder.h" #include "tensorflow/core/framework/op_def_builder.h" #include "tensorflow/core/framework/shape_inference_testutil....
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/framework/common_shape_fns.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/framework/common_shape_fns_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
bfb04cd2-590c-4ad3-b474-00e48e6de835
cpp
tensorflow/tensorflow
op_kernel
tensorflow/core/framework/op_kernel.cc
tensorflow/core/framework/op_kernel_test.cc
#include "tensorflow/core/framework/op_kernel.h" #include <cstdlib> #include <cstring> #include <memory> #include <mutex> #include <string> #include <unordered_map> #include <utility> #include <vector> #include "absl/base/call_once.h" #include "absl/container/flat_hash_set.h" #include "absl/strings/match.h" #include ...
#include "tensorflow/core/framework/op_kernel.h" #include <memory> #include <utility> #include <vector> #include "absl/strings/str_cat.h" #include "tensorflow/core/framework/allocator.h" #include "tensorflow/core/framework/attr_value.pb.h" #include "tensorflow/core/framework/attr_value_util.h" #include "tensorflow/core...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/framework/op_kernel.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/framework/op_kernel_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
0d8fad02-ec28-44dc-a261-776f19b8ca59
cpp
tensorflow/tensorflow
graph_def_util
tensorflow/core/framework/graph_def_util.cc
tensorflow/core/framework/graph_def_util_test.cc
#include "tensorflow/core/framework/graph_def_util.h" #include <set> #include <unordered_map> #include <unordered_set> #include <vector> #include "tensorflow/core/framework/attr_value.pb.h" #include "tensorflow/core/framework/function.h" #include "tensorflow/core/framework/function.pb.h" #include "tensorflow/core/frame...
#include "tensorflow/core/framework/graph_def_util.h" #include "tensorflow/core/framework/function.h" #include "tensorflow/core/framework/graph.pb.h" #include "tensorflow/core/framework/node_def_builder.h" #include "tensorflow/core/framework/op.h" #include "tensorflow/core/framework/op_def.pb.h" #include "tensorflow/co...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/framework/graph_def_util.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/framework/graph_def_util_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
3028451e-22e9-4606-b27f-2af99eba21ae
cpp
tensorflow/tensorflow
node_def_util
tensorflow/core/framework/node_def_util.cc
tensorflow/core/framework/node_def_util_test.cc
#include "tensorflow/core/framework/node_def_util.h" #include <algorithm> #include <unordered_map> #include <vector> #include "absl/strings/match.h" #include "absl/strings/str_cat.h" #include "absl/strings/str_join.h" #include "tensorflow/core/framework/attr_value.pb.h" #include "tensorflow/core/framework/attr_value_ut...
#include "tensorflow/core/framework/node_def_util.h" #include "tensorflow/core/framework/attr_value.pb.h" #include "tensorflow/core/framework/fake_input.h" #include "tensorflow/core/framework/node_def_builder.h" #include "tensorflow/core/framework/op_def_builder.h" #include "tensorflow/core/framework/op_def_util.h" #...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/framework/node_def_util.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/framework/node_def_util_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
ef4420c7-b3f9-4685-bc2a-8478f1719c21
cpp
tensorflow/tensorflow
memory_types
tensorflow/core/common_runtime/memory_types.cc
tensorflow/core/common_runtime/memory_types_test.cc
#include "tensorflow/core/common_runtime/memory_types.h" #include <utility> #include "tensorflow/core/framework/device_factory.h" #include "tensorflow/core/framework/memory_types.h" #include "tensorflow/core/framework/node_def_builder.h" #include "tensorflow/core/graph/node_builder.h" #include "tensorflow/core/lib/core...
#include "tensorflow/core/common_runtime/memory_types.h" #include "xla/tsl/lib/core/status_test_util.h" #include "tensorflow/core/framework/op.h" #include "tensorflow/core/framework/tensor.h" #include "tensorflow/core/framework/types.h" #include "tensorflow/core/framework/types.pb.h" #include "tensorflow/core/graph/gra...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/common_runtime/memory_types.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/common_runtime/memory_types_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
2ff66a8f-ddcf-4b7d-80b1-e7448a66996e
cpp
tensorflow/tensorflow
kernel_def_builder
tensorflow/core/framework/kernel_def_builder.cc
tensorflow/core/framework/kernel_def_builder_test.cc
#include "tensorflow/core/framework/kernel_def_builder.h" #include "tensorflow/core/framework/attr_value.pb.h" #include "tensorflow/core/framework/kernel_def.pb.h" namespace tensorflow { KernelDefBuilder::KernelDefBuilder(const char* op_name) { kernel_def_ = new KernelDef; kernel_def_->set_op(op_name); } KernelDefB...
#include "tensorflow/core/framework/kernel_def_builder.h" #include "tensorflow/core/framework/kernel_def.pb.h" #include "tensorflow/core/lib/gtl/array_slice.h" #include "tensorflow/core/platform/protobuf.h" #include "tensorflow/core/platform/test.h" namespace tensorflow { namespace { TEST(KernelDefBuilderTest, Basic) {...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/framework/kernel_def_builder.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/framework/kernel_def_builder_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
18a5dc02-a8ff-4ba0-826b-14f5980d794c
cpp
tensorflow/tensorflow
resource_mgr
tensorflow/core/framework/resource_mgr.cc
tensorflow/core/framework/resource_mgr_test.cc
#include "tensorflow/core/framework/resource_mgr.h" #include <atomic> #include <memory> #include <variant> #include "tensorflow/core/framework/device_attributes.pb.h" #include "tensorflow/core/framework/node_def.pb.h" #include "tensorflow/core/framework/node_def_util.h" #include "tensorflow/core/lib/core/errors.h" #inc...
#include "tensorflow/core/framework/resource_mgr.h" #include <memory> #include <vector> #include "tensorflow/core/framework/device_attributes.pb.h" #include "tensorflow/core/framework/node_def.pb.h" #include "tensorflow/core/framework/node_def_util.h" #include "tensorflow/core/framework/resource_handle.pb.h" #include "...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/framework/resource_mgr.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/framework/resource_mgr_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
78b40b32-1ec5-4330-b01f-7f1832369dd2
cpp
tensorflow/tensorflow
tensor_slice
tensorflow/core/framework/tensor_slice.cc
tensorflow/core/framework/tensor_slice_test.cc
#include "tensorflow/core/framework/tensor_slice.h" #include <limits> #include <vector> #include "tensorflow/core/lib/core/errors.h" #include "tensorflow/core/lib/strings/numbers.h" #include "tensorflow/core/lib/strings/str_util.h" #include "tensorflow/core/lib/strings/strcat.h" #include "tensorflow/core/platform/loggi...
#include "tensorflow/core/framework/tensor_slice.h" #include <limits> #include "tensorflow/core/lib/core/status_test_util.h" #include "tensorflow/core/platform/logging.h" #include "tensorflow/core/platform/protobuf.h" #include "tensorflow/core/platform/test.h" #include "tensorflow/core/protobuf/error_codes.pb.h" namesp...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/framework/tensor_slice.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/framework/tensor_slice_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
0b6ab60b-4ff4-4235-aa67-57e09a1db005
cpp
tensorflow/tensorflow
device_base
tensorflow/core/framework/device_base.cc
tensorflow/core/framework/device_base_test.cc
#define EIGEN_USE_THREADS #include "tensorflow/core/framework/device_base.h" #include <algorithm> #include <vector> #include "absl/container/flat_hash_set.h" #include "absl/synchronization/notification.h" #include "unsupported/Eigen/CXX11/Tensor" #include "tensorflow/core/util/work_sharder.h" namespace tensorflow { D...
#define EIGEN_USE_THREADS #include "tensorflow/core/framework/device_base.h" #include "unsupported/Eigen/CXX11/Tensor" #include "tensorflow/core/lib/core/threadpool.h" #include "tensorflow/core/platform/env.h" #include "tensorflow/core/platform/test.h" #include "tensorflow/core/util/work_sharder.h" namespace tensorfl...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/framework/device_base.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/framework/device_base_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
73030787-d952-461e-beaf-51cb58b76e6a
cpp
tensorflow/tensorflow
node_def_builder
tensorflow/core/framework/node_def_builder.cc
tensorflow/core/framework/node_def_builder_test.cc
#include "tensorflow/core/framework/node_def_builder.h" #include <vector> #include "tensorflow/core/framework/attr_value.pb.h" #include "tensorflow/core/framework/op.h" #include "tensorflow/core/framework/op_def_util.h" #include "tensorflow/core/lib/core/errors.h" #include "tensorflow/core/lib/strings/str_util.h" names...
#include "tensorflow/core/framework/node_def_builder.h" #include <memory> #include <vector> #include "tensorflow/core/framework/fake_input.h" #include "tensorflow/core/framework/node_def_util.h" #include "tensorflow/core/framework/op_def_builder.h" #include "tensorflow/core/framework/op_def_util.h" #include "tensorflow...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/framework/node_def_builder.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/framework/node_def_builder_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
b1761777-ae28-417d-ac87-0c180d616599
cpp
tensorflow/tensorflow
run_handler
tensorflow/core/tfrt/run_handler_thread_pool/run_handler.cc
tensorflow/core/tfrt/run_handler_thread_pool/run_handler_test.cc
#include <algorithm> #include <atomic> #include <functional> #include <list> #include <memory> #include <string> #include <utility> #include <vector> #define EIGEN_USE_THREADS #include <optional> #include "unsupported/Eigen/CXX11/Tensor" #include "tensorflow/core/lib/core/threadpool_interface.h" #include "tensorflow/...
#include <cstddef> #include <functional> #include <memory> #include <string> #include <tuple> #include <vector> #include <gtest/gtest.h> #include "absl/strings/match.h" #define EIGEN_USE_THREADS #include "tensorflow/core/tfrt/run_handler_thread_pool/run_handler.h" #define EIGEN_USE_THREADS #include "absl/memory/memory....
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/tfrt/run_handler_thread_pool/run_handler.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/tfrt/run_handler_thread_pool/run_handler_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
21efe5f5-c57a-45c6-ac99-949f2a346f49
cpp
tensorflow/tensorflow
flags
tensorflow/compiler/aot/flags.cc
tensorflow/core/config/flags_test.cc
#include "tensorflow/compiler/aot/flags.h" namespace tensorflow { namespace tfcompile { void AppendMainFlags(std::vector<Flag>* flag_list, MainFlags* flags) { const std::vector<Flag> tmp = { {"graph", &flags->graph, "Input GraphDef file. If the file ends in '.pbtxt' it is expected to " "be in the...
#include "tensorflow/core/config/flags.h" #include "tensorflow/core/config/flag_defs.h" #include "tensorflow/core/platform/test.h" namespace tensorflow { namespace { TEST(TFFlags, ReadFlagValue) { EXPECT_TRUE(flags::Global().test_only_experiment_1.value()); EXPECT_FALSE(flags::Global().test_only_experiment_2.value(...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/compiler/aot/flags.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/config/flags_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
5022c468-76d4-4d66-9465-6171e0aac452
cpp
tensorflow/tensorflow
tf_op_registry
tensorflow/core/ir/tf_op_registry.cc
tensorflow/core/ir/tf_op_registry_test.cc
#include "tensorflow/core/ir/tf_op_registry.h" #include "mlir/IR/Dialect.h" #include "mlir/IR/Operation.h" #include "mlir/Support/LLVM.h" #include "tensorflow/core/framework/op.h" #include "tensorflow/core/framework/op_def_builder.h" #include "tensorflow/core/ir/interfaces.h" #include "tensorflow/core/ir/ops.h" n...
#include "tensorflow/core/ir/tf_op_registry.h" #include <string> #include "llvm/ADT/STLExtras.h" #include "llvm/Support/FormatVariadic.h" #include "mlir/IR/BuiltinOps.h" #include "mlir/IR/MLIRContext.h" #include "mlir/IR/OwningOpRef.h" #include "mlir/Parser/Parser.h" #include "mlir/Support/LLVM.h" #include "t...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/ir/tf_op_registry.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/ir/tf_op_registry_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
a4a27622-89e4-490d-96ab-4ec3e13d4a4f
cpp
tensorflow/tensorflow
utility
tensorflow/core/ir/utility.cc
tensorflow/core/ir/utility_test.cc
#include "tensorflow/core/ir/utility.h" #include <optional> #include "mlir/IR/Block.h" #include "mlir/IR/Operation.h" #include "mlir/IR/Region.h" #include "mlir/IR/Value.h" #include "mlir/Support/LLVM.h" #include "tensorflow/core/ir/dialect.h" #include "tensorflow/core/ir/interfaces.h" namespace mlir { namesp...
#include "tensorflow/core/ir/utility.h" #include <optional> #include "mlir/IR/BuiltinOps.h" #include "mlir/IR/MLIRContext.h" #include "mlir/IR/Operation.h" #include "mlir/IR/OwningOpRef.h" #include "mlir/IR/Value.h" #include "mlir/Parser/Parser.h" #include "mlir/Support/LLVM.h" #include "tensorflow/core/i...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/ir/utility.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/ir/utility_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
ad18d8db-ff85-4f70-86f2-d0a7b774dad7
cpp
tensorflow/tensorflow
tf_op_wrapper
tensorflow/core/ir/tf_op_wrapper.cc
tensorflow/core/ir/tf_op_wrapper_test.cc
#include "tensorflow/core/ir/tf_op_wrapper.h" #include "mlir/IR/BuiltinAttributes.h" #include "mlir/Support/LLVM.h" #include "tensorflow/core/ir/dialect.h" namespace mlir { namespace tfg { TFOp::TFOp(Operation *op) : op_(op) { assert(!op || classof(op) && "expected a TFG op"); } StringAttr TFOp::nameAttr() { re...
#include "tensorflow/core/ir/tf_op_wrapper.h" #include "llvm/ADT/STLExtras.h" #include "llvm/ADT/ScopeExit.h" #include "mlir/IR/BuiltinAttributes.h" #include "mlir/IR/BuiltinOps.h" #include "mlir/IR/Location.h" #include "mlir/IR/MLIRContext.h" #include "mlir/IR/OperationSupport.h" #include "mlir/IR/OwningOpRe...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/ir/tf_op_wrapper.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/ir/tf_op_wrapper_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
fd288dc6-fb3a-406a-966e-03145ea710ac
cpp
tensorflow/tensorflow
interfaces
tensorflow/core/ir/interfaces.cc
tensorflow/core/ir/interfaces_test.cc
#include "tensorflow/core/ir/interfaces.h" #include "llvm/ADT/SmallVector.h" #include "mlir/IR/Operation.h" #include "mlir/IR/Region.h" #include "mlir/IR/Value.h" #include "mlir/Interfaces/SideEffectInterfaces.h" #include "mlir/Support/LLVM.h" #include "tensorflow/core/ir/ops.h" #include "tensorflow/core/ir/t...
#include "tensorflow/core/ir/interfaces.h" #include "llvm/ADT/ScopeExit.h" #include "mlir/IR/DialectInterface.h" #include "mlir/IR/Location.h" #include "mlir/IR/MLIRContext.h" #include "mlir/IR/OperationSupport.h" #include "mlir/IR/Verifier.h" #include "tensorflow/core/ir/dialect.h" #include "tensorflow/core/...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/ir/interfaces.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/ir/interfaces_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
8515d29c-d1da-488d-9277-faa53268774a
cpp
tensorflow/tensorflow
dialect
tensorflow/core/ir/types/dialect.cc
tensorflow/core/ir/types/dialect_test.cc
#include "tensorflow/core/ir/types/dialect.h" #include <cstdint> #include <optional> #include <string> #include "absl/strings/escaping.h" #include "llvm/ADT/ArrayRef.h" #include "llvm/ADT/STLExtras.h" #include "llvm/ADT/StringExtras.h" #include "llvm/ADT/TypeSwitch.h" #include "llvm/Support/ErrorHandling.h" #include "l...
#include "tensorflow/core/ir/types/dialect.h" #include <cstdint> #include <limits> #include <gmock/gmock.h> #include "mlir/IR/Builders.h" #include "mlir/IR/BuiltinAttributes.h" #include "mlir/IR/BuiltinOps.h" #include "mlir/IR/MLIRContext.h" #include "mlir/IR/Operation.h" #include "mlir/Parser/Parser.h" #in...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/ir/types/dialect.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/ir/types/dialect_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
f24d4774-ec82-49af-b0a3-e694b8beb8e4
cpp
tensorflow/tensorflow
shape_inference_utils
tensorflow/compiler/mlir/tensorflow/utils/shape_inference_utils.cc
tensorflow/core/ir/utils/shape_inference_utils_test.cc
#include "tensorflow/compiler/mlir/tensorflow/utils/shape_inference_utils.h" #include <optional> #include "tensorflow/compiler/mlir/tensorflow/ir/tf_dialect.h" #include "tensorflow/compiler/mlir/tensorflow/translate/export_tf_dialect_op.h" #define DEBUG_TYPE "tf-shape-inference-utils" namespace mlir { namespace TF { Lo...
#include "tensorflow/core/ir/utils/shape_inference_utils.h" #include <vector> #include "absl/status/status.h" #include "llvm/ADT/STLExtras.h" #include "mlir/IR/Attributes.h" #include "mlir/IR/Block.h" #include "mlir/IR/BuiltinAttributes.h" #include "mlir/IR/BuiltinOps.h" #include "mlir/IR/BuiltinTypeInterfaces....
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/compiler/mlir/tensorflow/utils/shape_inference_utils.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/ir/utils/shape_inference_utils_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
e2ab1c0d-c7b7-446e-9d85-8322e4227a2e
cpp
tensorflow/tensorflow
convert_tensor
tensorflow/compiler/mlir/tensorflow/utils/convert_tensor.cc
tensorflow/compiler/mlir/tensorflow/utils/convert_tensor_test.cc
#include "tensorflow/compiler/mlir/tensorflow/utils/convert_tensor.h" #include <cstdint> #include <limits> #include <optional> #include <string> #include <vector> #include "absl/base/casts.h" #include "absl/container/inlined_vector.h" #include "absl/strings/str_cat.h" #include "absl/strings/string_view.h" #include "llv...
#include "tensorflow/compiler/mlir/tensorflow/utils/convert_tensor.h" #include <cstring> #include <initializer_list> #include "mlir/IR/Attributes.h" #include "mlir/IR/Builders.h" #include "mlir/IR/BuiltinTypes.h" #include "mlir/IR/Dialect.h" #include "mlir/IR/MLIRContext.h" #include "mlir/Support/LLVM.h" #i...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/compiler/mlir/tensorflow/utils/convert_tensor.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/compiler/mlir/tensorflow/utils/convert_tensor_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
ab71cfba-e3ad-4152-9ff5-0fff1613d9b5
cpp
tensorflow/tensorflow
feature_util
tensorflow/core/example/feature_util.cc
tensorflow/core/example/feature_util_test.cc
#include "tensorflow/core/example/feature_util.h" #include <string> #include "absl/strings/string_view.h" namespace tensorflow { namespace internal { Feature& ExampleFeature(absl::string_view name, Example* example) { return *GetFeature(name, example); } } template <> bool HasFeature<>(absl::string_view key, const ...
#include "tensorflow/core/example/feature_util.h" #include <algorithm> #include <string> #include <vector> #include "absl/strings/string_view.h" #include "tensorflow/core/example/example.pb.h" #include "tensorflow/core/platform/test.h" #include "tensorflow/core/platform/types.h" namespace tensorflow { namespace { const...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/example/feature_util.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/example/feature_util_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
a3080d71-6a4e-44ac-b11e-7ca949bc2bb5
cpp
tensorflow/tensorflow
example_parser_configuration
tensorflow/core/example/example_parser_configuration.cc
tensorflow/core/example/example_parser_configuration_test.cc
#include "tensorflow/core/example/example_parser_configuration.h" #include <vector> #include "tensorflow/core/example/feature.pb.h" #include "tensorflow/core/framework/attr_value.pb.h" #include "tensorflow/core/framework/node_def.pb.h" #include "tensorflow/core/framework/numeric_op.h" #include "tensorflow/core/framewor...
#include "tensorflow/core/example/example_parser_configuration.h" #include <memory> #include "tensorflow/core/framework/attr_value.pb.h" #include "tensorflow/core/framework/node_def.pb.h" #include "tensorflow/core/framework/tensor_testutil.h" #include "tensorflow/core/lib/core/status_test_util.h" #include "tensorflow/c...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/example/example_parser_configuration.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/example/example_parser_configuration_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
3f822d69-6c9f-46ae-ab6f-031ccb5e5af2
cpp
tensorflow/tensorflow
tensor_coding
tensorflow/core/distributed_runtime/tensor_coding.cc
tensorflow/core/distributed_runtime/tensor_coding_test.cc
#include "tensorflow/core/distributed_runtime/tensor_coding.h" #include "google/protobuf/any.pb.h" #include "tensorflow/core/common_runtime/device.h" #include "tensorflow/core/framework/tensor.pb.h" #include "tensorflow/core/framework/tensor_shape.pb.h" namespace tensorflow { TensorResponse::Source::~Source() {} void T...
#include "tensorflow/core/distributed_runtime/tensor_coding.h" #include "tensorflow/core/framework/device_attributes.pb.h" #include "tensorflow/core/framework/device_base.h" #include "tensorflow/core/framework/tensor.h" #include "tensorflow/core/framework/tensor_testutil.h" #include "tensorflow/core/lib/gtl/inlined_vec...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/distributed_runtime/tensor_coding.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/distributed_runtime/tensor_coding_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
46384a61-f663-42db-afe4-785b596082c0
cpp
tensorflow/tensorflow
platform_strings
tensorflow/core/platform/platform_strings.cc
tensorflow/core/platform/platform_strings_test.cc
#include "tensorflow/core/platform/platform_strings.h" #include <cerrno> #include <cstdio> #include <cstring> #include <string> #include <vector> namespace tensorflow { int GetPlatformStrings(const std::string& path, std::vector<std::string>* found) { int result; FILE* ifp = fopen(path.c_str(...
#include "tensorflow/core/platform/platform_strings.h" #include <stdio.h> #include <stdlib.h> #include <string.h> #ifndef _WIN32 #include <unistd.h> #endif #include <string> #include <vector> #include "tensorflow/core/platform/env.h" #include "tensorflow/core/platform/init_main.h" #include "tensorflow/core/platform/l...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/platform/platform_strings.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/platform/platform_strings_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
d8ed00a3-7513-4797-8a12-6dc6dfb3fefe
cpp
tensorflow/tensorflow
enable_tf2_utils
tensorflow/core/platform/enable_tf2_utils.cc
tensorflow/core/platform/enable_tf2_utils_test.cc
#include "tensorflow/core/platform/enable_tf2_utils.h" #include <atomic> #include "tensorflow/core/util/env_var.h" namespace tensorflow { enum Enablement : uint8 { kFalse = 0, kTrue = 1, undefined = 2 }; static std::atomic<Enablement> tf2_enabled{undefined}; void set_tf2_execution(bool enabled) { tf2_enabled = (enabl...
#include "tensorflow/core/platform/enable_tf2_utils.h" #include "tensorflow/core/platform/test.h" #include "tensorflow/core/util/env_var.h" namespace tensorflow { TEST(TF2EnabledTest, enabled_behavior) { string tf2_env; TF_CHECK_OK(ReadStringFromEnvVar("TF2_BEHAVIOR", "0", &tf2_env)); bool expected = (tf2_env != ...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/platform/enable_tf2_utils.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/platform/enable_tf2_utils_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
dc8e519b-c16d-49d3-97a5-72a90d4fd5f7
cpp
tensorflow/tensorflow
subgraph
tensorflow/lite/delegates/gpu/common/selectors/subgraph.cc
tensorflow/lite/core/subgraph_test.cc
#include "tensorflow/lite/delegates/gpu/common/selectors/subgraph.h" #include <memory> #include "tensorflow/lite/delegates/gpu/common/model.h" #include "tensorflow/lite/delegates/gpu/common/shape.h" #include "tensorflow/lite/delegates/gpu/common/task/gpu_operation.h" #include "tensorflow/lite/delegates/gpu/common/task/...
#include "tensorflow/lite/core/subgraph.h" #include <algorithm> #include <cstddef> #include <functional> #include <memory> #include <numeric> #include <vector> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "absl/log/check.h" #include "tensorflow/lite/c/c_api_types.h" #include "tensorflow/lite/core/interpre...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/delegates/gpu/common/selectors/subgraph.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/core/subgraph_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
b694c9ed-3864-4e50-b8e1-72fee39e53f7
cpp
tensorflow/tensorflow
optimizer_cse
tensorflow/core/graph/optimizer_cse.cc
tensorflow/core/graph/optimizer_cse_test.cc
#include "tensorflow/core/graph/optimizer_cse.h" #include <iostream> #include <unordered_map> #include <utility> #include <vector> #include "tensorflow/core/framework/node_def.pb.h" #include "tensorflow/core/framework/node_def_util.h" #include "tensorflow/core/graph/algorithm.h" #include "tensorflow/core/graph/graph_no...
#include "tensorflow/core/graph/optimizer_cse.h" #include <utility> #include <vector> #include "tensorflow/core/common_runtime/graph_constructor.h" #include "tensorflow/core/framework/op.h" #include "tensorflow/core/framework/tensor.h" #include "tensorflow/core/graph/graph.h" #include "tensorflow/core/graph/testlib.h" ...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/graph/optimizer_cse.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/graph/optimizer_cse_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
52bb704e-dee6-462a-9567-d84486186958
cpp
tensorflow/tensorflow
graph_debug_info_builder
tensorflow/core/graph/graph_debug_info_builder.cc
tensorflow/core/graph/graph_debug_info_builder_test.cc
#include "tensorflow/core/graph/graph_debug_info_builder.h" #include <memory> #include <string> #include <utility> #include <vector> #include "absl/container/flat_hash_map.h" #include "absl/hash/hash.h" #include "absl/status/status.h" #include "absl/strings/str_format.h" #include "absl/types/span.h" #include "tensorflo...
#include "tensorflow/core/graph/graph_debug_info_builder.h" #include <memory> #include <string> #include <utility> #include <vector> #include <gmock/gmock.h> #include "absl/strings/str_cat.h" #include "tensorflow/core/framework/graph_debug_info.pb.h" #include "tensorflow/core/platform/stack_frame.h" #include "tensorflo...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/graph/graph_debug_info_builder.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/graph/graph_debug_info_builder_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
2f0470b6-f9db-44fe-a6aa-ed8d231c295a
cpp
tensorflow/tensorflow
validate
tensorflow/core/graph/validate.cc
tensorflow/core/graph/validate_test.cc
#include "tensorflow/core/graph/validate.h" #include "absl/container/flat_hash_set.h" #include "absl/strings/string_view.h" #include "tensorflow/core/framework/graph_def_util.h" #include "tensorflow/core/framework/node_def.pb.h" #include "tensorflow/core/framework/node_def_util.h" #include "tensorflow/core/framework/op...
#include "tensorflow/core/graph/validate.h" #include <string> #include "tensorflow/core/common_runtime/graph_constructor.h" #include "tensorflow/core/framework/graph.pb.h" #include "tensorflow/core/framework/graph_def_util.h" #include "tensorflow/core/framework/op_def_builder.h" #include "tensorflow/core/graph/graph.h"...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/graph/validate.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/graph/validate_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
737f2727-23b2-402e-a0a0-5a2b7d539d6c
cpp
tensorflow/tensorflow
edgeset
tensorflow/core/graph/edgeset.cc
tensorflow/core/graph/edgeset_test.cc
#include "tensorflow/core/graph/edgeset.h" namespace tensorflow { std::pair<EdgeSet::const_iterator, bool> EdgeSet::insert(value_type value) { RegisterMutation(); const_iterator ci; ci.Init(this); auto s = get_set(); if (!s) { for (int i = 0; i < kInline; i++) { if (ptrs_[i] == value) { ci.a...
#include "tensorflow/core/graph/edgeset.h" #include <set> #include <vector> #include "tensorflow/core/graph/graph.h" #include "tensorflow/core/platform/test.h" namespace tensorflow { class EdgeSetTest : public ::testing::Test { public: EdgeSetTest() : edges_(nullptr) {} ~EdgeSetTest() override { delete[] edges_; }...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/graph/edgeset.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/graph/edgeset_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
4eeac038-fc93-4cc4-828c-47132cc75b65
cpp
tensorflow/tensorflow
collective_order
tensorflow/core/graph/collective_order.cc
tensorflow/core/graph/collective_order_test.cc
#include "tensorflow/core/graph/collective_order.h" #include "absl/container/flat_hash_map.h" #include "absl/container/flat_hash_set.h" #include "tensorflow/core/graph/algorithm.h" namespace tensorflow { namespace { Status DiscoverDataDependencies( const Graph* graph, std::vector<Node*>* collective_nodes, std::...
#include "tensorflow/core/graph/collective_order.h" #include <gmock/gmock.h> #include "tensorflow/core/common_runtime/graph_def_builder_util.h" #include "tensorflow/core/framework/node_def_builder.h" #include "tensorflow/core/graph/graph_def_builder.h" #include "tensorflow/core/lib/core/status_test_util.h" #include "te...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/graph/collective_order.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/graph/collective_order_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
76cfe482-6e50-4a45-9dcc-84e407a2fbd2
cpp
tensorflow/tensorflow
costmodel
tensorflow/core/graph/costmodel.cc
tensorflow/core/graph/costmodel_test.cc
#include "tensorflow/core/graph/costmodel.h" #include <algorithm> #include <vector> #include "tensorflow/core/framework/allocation_description.pb.h" #include "tensorflow/core/framework/cost_graph.pb.h" #include "tensorflow/core/framework/step_stats.pb.h" #include "tensorflow/core/framework/tensor_description.pb.h" #inc...
#include "tensorflow/core/graph/costmodel.h" #include <memory> #include <string> #include <unordered_map> #include "tensorflow/cc/framework/scope.h" #include "tensorflow/core/common_runtime/costmodel_manager.h" #include "tensorflow/core/common_runtime/graph_constructor.h" #include "tensorflow/core/common_runtime/step_s...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/graph/costmodel.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/graph/costmodel_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
1e8ed1a7-a21b-45fb-94a1-dd7bf937e305
cpp
tensorflow/tensorflow
node_builder
tensorflow/core/graph/node_builder.cc
tensorflow/core/graph/node_builder_test.cc
#include "tensorflow/core/graph/node_builder.h" #include <unordered_map> #include <vector> #include "tensorflow/core/framework/node_def_util.h" #include "tensorflow/core/framework/types.pb.h" #include "tensorflow/core/framework/versions.pb.h" #include "tensorflow/core/lib/core/errors.h" #include "tensorflow/core/platfo...
#include "tensorflow/core/graph/node_builder.h" #include <string> #include "tensorflow/core/framework/full_type.pb.h" #include "tensorflow/core/framework/op.h" #include "tensorflow/core/framework/op_def_builder.h" #include "tensorflow/core/graph/graph.h" #include "tensorflow/core/kernels/ops_util.h" #include "tensorflo...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/graph/node_builder.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/graph/node_builder_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
ed0939e5-4c7d-4e30-8840-90284cbc9a53
cpp
tensorflow/tensorflow
graph
tensorflow/core/graph/graph.cc
tensorflow/core/graph/graph_test.cc
#include "tensorflow/core/graph/graph.h" #include <memory> #include <string> #include <vector> #include "absl/container/flat_hash_map.h" #include "absl/container/flat_hash_set.h" #include "absl/strings/str_cat.h" #include "tensorflow/core/framework/full_type.pb.h" #include "tensorflow/core/framework/function.h" #includ...
#include "tensorflow/core/graph/graph.h" #include <memory> #include <set> #include <unordered_map> #include <vector> #include <gmock/gmock.h> #include "tensorflow/core/common_runtime/function.h" #include "tensorflow/core/common_runtime/graph_constructor.h" #include "tensorflow/core/framework/full_type.pb.h" #include "t...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/graph/graph.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/graph/graph_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
dc588779-d7fa-4d6d-84b8-e9aba3af929e
cpp
tensorflow/tensorflow
graph_partition
tensorflow/core/tfrt/utils/graph_partition.cc
tensorflow/core/tfrt/utils/graph_partition_test.cc
#include "tensorflow/core/tfrt/utils/graph_partition.h" #include <algorithm> #include <functional> #include <map> #include <memory> #include <optional> #include <string> #include <unordered_map> #include <utility> #include <vector> #include "absl/container/flat_hash_map.h" #include "absl/container/flat_hash_set.h" #inc...
#include "tensorflow/core/tfrt/utils/graph_partition.h" #include <memory> #include <string> #include <utility> #include <vector> #include "tensorflow/cc/ops/sendrecv_ops.h" #include "tensorflow/cc/ops/standard_ops.h" #include "tensorflow/core/common_runtime/device_factory.h" #include "tensorflow/core/common_runtime/dev...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/tfrt/utils/graph_partition.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/tfrt/utils/graph_partition_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
7b82235c-15b2-46d9-a376-934867b12139
cpp
tensorflow/tensorflow
control_flow
tensorflow/core/graph/control_flow.cc
tensorflow/core/graph/control_flow_test.cc
#include "tensorflow/core/graph/control_flow.h" #include <deque> #include <vector> #include "tensorflow/core/framework/node_def_util.h" #include "tensorflow/core/framework/types.h" #include "tensorflow/core/graph/node_builder.h" #include "tensorflow/core/lib/core/errors.h" namespace tensorflow { namespace { struct Fram...
#include "tensorflow/core/graph/control_flow.h" #include <string> #include <vector> #include "tensorflow/cc/ops/standard_ops.h" #include "tensorflow/cc/ops/while_loop.h" #include "tensorflow/core/lib/core/status_test_util.h" #include "tensorflow/core/lib/strings/str_util.h" #include "tensorflow/core/platform/test.h" na...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/graph/control_flow.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/graph/control_flow_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
09c2b85b-3754-48db-92c3-816f545d6444
cpp
tensorflow/tensorflow
graph_def_builder
tensorflow/core/graph/graph_def_builder.cc
tensorflow/core/graph/graph_def_builder_test.cc
#include "tensorflow/core/graph/graph_def_builder.h" #include <utility> #include "tensorflow/core/graph/tensor_id.h" #include "tensorflow/core/lib/core/errors.h" namespace tensorflow { GraphDefBuilder::Options::Options(Graph* graph, Status* status) : graph_(graph), status_(status) {} GraphDefBuilder::Options::~Opti...
#include "tensorflow/core/graph/graph_def_builder.h" #include "tensorflow/core/common_runtime/graph_def_builder_util.h" #include "tensorflow/core/framework/versions.pb.h" #include "tensorflow/core/graph/graph.h" #include "tensorflow/core/kernels/ops_util.h" #include "tensorflow/core/lib/core/status_test_util.h" #includ...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/graph/graph_def_builder.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/graph/graph_def_builder_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
94996556-fc86-4b9e-8614-170ea8e383c5
cpp
tensorflow/tensorflow
tensor_id
tensorflow/core/graph/tensor_id.cc
tensorflow/core/graph/tensor_id_test.cc
#include "tensorflow/core/graph/tensor_id.h" #include <string> #include "tensorflow/core/lib/core/stringpiece.h" #include "tensorflow/core/lib/strings/str_util.h" namespace tensorflow { TensorId::TensorId(const SafeTensorId& id) : TensorId(id.first, id.second) {} SafeTensorId::SafeTensorId(const TensorId& id) : Saf...
#include "tensorflow/core/graph/tensor_id.h" #include <vector> #include "tensorflow/core/lib/random/simple_philox.h" #include "tensorflow/core/platform/logging.h" #include "tensorflow/core/platform/test.h" #include "tensorflow/core/platform/test_benchmark.h" namespace tensorflow { namespace { string ParseHelper(const s...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/graph/tensor_id.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/graph/tensor_id_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
4ad59b14-c70d-4f5b-b197-26ce368fa44d
cpp
tensorflow/tensorflow
simple_delete
tensorflow/core/graph/regularization/simple_delete.cc
tensorflow/core/graph/regularization/simple_delete_test.cc
#include "tensorflow/core/graph/regularization/simple_delete.h" #include <cstdint> #include <string> #include "absl/status/statusor.h" #include "absl/strings/strip.h" #include "tensorflow/core/framework/attr_value.pb.h" #include "tensorflow/core/framework/function.pb.h" #include "tensorflow/core/framework/graph.pb.h" #...
#include "tensorflow/core/graph/regularization/simple_delete.h" #include <string> #include "absl/status/statusor.h" #include "absl/strings/string_view.h" #include "tensorflow/core/graph/regularization/util.h" #include "tensorflow/core/platform/env.h" #include "tensorflow/core/platform/path.h" #include "tensorflow/core/...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/graph/regularization/simple_delete.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/graph/regularization/simple_delete_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
66f6266b-c289-42bd-953b-b20bfab56b36
cpp
tensorflow/tensorflow
request_cost
tensorflow/core/common_runtime/request_cost.cc
tensorflow/core/common_runtime/request_cost_test.cc
#include "tensorflow/core/common_runtime/request_cost.h" #include <string> #include <utility> #include <vector> #include "absl/container/flat_hash_map.h" #include "absl/strings/string_view.h" #include "absl/synchronization/mutex.h" #include "absl/time/time.h" namespace tensorflow { void RequestCost::RecordCost( con...
#include "tensorflow/core/common_runtime/request_cost.h" #include <gmock/gmock.h> #include <gtest/gtest.h> #include "absl/time/time.h" namespace tensorflow { namespace { using ::testing::ElementsAre; using ::testing::FieldsAre; using ::testing::Pair; using ::testing::UnorderedElementsAre; TEST(RequestCostTest, RecordCo...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/common_runtime/request_cost.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/common_runtime/request_cost_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
e0c0dc3d-b684-49ac-9164-5f32170d6e03
cpp
tensorflow/tensorflow
graph_runner
tensorflow/core/common_runtime/graph_runner.cc
tensorflow/core/common_runtime/graph_runner_test.cc
#define EIGEN_USE_THREADS #include "tensorflow/core/common_runtime/graph_runner.h" #include "tensorflow/core/common_runtime/device.h" #include "tensorflow/core/common_runtime/device_factory.h" #include "tensorflow/core/common_runtime/executor.h" #include "tensorflow/core/common_runtime/graph_constructor.h" #include "te...
#include <map> #include <string> #include <unordered_map> #include <vector> #include "tensorflow/core/common_runtime/graph_runner.h" #include "tensorflow/cc/framework/scope.h" #include "tensorflow/cc/ops/standard_ops.h" #include "tensorflow/core/common_runtime/device_factory.h" #include "tensorflow/core/common_runtime/...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/common_runtime/graph_runner.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/common_runtime/graph_runner_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
6563a9cb-dea9-48ee-bc96-d7524605a677
cpp
tensorflow/tensorflow
replicate_per_replica_nodes
tensorflow/core/common_runtime/replicate_per_replica_nodes.cc
tensorflow/core/common_runtime/replicate_per_replica_nodes_test.cc
#include "tensorflow/core/common_runtime/replicate_per_replica_nodes.h" #include <algorithm> #include <queue> #include "absl/strings/str_cat.h" #include "tensorflow/core/common_runtime/optimize_cross_host_control_deps.h" #include "tensorflow/core/framework/node_def.pb.h" #include "tensorflow/core/framework/node_def_bui...
#include "tensorflow/core/common_runtime/replicate_per_replica_nodes.h" #include <map> #include <vector> #include "absl/strings/match.h" #include "tensorflow/cc/ops/const_op.h" #include "tensorflow/cc/ops/function_ops.h" #include "tensorflow/cc/ops/resource_variable_ops.h" #include "tensorflow/cc/ops/standard_ops.h" #i...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/common_runtime/replicate_per_replica_nodes.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/common_runtime/replicate_per_replica_nodes_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
ba632a46-406b-400f-a370-41f10b15368d
cpp
tensorflow/tensorflow
device_resolver_local
tensorflow/core/common_runtime/device_resolver_local.cc
tensorflow/core/common_runtime/device_resolver_local_test.cc
#include "tensorflow/core/common_runtime/device_resolver_local.h" #include "absl/status/status.h" #include "tensorflow/core/common_runtime/device_mgr.h" #include "tensorflow/core/platform/errors.h" namespace tensorflow { Status DeviceResolverLocal::GetDeviceAttributes(const string& device, ...
#include "tensorflow/core/common_runtime/device_resolver_local.h" #include "tensorflow/core/common_runtime/device.h" #include "tensorflow/core/common_runtime/device_factory.h" #include "tensorflow/core/common_runtime/device_mgr.h" #include "tensorflow/core/lib/core/status.h" #include "tensorflow/core/lib/core/status_te...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/common_runtime/device_resolver_local.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/common_runtime/device_resolver_local_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
c619a43b-b99b-4230-a09b-95349b0db5b6
cpp
tensorflow/tensorflow
hierarchical_tree_broadcaster
tensorflow/core/common_runtime/hierarchical_tree_broadcaster.cc
tensorflow/core/common_runtime/hierarchical_tree_broadcaster_test.cc
#include "tensorflow/core/common_runtime/hierarchical_tree_broadcaster.h" #include <functional> #include <memory> #include <string> #include <utility> #include "tensorflow/core/common_runtime/collective_rma_local.h" #include "tensorflow/core/common_runtime/collective_util.h" #include "tensorflow/core/common_runtime/dev...
#include "tensorflow/core/common_runtime/hierarchical_tree_broadcaster.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_ut...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/common_runtime/hierarchical_tree_broadcaster.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/common_runtime/hierarchical_tree_broadcaster_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
7a098cd4-54c3-4324-ad2c-669555b1b427
cpp
tensorflow/tensorflow
int32_fulltype
tensorflow/core/common_runtime/int32_fulltype.cc
tensorflow/core/common_runtime/int32_fulltype_test.cc
#include "tensorflow/core/common_runtime/int32_fulltype.h" #include "absl/strings/str_cat.h" #include "tensorflow/core/framework/device_attributes.pb.h" #include "tensorflow/core/framework/full_type.pb.h" #include "tensorflow/core/framework/function.h" #include "tensorflow/core/framework/graph.pb.h" #include "tensorflo...
#include "tensorflow/core/common_runtime/int32_fulltype.h" #include <string> #include <unordered_map> #include "xla/tsl/lib/core/status_test_util.h" #include "tensorflow/core/common_runtime/graph_def_builder_util.h" #include "tensorflow/core/framework/device_attributes.pb.h" #include "tensorflow/core/framework/full_typ...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/common_runtime/int32_fulltype.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/common_runtime/int32_fulltype_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
7a51674b-4549-47f9-b5af-fc0064e0296e
cpp
tensorflow/tensorflow
lower_functional_ops
tensorflow/core/common_runtime/lower_functional_ops.cc
tensorflow/core/common_runtime/lower_functional_ops_test.cc
#include "tensorflow/core/common_runtime/lower_functional_ops.h" #include <string> #include "absl/container/flat_hash_set.h" #include "tensorflow/core/common_runtime/device_propagation.h" #include "tensorflow/core/common_runtime/function_utils.h" #include "tensorflow/core/common_runtime/inline_function_utils.h" #includ...
#include "tensorflow/core/common_runtime/lower_functional_ops.h" #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...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/common_runtime/lower_functional_ops.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/common_runtime/lower_functional_ops_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
17ca6bcf-5dc9-4192-89da-99d96d651d01
cpp
tensorflow/tensorflow
lower_case_op
tensorflow/core/common_runtime/lower_case_op.cc
tensorflow/core/common_runtime/lower_case_op_test.cc
#include "tensorflow/core/common_runtime/lower_case_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" #include "tensorflow/core/lib/core/errors.h" namesp...
#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_case_op.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/common_runtime/lower_case_op_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
284c2bee-5161-48a9-ad09-ac68672f9621
cpp
tensorflow/tensorflow
single_threaded_executor
tensorflow/core/common_runtime/single_threaded_executor.cc
tensorflow/core/common_runtime/single_threaded_executor_test.cc
#include "tensorflow/core/common_runtime/single_threaded_executor.h" #include <utility> #include "tensorflow/core/common_runtime/entry.h" #include "tensorflow/core/common_runtime/executor.h" #include "tensorflow/core/common_runtime/executor_factory.h" #include "tensorflow/core/common_runtime/renamed_device.h" #include ...
#include <algorithm> #include <functional> #include <string> #include <utility> #include "absl/status/status.h" #include "tensorflow/core/common_runtime/device.h" #include "tensorflow/core/common_runtime/device_factory.h" #include "tensorflow/core/common_runtime/executor.h" #include "tensorflow/core/common_runtime/exec...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/common_runtime/single_threaded_executor.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/common_runtime/single_threaded_executor_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
c8a63f1d-c176-4b51-8f7a-1bb28e6cba6d
cpp
tensorflow/tensorflow
permuter
tensorflow/core/common_runtime/permuter.cc
tensorflow/core/common_runtime/permuter_test.cc
#include "tensorflow/core/common_runtime/permuter.h" #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" #include "tensorflow/core/common_runtime/device.h" #include "tensorflow/core/common_ru...
#include "tensorflow/core/common_runtime/permuter.h" #include <algorithm> #include "absl/memory/memory.h" #include "absl/types/span.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...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/common_runtime/permuter.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/common_runtime/permuter_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
344e36fc-a0af-4770-9bfd-4f12ae7e6008
cpp
tensorflow/tensorflow
optimized_function_graph_info
tensorflow/core/common_runtime/optimized_function_graph_info.cc
tensorflow/core/common_runtime/optimized_function_graph_info_test.cc
#include "tensorflow/core/common_runtime/optimized_function_graph_info.h" #include <memory> #include <utility> #include "tensorflow/core/common_runtime/graph_constructor.h" #include "tensorflow/core/framework/op.h" #include "tsl/platform/errors.h" #include "tsl/platform/status.h" namespace tensorflow { OptimizedFunctio...
#include "tensorflow/core/common_runtime/optimized_function_graph_info.h" #include <memory> #include <string> #include <utility> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "absl/status/statusor.h" #include "absl/strings/substitute.h" #include "third_party/protobuf/text_format.h" #include "xla/tsl/lib/co...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/common_runtime/optimized_function_graph_info.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/common_runtime/optimized_function_graph_info_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
87fe2bee-23db-45e0-a461-fab9ad7c0991
cpp
tensorflow/tensorflow
null_request_cost_accessor
tensorflow/core/common_runtime/null_request_cost_accessor.cc
tensorflow/core/common_runtime/null_request_cost_accessor_test.cc
#include "tensorflow/core/common_runtime/null_request_cost_accessor.h" namespace tensorflow { RequestCost* NullRequestCostAccessor::GetRequestCost() const { return nullptr; } REGISTER_REQUEST_COST_ACCESSOR("null", NullRequestCostAccessor); }
#include "tensorflow/core/common_runtime/null_request_cost_accessor.h" #include "tensorflow/core/platform/test.h" namespace tensorflow { namespace { TEST(NullRequestCostAccessorTest, Basic) { NullRequestCostAccessor accessor; EXPECT_EQ(accessor.GetRequestCost(), nullptr); } } }
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/common_runtime/null_request_cost_accessor.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/common_runtime/null_request_cost_accessor_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
dde88d8c-a50e-4c90-9f5c-0a007cee16b9
cpp
tensorflow/tensorflow
colocate_predecessor_trees_pass
tensorflow/core/common_runtime/colocate_predecessor_trees_pass.cc
tensorflow/core/common_runtime/colocate_predecessor_trees_pass_test.cc
#include "tensorflow/core/common_runtime/colocate_predecessor_trees_pass.h" #include <optional> #include <queue> #include <string> #include <utility> #include "absl/container/flat_hash_map.h" #include "absl/container/flat_hash_set.h" #include "absl/status/status.h" #include "absl/strings/str_cat.h" #include "absl/strin...
#include "tensorflow/core/common_runtime/colocate_predecessor_trees_pass.h" #include <memory> #include <string> #include "tensorflow/cc/framework/scope.h" #include "xla/tsl/lib/core/status_test_util.h" #include "tensorflow/core/common_runtime/graph_def_builder_util.h" #include "tensorflow/core/common_runtime/optimizati...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/common_runtime/colocate_predecessor_trees_pass.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/common_runtime/colocate_predecessor_trees_pass_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
0f0971d1-663f-46fc-8015-b54e915c2489
cpp
tensorflow/tensorflow
dynamic_device_mgr
tensorflow/core/common_runtime/dynamic_device_mgr.cc
tensorflow/core/common_runtime/dynamic_device_mgr_test.cc
#include <atomic> #include <iterator> #include <memory> #include <vector> #include "tensorflow/core/common_runtime/device_mgr.h" #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/pla...
#include <memory> #include <vector> #include "absl/memory/memory.h" #include "tensorflow/core/common_runtime/device_mgr.h" #include "tensorflow/core/framework/device_attributes.pb.h" #include "tensorflow/core/lib/core/status.h" #include "tensorflow/core/lib/strings/strcat.h" #include "tensorflow/core/platform/notificat...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/common_runtime/dynamic_device_mgr.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/common_runtime/dynamic_device_mgr_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
2acfe0d1-f7e4-4526-b22b-1e7ab437fdaa
cpp
tensorflow/tensorflow
no_op_cost_measurement
tensorflow/core/common_runtime/no_op_cost_measurement.cc
tensorflow/core/common_runtime/no_op_cost_measurement_test.cc
#include "tensorflow/core/common_runtime/no_op_cost_measurement.h" #include "absl/strings/string_view.h" #include "tensorflow/core/common_runtime/cost_constants.h" namespace tensorflow { absl::Duration NoOpCostMeasurement::GetTotalCost() { return absl::Duration(); } absl::string_view NoOpCostMeasurement::GetCostType() ...
#include "tensorflow/core/common_runtime/no_op_cost_measurement.h" #include "tensorflow/core/common_runtime/cost_measurement.h" #include "tensorflow/core/platform/test.h" namespace tensorflow { namespace { TEST(NoOpCostMeasurementTest, Basic) { CostMeasurement::Context context; NoOpCostMeasurement measurement(conte...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/common_runtime/no_op_cost_measurement.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/common_runtime/no_op_cost_measurement_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
3f596921-1e1e-44b7-9ecd-c858da785106
cpp
tensorflow/tensorflow
pool_allocator
tensorflow/core/common_runtime/pool_allocator.cc
tensorflow/core/common_runtime/gpu/pool_allocator_test.cc
#include "tensorflow/core/common_runtime/pool_allocator.h" #include <errno.h> #ifndef _MSC_VER #include <strings.h> #include <sys/mman.h> #endif #include <map> #include <utility> #include "tensorflow/core/lib/strings/numbers.h" #include "tensorflow/core/platform/logging.h" #include "tensorflow/core/platform/mem.h" #i...
#if GOOGLE_CUDA || TENSORFLOW_USE_ROCM #include "tensorflow/core/common_runtime/pool_allocator.h" #include "xla/stream_executor/gpu/gpu_init.h" #include "xla/stream_executor/platform_manager.h" #include "tensorflow/core/common_runtime/device/device_host_allocator.h" #include "tensorflow/core/platform/stream_executor.h"...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/common_runtime/pool_allocator.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/common_runtime/gpu/pool_allocator_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
ac538130-9704-4263-b4e3-40f5340a8cbc
cpp
tensorflow/tensorflow
device_set
tensorflow/core/common_runtime/device_set.cc
tensorflow/core/common_runtime/device_set_test.cc
#include "tensorflow/core/common_runtime/device_set.h" #include <set> #include <utility> #include <vector> #include "tensorflow/core/common_runtime/device.h" #include "tensorflow/core/common_runtime/device_factory.h" #include "tensorflow/core/lib/core/stringpiece.h" #include "tensorflow/core/lib/gtl/map_util.h" namespa...
#include "tensorflow/core/common_runtime/device_set.h" #include <vector> #include "tensorflow/core/common_runtime/device_factory.h" #include "tensorflow/core/lib/core/status.h" #include "tensorflow/core/platform/test.h" namespace tensorflow { namespace { static Device* Dev(const char* type, const char* name) { class ...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/common_runtime/device_set.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/common_runtime/device_set_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
19fab0f1-fdbb-4a45-9421-72aa1b6cb629
cpp
tensorflow/tensorflow
optimization_registry
tensorflow/core/common_runtime/optimization_registry.cc
tensorflow/core/common_runtime/optimization_registry_test.cc
#include "tensorflow/core/common_runtime/optimization_registry.h" #include <string> #include "tensorflow/core/framework/metrics.h" #include "tensorflow/core/util/debug_data_dumper.h" #include "tensorflow/core/util/dump_graph.h" namespace tensorflow { OptimizationPassRegistry* OptimizationPassRegistry::Global() { stat...
#include "tensorflow/core/common_runtime/optimization_registry.h" #include "tensorflow/core/framework/function_testlib.h" #include "tensorflow/core/platform/test.h" namespace tensorflow { class TestOptimization : public GraphOptimizationPass { public: static int count_; Status Run(const GraphOptimizationPassOption...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/common_runtime/optimization_registry.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/common_runtime/optimization_registry_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
50095472-91e4-4cbb-baa3-ba1f4cebcf97
cpp
tensorflow/tensorflow
collective_param_resolver_local
tensorflow/core/common_runtime/collective_param_resolver_local.cc
tensorflow/core/common_runtime/collective_param_resolver_local_test.cc
#include "tensorflow/core/common_runtime/collective_param_resolver_local.h" #include <stddef.h> #include <algorithm> #include <tuple> #include <unordered_set> #include <utility> #include <vector> #include "absl/container/flat_hash_set.h" #include "absl/strings/str_join.h" #include "tensorflow/core/common_runtime/device...
#include "tensorflow/core/common_runtime/collective_param_resolver_local.h" #include <atomic> #include "absl/strings/str_join.h" #include "tensorflow/core/common_runtime/collective_executor_mgr.h" #include "tensorflow/core/common_runtime/device.h" #include "tensorflow/core/common_runtime/device_factory.h" #include "ten...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/common_runtime/collective_param_resolver_local.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/common_runtime/collective_param_resolver_local_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
5bb9930c-5eb7-4105-82de-1bfb82725b8c
cpp
tensorflow/tensorflow
function_optimization_registry
tensorflow/core/common_runtime/function_optimization_registry.cc
tensorflow/core/common_runtime/function_optimization_registry_test.cc
#include "tensorflow/core/common_runtime/function_optimization_registry.h" #include <string> #include "tensorflow/core/framework/metrics.h" namespace tensorflow { void FunctionOptimizationPassRegistry::Init( std::unique_ptr<FunctionOptimizationPass> pass) { DCHECK(!pass_) << "Only one pass should be set."; pass...
#include "tensorflow/core/common_runtime/function_optimization_registry.h" #include <memory> #include <string> #include "tensorflow/core/common_runtime/device_set.h" #include "tensorflow/core/framework/function_testlib.h" #include "tensorflow/core/platform/errors.h" #include "tensorflow/core/platform/test.h" #include "...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/common_runtime/function_optimization_registry.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/common_runtime/function_optimization_registry_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
a67ebfd9-4492-43c4-94cb-01f3b7688941
cpp
tensorflow/tensorflow
cost_util
tensorflow/core/common_runtime/cost_util.cc
tensorflow/core/common_runtime/cost_util_test.cc
#include "tensorflow/core/common_runtime/cost_util.h" #include <memory> #include <string> #include <utility> #include <vector> #include "tensorflow/core/common_runtime/cost_measurement.h" #include "tensorflow/core/common_runtime/cost_measurement_registry.h" #include "tensorflow/core/common_runtime/request_cost_accessor...
#include "tensorflow/core/common_runtime/cost_util.h" #include "tensorflow/core/common_runtime/cost_measurement.h" #include "tensorflow/core/common_runtime/cost_measurement_registry.h" #include "tensorflow/core/common_runtime/request_cost_accessor_registry.h" #include "tensorflow/core/platform/env.h" #include "tensorfl...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/common_runtime/cost_util.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/common_runtime/cost_util_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
c33ef068-c164-4cee-846d-e00f6dbb5c81
cpp
tensorflow/tensorflow
all_to_all
tensorflow/core/common_runtime/all_to_all.cc
tensorflow/core/common_runtime/all_to_all_test.cc
#include "tensorflow/core/common_runtime/all_to_all.h" #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" #include "tensorflow/core/common_runtime/device.h" #include "tens...
#include "tensorflow/core/common_runtime/all_to_all.h" #include "tensorflow/core/common_runtime/collective_test_util.h" #include "tensorflow/core/common_runtime/process_util.h" #include "tensorflow/core/framework/device.h" #include "tensorflow/core/framework/tensor_shape.h" #include "tensorflow/core/framework/tensor_te...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/common_runtime/all_to_all.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/common_runtime/all_to_all_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
bcd78a0f-f497-45e9-bed7-3f0cc8ce3d72
cpp
tensorflow/tensorflow
input_colocation_exemption_registry
tensorflow/core/common_runtime/input_colocation_exemption_registry.cc
tensorflow/core/common_runtime/input_colocation_exemption_registry_test.cc
#include "tensorflow/core/common_runtime/input_colocation_exemption_registry.h" #include <set> #include <string> #include "tensorflow/core/platform/logging.h" namespace tensorflow { InputColocationExemptionRegistry* InputColocationExemptionRegistry::Global() { static InputColocationExemptionRegistry* registry = ...
#include "tensorflow/core/common_runtime/input_colocation_exemption_registry.h" #include "tensorflow/core/platform/test.h" namespace tensorflow { namespace { REGISTER_INPUT_COLOCATION_EXEMPTION("op 1"); REGISTER_INPUT_COLOCATION_EXEMPTION("op 2"); } TEST(RPCFactoryRegistryTest, TestBasic) { auto exempt_ops = InputC...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/common_runtime/input_colocation_exemption_registry.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/common_runtime/input_colocation_exemption_registry_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
0f6a6d64-faaf-48bf-abf2-9998a1cf5baa
cpp
tensorflow/tensorflow
function_utils
tensorflow/core/grappler/optimizers/data/function_utils.cc
tensorflow/core/grappler/optimizers/data/function_utils_test.cc
#include "tensorflow/core/grappler/optimizers/data/function_utils.h" #include "tensorflow/core/framework/device_base.h" #include "tensorflow/core/framework/op_def.pb.h" #include "tensorflow/core/grappler/optimizers/data/graph_utils.h" #include "tensorflow/core/lib/strings/scanner.h" namespace tensorflow { namespace gra...
#include "tensorflow/core/grappler/optimizers/data/function_utils.h" #include "tensorflow/core/framework/function_testlib.h" #include "tensorflow/core/framework/graph.pb.h" #include "tensorflow/core/grappler/optimizers/data/graph_utils.h" #include "tensorflow/core/lib/core/status_test_util.h" #include "tensorflow/core/...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/grappler/optimizers/data/function_utils.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/grappler/optimizers/data/function_utils_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
91af592b-fba7-4979-b8ef-f4946b94eef3
cpp
tensorflow/tensorflow
threadpool_device
tensorflow/core/common_runtime/threadpool_device.cc
tensorflow/core/common_runtime/threadpool_device_test.cc
#if defined(ENABLE_ONEDNN_OPENMP) && defined(ENABLE_MKL) && defined(_OPENMP) #ifndef DNNL_AARCH64_USE_ACL #include "external/llvm_openmp/include/omp.h" #define EIGEN_DONT_PARALLELIZE #else #include "omp.h" #endif #endif #include "absl/base/call_once.h" #include "absl/container/flat_hash_set.h" #include "tensorflow/...
#include "tensorflow/core/common_runtime/threadpool_device.h" #include "tensorflow/core/lib/core/status_test_util.h" #include "tensorflow/core/platform/test.h" #include "tensorflow/core/public/session_options.h" namespace tensorflow { namespace { const int kDimSize = 2; void InitTensor(Tensor* tensor, float value) { ...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/common_runtime/threadpool_device.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/common_runtime/threadpool_device_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
5023f7b8-1c2b-4f32-87ff-2a0af9213f23
cpp
tensorflow/tensorflow
collective_executor_mgr
tensorflow/core/common_runtime/collective_executor_mgr.cc
tensorflow/core/common_runtime/collective_executor_mgr_test.cc
#include "tensorflow/core/common_runtime/collective_executor_mgr.h" #include "absl/memory/memory.h" #include "tensorflow/core/common_runtime/base_collective_executor.h" #include "tensorflow/core/common_runtime/build_graph_options.h" #include "tensorflow/core/common_runtime/collective_param_resolver_local.h" #include "t...
#include "tensorflow/core/common_runtime/collective_executor_mgr.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 "tensorflow/core/common_runtime/device_mgr.h" #include "t...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/common_runtime/collective_executor_mgr.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/common_runtime/collective_executor_mgr_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
23a4b866-72e7-4211-9fcd-13bf74a06165
cpp
tensorflow/tensorflow
optimize_cross_host_control_deps
tensorflow/core/common_runtime/optimize_cross_host_control_deps.cc
tensorflow/core/common_runtime/optimize_cross_host_control_deps_test.cc
#include "tensorflow/core/common_runtime/optimize_cross_host_control_deps.h" #include <algorithm> #include <utility> #include <vector> #include "tensorflow/core/framework/node_def.pb.h" #include "tensorflow/core/framework/node_def_builder.h" #include "tensorflow/core/framework/node_def_util.h" #include "tensorflow/core...
#include "tensorflow/core/common_runtime/optimize_cross_host_control_deps.h" #include <unordered_map> #include <vector> #include "tensorflow/cc/ops/standard_ops.h" #include "tensorflow/core/framework/graph_to_functiondef.h" #include "tensorflow/core/framework/node_def_util.h" #include "tensorflow/core/framework/op.h" #...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/common_runtime/optimize_cross_host_control_deps.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/common_runtime/optimize_cross_host_control_deps_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
f01b2e57-26fb-44db-948b-b0d918a37457
cpp
tensorflow/tensorflow
eval_const_tensor
tensorflow/core/common_runtime/eval_const_tensor.cc
tensorflow/core/common_runtime/eval_const_tensor_test.cc
#include "tensorflow/core/common_runtime/eval_const_tensor.h" #include <algorithm> #include <cstdint> #include <deque> #include <limits> #include <memory> #include <optional> #include <string> #include <utility> #include <vector> #include "absl/algorithm/container.h" #include "absl/container/flat_hash_map.h" #include "...
#include "tensorflow/core/common_runtime/eval_const_tensor.h" #include <cstdint> #include <limits> #include <optional> #include <string> #include <utility> #include "absl/container/flat_hash_map.h" #include "absl/container/flat_hash_set.h" #include "absl/meta/type_traits.h" #include "tensorflow/cc/framework/ops.h" #inc...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/common_runtime/eval_const_tensor.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/common_runtime/eval_const_tensor_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
e651f8c4-71e9-4cab-a12a-ea760481aaca
cpp
tensorflow/tensorflow
mkl_cpu_allocator
tensorflow/core/common_runtime/mkl_cpu_allocator.cc
tensorflow/core/common_runtime/mkl_cpu_allocator_test.cc
#ifdef INTEL_MKL #include "tensorflow/core/common_runtime/mkl_cpu_allocator.h" namespace tensorflow { constexpr const char* MklCPUAllocator::kMaxLimitStr; constexpr const size_t MklCPUAllocator::kDefaultMaxLimit; } #endif
#if defined(INTEL_MKL) #include "tensorflow/core/common_runtime/mkl_cpu_allocator.h" #include "tensorflow/core/lib/core/status_test_util.h" #include "tensorflow/core/platform/logging.h" #include "tensorflow/core/platform/test.h" namespace tensorflow { TEST(MKLBFCAllocatorTest, TestMaxLimit) { setenv(MklCPUAllocator::...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/common_runtime/mkl_cpu_allocator.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/common_runtime/mkl_cpu_allocator_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
502f5270-0d6c-47f6-ba7d-8018f5090637
cpp
tensorflow/tensorflow
request_cost_accessor_registry
tensorflow/core/common_runtime/request_cost_accessor_registry.cc
tensorflow/core/common_runtime/request_cost_accessor_registry_test.cc
#include "tensorflow/core/common_runtime/request_cost_accessor_registry.h" #include <string> #include "absl/container/flat_hash_map.h" #include "absl/strings/string_view.h" #include "tensorflow/core/platform/logging.h" namespace tensorflow { namespace { using RegistrationMap = absl::flat_hash_map<std::string, Reque...
#include "tensorflow/core/common_runtime/request_cost_accessor_registry.h" #include "absl/time/time.h" #include "tensorflow/core/common_runtime/request_cost_accessor.h" #include "tensorflow/core/platform/test.h" namespace tensorflow { namespace { class TestRequestCostAccessor : public RequestCostAccessor { public: R...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/common_runtime/request_cost_accessor_registry.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/common_runtime/request_cost_accessor_registry_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
fa345464-a4cd-4aaa-9072-1bca6967a7b8
cpp
tensorflow/tensorflow
gradients
tensorflow/c/eager/gradients.cc
tensorflow/c/eager/gradients_test.cc
#include "tensorflow/c/eager/gradients.h" #include "absl/strings/str_cat.h" #include "tensorflow/c/eager/abstract_tensor_handle.h" #include "tensorflow/c/eager/c_api_unified_experimental_internal.h" #include "tensorflow/c/eager/gradients_internal.h" #include "tensorflow/core/common_runtime/eager/attr_builder.h" #includ...
#include "tensorflow/c/eager/gradients.h" #include <memory> #include "absl/container/flat_hash_set.h" #include "absl/types/span.h" #include "tensorflow/c/eager/abstract_context.h" #include "tensorflow/c/eager/abstract_tensor_handle.h" #include "tensorflow/c/eager/c_api_experimental.h" #include "tensorflow/c/eager/c_api...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/c/eager/gradients.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/c/eager/gradients_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
3ffa5816-7f4b-47b4-83f7-108b7e00ea6c
cpp
tensorflow/tensorflow
lower_while_op
tensorflow/core/common_runtime/lower_while_op.cc
tensorflow/core/common_runtime/lower_while_op_test.cc
#include "tensorflow/core/common_runtime/lower_while_op.h" #include "tensorflow/core/common_runtime/inline_function_utils.h" #include "tensorflow/core/config/flag_defs.h" #include "tensorflow/core/framework/node_def_builder.h" #include "tensorflow/core/framework/node_def_util.h" #include "tensorflow/core/framework/op.h...
#include <memory> #include <vector> #include <gtest/gtest.h> #include "absl/strings/match.h" #include "tensorflow/cc/client/client_session.h" #include "tensorflow/cc/framework/ops.h" #include "tensorflow/cc/framework/scope.h" #include "tensorflow/cc/ops/array_ops.h" #include "tensorflow/cc/ops/control_flow_ops_internal...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/common_runtime/lower_while_op.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/common_runtime/lower_while_op_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
51ea8832-60b0-4030-bb24-35ccc1989653
cpp
tensorflow/tensorflow
direct_session
tensorflow/core/common_runtime/direct_session.cc
tensorflow/core/common_runtime/direct_session_test.cc
#include "tensorflow/core/common_runtime/direct_session.h" #include <algorithm> #include <atomic> #include <string> #include <vector> #include "absl/container/flat_hash_set.h" #include "absl/time/time.h" #include "absl/types/optional.h" #include "tensorflow/core/common_runtime/collective_executor_mgr.h" #include "tenso...
#include "tensorflow/core/common_runtime/direct_session.h" #include <map> #include <memory> #include <random> #include <string> #include <thread> #include <unordered_map> #include <vector> #include "absl/memory/memory.h" #include "absl/status/status.h" #include "absl/strings/match.h" #include "absl/strings/str_format...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/common_runtime/direct_session.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/common_runtime/direct_session_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
71fb6a7c-61d9-4cc6-9997-be6a2af9367a
cpp
tensorflow/tensorflow
inline_function_utils
tensorflow/core/common_runtime/inline_function_utils.cc
tensorflow/core/common_runtime/inline_function_utils_test.cc
#include "tensorflow/core/common_runtime/inline_function_utils.h" #include <deque> #include <vector> #include "absl/algorithm/container.h" #include "absl/memory/memory.h" #include "absl/strings/str_cat.h" #include "absl/strings/string_view.h" #include "tensorflow/core/common_runtime/device.h" #include "tensorflow/core/...
#include "tensorflow/core/common_runtime/inline_function_utils.h" #include "tensorflow/core/common_runtime/function_def_utils.h" #include "tensorflow/core/common_runtime/graph_constructor.h" #include "tensorflow/core/framework/function.h" #include "tensorflow/core/framework/function_testlib.h" #include "tensorflow/core...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/common_runtime/inline_function_utils.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/common_runtime/inline_function_utils_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea