Benign repos Download

function_def_utils.cc

imports tensorflow/core/platform/refcount.himports tensorflow/core/platform/types.h
SHA-256c462d553210e13216c5d3f4f045004089e341386290a089cffe16560235b4d73
MaleculeMd(In₅)

Evidence

apache web server name lines 1–10
1/* Copyright 2015 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/refcount.h lines 11–42
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/common_runtime/function_def_utils.h"
17
18#include <unordered_set>
19#include <utility>
20#include <vector>
21
22#include "absl/container/flat_hash_set.h"
23#include "absl/strings/string_view.h"
24#include "absl/types/span.h"
25#include "xla/tsl/platform/errors.h"
26#include "xla/tsl/platform/logging.h"
27#include "tensorflow/core/common_runtime/function_body.h"
28#include "tensorflow/core/common_runtime/graph_constructor.h"
29#include "tensorflow/core/framework/function.h"
30#include "tensorflow/core/framework/node_def_util.h"
31#include "tensorflow/core/graph/algorithm.h"
32#include "tensorflow/core/graph/control_flow.h"
33#include "tensorflow/core/graph/graph.h"
34#include "tensorflow/core/graph/graph_debug_info_builder.h"
35#include "tensorflow/core/platform/refcount.h"
36#include "tensorflow/core/platform/types.h"
37#include "tsl/platform/hash.h"
38
39namespace tensorflow {
40
41absl::Status FunctionDefToBodyHelper(
42 core::RefCountPtr<FunctionRecord>&& record, const AttrSlic …
English function-word token "that" lines 83–88
83 }
84
85 // Call BuildControlFlowInfo to validate that this function body has
86 // well-formed control flow.
87 std::vector<ControlFlowInfo> dummy;
88 T …
English function-word token "have" lines 125–127
125:21… lly, these are operations that are "impure" but have no
126 // side effects. For example, "ResourceGather" reads from a resource variable
127 // and can …

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.