Home
last modified time | relevance | path

Searched refs:FunctionArgIndex (Results 1 – 13 of 13) sorted by relevance

/external/tensorflow/tensorflow/core/common_runtime/eager/
Dexecute_node_test.cc122 TF_EXPECT_OK(args.GetLocalArg(FunctionArgIndex(0), &local0)); in TEST()
126 TF_EXPECT_OK(args.GetLocalArg(FunctionArgIndex(1, 0), &local1)); in TEST()
130 TF_EXPECT_OK(args.GetRemoteArg(FunctionArgIndex(1, 1), &remote0)); in TEST()
134 TF_EXPECT_OK(args.GetRemoteArg(FunctionArgIndex(2), &remote1)); in TEST()
Dexecute_node.h58 Status GetLocalArg(const FunctionArgIndex& index, Tensor* val) const override;
65 Status GetRemoteArg(const FunctionArgIndex& index, in GetRemoteArg()
87 std::function<Status(const FunctionArgIndex&, eager::RemoteTensorHandle*)>
Dexecute_node.cc102 const FunctionArgIndex& index, in Init()
124 Status ExecuteNodeArgs::GetLocalArg(const FunctionArgIndex& index, in GetLocalArg()
Dkernel_and_device.h82 Status GetLocalArg(const FunctionArgIndex& index, Tensor* val) const override;
Dkernel_and_device.cc54 Status EagerKernelArgs::GetLocalArg(const FunctionArgIndex& index, in GetLocalArg()
/external/tensorflow/tensorflow/core/common_runtime/
Dpartitioning_utils.cc155 Graph* graph, std::vector<FunctionArgIndex>* arg_indices, in UpdateArgAndRetvalMetadata()
159 std::vector<std::pair<Node*, FunctionArgIndex>> arg_nodes; in UpdateArgAndRetvalMetadata()
173 arg_nodes.emplace_back(node, FunctionArgIndex(index, sub_index)); in UpdateArgAndRetvalMetadata()
185 auto arg_comparator = [](std::pair<Node*, FunctionArgIndex> a, in UpdateArgAndRetvalMetadata()
186 std::pair<Node*, FunctionArgIndex> b) { in UpdateArgAndRetvalMetadata()
Dpartitioning_utils_test.cc260 void CheckArgIndices(const std::vector<FunctionArgIndex>& expected, in CheckArgIndices()
261 const std::vector<FunctionArgIndex>& actual) { in CheckArgIndices()
288 std::vector<FunctionArgIndex> arg_indices; in TEST_F()
314 std::vector<FunctionArgIndex> arg_indices; in TEST_F()
332 std::vector<FunctionArgIndex> arg_indices; in TEST_F()
361 std::vector<FunctionArgIndex> arg_indices; in TEST_F()
Dpartitioning_utils.h77 Graph* graph, std::vector<FunctionArgIndex>* arg_indices,
Dprocess_function_library_runtime.h47 virtual Status GetLocalArg(const FunctionArgIndex& index,
53 virtual Status GetRemoteArg(const FunctionArgIndex& index, in GetRemoteArg()
279 std::vector<FunctionArgIndex> arg_indices;
Dprocess_function_library_runtime_test.cc874 Status GetLocalArg(const FunctionArgIndex& index, in GetLocalArg()
Dprocess_function_library_runtime.cc1701 const FunctionArgIndex index = comp_data.arg_indices.at(i); in GetComponentArgs()
/external/tensorflow/tensorflow/core/framework/
Dfunction.h621 struct FunctionArgIndex { struct
622 explicit FunctionArgIndex(const int index) : index(index) {} in FunctionArgIndex() function
623 FunctionArgIndex(const int index, const int sub_index) in FunctionArgIndex() function
/external/tensorflow/tensorflow/core/distributed_runtime/eager/
Deager_service_impl_test.cc728 Status GetRemoteArg(const FunctionArgIndex& index, in GetRemoteArg()