Benign repos Download

runtime_client.cc

imports tensorflow/core/platform/errors.himports tensorflow/core/platform/status.h
SHA-2560f7b010fc3505ee38cdf5dda27f7adf0bf97249953340949124e8ba65f2261c0
MaleculeMd(In₅)

Evidence

apache web server name lines 1–10
1/* Copyright 2021 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/errors.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/core/function/runtime_client/runtime_client.h"
17
18#include <memory>
19#include <string>
20#include <utility>
21#include <vector>
22
23#include "absl/strings/match.h"
24#include "absl/strings/str_cat.h"
25#include "absl/types/span.h"
26#include "mlir/IR/MLIRContext.h" // from @llvm-project
27#include "mlir/IR/OwningOpRef.h" // from @llvm-project
28#include "mlir/Pass/PassManager.h" // from @llvm-project
29#include "mlir/Pass/PassRegistry.h" // from @llvm-project
30#include "mlir/Support/LogicalResult.h" // from @llvm-project
31#include "tensorflow/c/eager/abstract_tensor_handle.h"
32#include "tensorflow/c/eager/immediate_execution_context.h"
33#include "tensorflow/c/eager/immediate_execution_operation.h"
34#include "tensorflow/c/eager/immediate_execution_tensor_handle.h"
35#include "tensorflow/compiler/mlir/tensorflow/translate/mlir_roundtrip_flags.h"
36#include "tensorflow/core/graph/graph.h"
37
38#if !defined(DISABLE_MLIR)
39#include "tensorflow/compiler/mlir/python/mlir.h"
40#endif
41
42#include "tensorflow/compiler/mlir/tensorflow/translate/import_model.h"
43#include "tensorflow/compiler/mlir/tensorflow/utils/error_util.h"
44#include "tensorflow/compiler/mlir/tf2xla/api/v2/graph_to_tf_executor.h"
45#include "tensorflow/compiler/mlir/tf2xla/api/v2/tf_executor_to_graph.h"
46#include "tensorflow/core/common_runtime/device_mgr.h"
47#include "tensorflow/core/common_runtime/eager/context.h"
48#include "tensorflow/core/common_runtime/function_def_utils.h"
49#include "tensorflow/core/framework/device.h"
50#include "tensorflow/core/framework/device_factory.h"
51#include "tensorflow/core/framework/function.pb.h"
52#include "tensorflow/core/framework/graph.pb.h"
53#include "tensorflow/core/framework/op_def.pb.h"
54#include "tensorflow/core/ir/importexport/graphdef_export.h"
55#include "tensorflow/core/ir/importexport/graphdef_import.h"
56#include "tensorflow/core/ir/ops.h"
57#include "tensorflow/core/platform/errors.h"
58#include "tensorflow/core/platform/status.h"
English function-word token "have" lines 153–156
153
154 // For now, we roundtrip from proto. Once we have a permanent MLIR
155 // representation, we should be able to use it directly.
156 auto fn = GetFunc …

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.