Benign repos Download

dtensor_device_util.cc

imports tensorflow/core/platform/fingerprint.himports tensorflow/core/platform/status.h
SHA-256f93c97cf5099627c3d953f6d73129a1c3679ff8cfe44b434509dbc22235729b1
MaleculeMd(In₆)

Evidence

apache web server name lines 1–10
1/* Copyright 2022 The TensorFlow Authors. All Rights Reserved.
2
3Licensed under the Apache License, Version 2.0 (the "License");
4you may not use this file except in compliance with the License.
5You may obtain a copy of the License at
6
7 http://www.apache.org/licenses/LICENSE-2.0
8
9Unless required by applicable law or agreed to in writing, software
10distributed under the License is …
imports tensorflow/core/platform/fingerprint.h lines 11–58
11:42… IND, either express or implied.
12See the License for the specific language governing permissions and
13limitations under the License.
14==============================================================================*/
15
16#include "tensorflow/dtensor/cc/dtensor_device_util.h"
17
18#include <algorithm>
19#include <cstddef>
20#include <cstdint>
21#include <iterator>
22#include <map>
23#include <memory>
24#include <optional>
25#include <string>
26#include <utility>
27#include <vector>
28
29#include "absl/container/flat_hash_map.h"
30#include "absl/memory/memory.h"
31#include "absl/status/status.h"
32#include "absl/strings/str_cat.h"
33#include "absl/strings/string_view.h"
34#include "absl/types/span.h"
35#include "llvm/Support/Casting.h"
36#include "tensorflow/c/eager/c_api.h"
37#include "tensorflow/c/eager/c_api_internal.h"
38#include "tensorflow/c/eager/parallel_device/parallel_device_lib.h"
39#include "tensorflow/c/eager/tfe_tensorhandle_internal.h"
40#include "tensorflow/c/tf_datatype.h"
41#include "tensorflow/c/tf_status.h"
42#include "tensorflow/c/tf_status_helper.h"
43#include "tensorflow/c/tf_tensor.h"
44#include "tensorflow/c/tf_tensor_internal.h"
45#include "xla/status_macros.h"
46#include "xla/tsl/platform/logging.h" // IWYU pragma: keep
47#include "xla/tsl/platform/status.h"
48#include "tensorflow/core/common_runtime/graph_constructor.h"
49#include "tensorflow/core/common_runtime/shape_refiner.h"
50#include "tensorflow/core/framework/attr_value.pb.h"
51#include "tensorflow/core/framework/function.h"
52#include "tensorflow/core/framework/function.pb.h"
53#include "tensorflow/core/framework/node_def.pb.h"
54#include "tensorflow/core/framework/node_def_builder.h"
55#include "tensorflow/core/framework/node_def_util.h"
56#include "tensorflow/core/framework/shape_inference.h"
57#include "tensorflow/core/framework/tensor.pb.h"
58#include "tensorflow/core/framework/tensor_shape.h"
English function-word token "that" lines 119–121
119 // Resolve the Tensor as resource handle such that we can get the shape and
120 // dtype of the tensor it points to.
121 TF_StatusPtr status(TF_NewSta …
English function-word token "have" lines 1095–1103
1095:33… Error(
1096 "MLIR transformed graph does not have any functions to execute for "
1097 "mesh.");
1098 }
⋯5 lines

Keyboard shortcuts on this page: j for the next sample, k for the previous one, x to go back to the feed, d to download the original bytes, r to re-queue the sample for analysis.