Skip to content
GitLab
菜单
项目
群组
代码片段
/
帮助
帮助
支持
社区论坛
快捷键
?
提交反馈
登录/注册
切换导航
菜单
打开侧边栏
KMSCAKKSCFKA AKFACAMADCAS
tensorflow-federated
提交
91cab511
提交
91cab511
编辑于
8月 24, 2021
作者:
Michael Reneer
提交者:
tensorflow-copybara
8月 24, 2021
浏览文件
Internal
PiperOrigin-RevId: 392758851
上级
80e207a5
变更
28
Hide whitespace changes
Inline
Side-by-side
tensorflow_federated/cc/core/impl/executor_stacks/executor_stack_bindings.cc
浏览文件 @
91cab511
...
...
@@ -15,7 +15,7 @@ limitations under the License
#include
<memory>
#include
"
net/grpc/public/include/
grpcpp/grpcpp.h"
#include
"grpcpp/grpcpp.h"
#include
"absl/types/span.h"
#include
"pybind11/include/pybind11/detail/common.h"
#include
"pybind11/include/pybind11/pybind11.h"
...
...
tensorflow_federated/cc/core/impl/executor_stacks/remote_stacks.cc
浏览文件 @
91cab511
...
...
@@ -19,7 +19,7 @@ limitations under the License
#include
<limits>
#include
<memory>
#include
"
net/grpc/public/include/
grpcpp/grpcpp.h"
#include
"grpcpp/grpcpp.h"
#include
"net/grpc/public/include/grpcpp/support/time.h"
#include
"absl/status/status.h"
#include
"absl/strings/str_cat.h"
...
...
tensorflow_federated/cc/core/impl/executor_stacks/remote_stacks.h
浏览文件 @
91cab511
...
...
@@ -16,7 +16,7 @@ limitations under the License
#ifndef THIRD_PARTY_TENSORFLOW_FEDERATED_CC_CORE_IMPL_EXECUTOR_STACKS_REMOTE_STACKS_H_
#define THIRD_PARTY_TENSORFLOW_FEDERATED_CC_CORE_IMPL_EXECUTOR_STACKS_REMOTE_STACKS_H_
#include
"
net/grpc/public/include/
grpcpp/grpcpp.h"
#include
"grpcpp/grpcpp.h"
#include
"absl/strings/string_view.h"
#include
"tensorflow_federated/cc/core/impl/executors/cardinalities.h"
#include
"tensorflow_federated/cc/core/impl/executors/composing_executor.h"
...
...
tensorflow_federated/cc/core/impl/executor_stacks/remote_stacks_test.cc
浏览文件 @
91cab511
...
...
@@ -17,7 +17,7 @@ limitations under the License
#include
<memory>
#include
"
net/grpc/public/include/
grpcpp/grpcpp.h"
#include
"grpcpp/grpcpp.h"
#include
"googlemock/include/gmock/gmock.h"
#include
"googletest/include/gtest/gtest.h"
#include
"tensorflow_federated/cc/core/impl/executors/cardinalities.h"
...
...
tensorflow_federated/cc/core/impl/executors/composing_executor_test.cc
浏览文件 @
91cab511
...
...
@@ -25,7 +25,7 @@ limitations under the License
#include
"tensorflow_federated/cc/core/impl/executors/federated_intrinsics.h"
#include
"tensorflow_federated/cc/core/impl/executors/mock_executor.h"
#include
"tensorflow_federated/cc/core/impl/executors/value_test_utils.h"
#include
"tensorflow_federated/proto/v0/executor.p
roto
.h"
#include
"tensorflow_federated/proto/v0/executor.p
b
.h"
namespace
tensorflow_federated
{
...
...
tensorflow_federated/cc/core/impl/executors/computations.h
浏览文件 @
91cab511
...
...
@@ -16,7 +16,7 @@ limitations under the License
#ifndef THIRD_PARTY_TENSORFLOW_FEDERATED_CC_CORE_IMPL_EXECUTORS_COMPUTATIONS_H_
#define THIRD_PARTY_TENSORFLOW_FEDERATED_CC_CORE_IMPL_EXECUTORS_COMPUTATIONS_H_
#include
"tensorflow_federated/proto/v0/computation.p
roto
.h"
#include
"tensorflow_federated/proto/v0/computation.p
b
.h"
namespace
tensorflow_federated
{
...
...
tensorflow_federated/cc/core/impl/executors/executor.h
浏览文件 @
91cab511
...
...
@@ -27,8 +27,8 @@ limitations under the License
#include
"absl/types/span.h"
#include
"tensorflow/core/profiler/lib/traceme.h"
#include
"tensorflow_federated/cc/core/impl/executors/status_macros.h"
#include
"tensorflow_federated/proto/v0/computation.p
roto
.h"
#include
"tensorflow_federated/proto/v0/executor.p
roto
.h"
#include
"tensorflow_federated/proto/v0/computation.p
b
.h"
#include
"tensorflow_federated/proto/v0/executor.p
b
.h"
namespace
tensorflow_federated
{
...
...
tensorflow_federated/cc/core/impl/executors/executor_bindings.cc
浏览文件 @
91cab511
...
...
@@ -22,7 +22,7 @@ limitations under the License
// The only logic that may exist here is parameter/result conversions (e.g.
// `OwnedValueId` -> `ValueId`, etc).
#include
"
net/grpc/public/include/
grpcpp/grpcpp.h"
#include
"grpcpp/grpcpp.h"
#include
"pybind11/include/pybind11/detail/common.h"
#include
"pybind11/include/pybind11/pybind11.h"
#include
"pybind11/include/pybind11/stl.h"
...
...
@@ -35,8 +35,8 @@ limitations under the License
#include
"tensorflow_federated/cc/core/impl/executors/reference_resolving_executor.h"
#include
"tensorflow_federated/cc/core/impl/executors/remote_executor.h"
#include
"tensorflow_federated/cc/core/impl/executors/tensorflow_executor.h"
#include
"tensorflow_federated/proto/v0/computation.p
roto
.h"
#include
"tensorflow_federated/proto/v0/executor.p
roto
.h"
#include
"tensorflow_federated/proto/v0/computation.p
b
.h"
#include
"tensorflow_federated/proto/v0/executor.p
b
.h"
namespace
tensorflow_federated
{
...
...
tensorflow_federated/cc/core/impl/executors/executor_service.cc
浏览文件 @
91cab511
...
...
@@ -24,7 +24,7 @@ limitations under the License
#include
"absl/strings/string_view.h"
#include
"absl/synchronization/mutex.h"
#include
"tensorflow_federated/cc/core/impl/executors/status_macros.h"
#include
"tensorflow_federated/proto/v0/executor.p
roto
.h"
#include
"tensorflow_federated/proto/v0/executor.p
b
.h"
namespace
tensorflow_federated
{
...
...
tensorflow_federated/cc/core/impl/executors/executor_service.h
浏览文件 @
91cab511
...
...
@@ -19,7 +19,7 @@ limitations under the License
#include
<memory>
#include
<utility>
#include
"
net/grpc/public/include/
grpcpp/grpcpp.h"
#include
"grpcpp/grpcpp.h"
#include
"absl/container/flat_hash_map.h"
#include
"absl/status/status.h"
#include
"absl/status/statusor.h"
...
...
@@ -28,9 +28,9 @@ limitations under the License
#include
"absl/strings/substitute.h"
#include
"tensorflow_federated/cc/core/impl/executors/cardinalities.h"
#include
"tensorflow_federated/cc/core/impl/executors/executor.h"
#include
"tensorflow_federated/proto/v0/computation.p
roto
.h"
#include
"tensorflow_federated/proto/v0/computation.p
b
.h"
#include
"tensorflow_federated/proto/v0/executor.grpc.pb.h"
#include
"tensorflow_federated/proto/v0/executor.p
roto
.h"
#include
"tensorflow_federated/proto/v0/executor.p
b
.h"
namespace
tensorflow_federated
{
...
...
tensorflow_federated/cc/core/impl/executors/executor_service_test.cc
浏览文件 @
91cab511
...
...
@@ -18,18 +18,18 @@ limitations under the License
#include
<memory>
#include
<optional>
#include
"
net/grpc/public/include/
grpcpp/grpcpp.h"
#include
"grpcpp/grpcpp.h"
#include
"googlemock/include/gmock/gmock.h"
#include
"googletest/include/gtest/gtest.h"
#include
"absl/container/flat_hash_map.h"
#include
"absl/status/status.h"
#include
"tensorflow/core/framework/tensor.h"
#include
"tensorflow/core/framework/tensor.p
roto
.h"
#include
"tensorflow/core/framework/tensor.p
b
.h"
#include
"tensorflow_federated/cc/core/impl/executors/executor.h"
#include
"tensorflow_federated/cc/core/impl/executors/mock_executor.h"
#include
"tensorflow_federated/cc/core/impl/executors/value_test_utils.h"
#include
"tensorflow_federated/proto/v0/computation.p
roto
.h"
#include
"tensorflow_federated/proto/v0/executor.p
roto
.h"
#include
"tensorflow_federated/proto/v0/computation.p
b
.h"
#include
"tensorflow_federated/proto/v0/executor.p
b
.h"
namespace
tensorflow_federated
{
...
...
tensorflow_federated/cc/core/impl/executors/executor_test_base.h
浏览文件 @
91cab511
...
...
@@ -19,7 +19,7 @@ limitations under the License
#include
"googlemock/include/gmock/gmock.h"
#include
"googletest/include/gtest/gtest.h"
#include
"tensorflow_federated/cc/core/impl/executors/mock_executor.h"
#include
"tensorflow_federated/proto/v0/executor.p
roto
.h"
#include
"tensorflow_federated/proto/v0/executor.p
b
.h"
namespace
tensorflow_federated
{
...
...
tensorflow_federated/cc/core/impl/executors/federating_executor_test.cc
浏览文件 @
91cab511
...
...
@@ -23,7 +23,7 @@ limitations under the License
#include
"tensorflow_federated/cc/core/impl/executors/executor_test_base.h"
#include
"tensorflow_federated/cc/core/impl/executors/mock_executor.h"
#include
"tensorflow_federated/cc/core/impl/executors/value_test_utils.h"
#include
"tensorflow_federated/proto/v0/executor.p
roto
.h"
#include
"tensorflow_federated/proto/v0/executor.p
b
.h"
namespace
tensorflow_federated
{
...
...
tensorflow_federated/cc/core/impl/executors/mock_grpc.h
浏览文件 @
91cab511
...
...
@@ -16,10 +16,10 @@ limitations under the License
#ifndef THIRD_PARTY_TENSORFLOW_FEDERATED_CC_CORE_IMPL_EXECUTORS_MOCK_GRPC_H_
#define THIRD_PARTY_TENSORFLOW_FEDERATED_CC_CORE_IMPL_EXECUTORS_MOCK_GRPC_H_
#include
"
net/grpc/public/include/
grpcpp/grpcpp.h"
#include
"grpcpp/grpcpp.h"
#include
"googlemock/include/gmock/gmock.h"
#include
"tensorflow_federated/proto/v0/executor.grpc.pb.h"
#include
"tensorflow_federated/proto/v0/executor.p
roto
.h"
#include
"tensorflow_federated/proto/v0/executor.p
b
.h"
namespace
tensorflow_federated
{
...
...
tensorflow_federated/cc/core/impl/executors/reference_resolving_executor.cc
浏览文件 @
91cab511
...
...
@@ -22,7 +22,7 @@ limitations under the License
#include
"tensorflow/core/platform/ctstring_internal.h"
#include
"tensorflow_federated/cc/core/impl/executors/executor.h"
#include
"tensorflow_federated/cc/core/impl/executors/status_macros.h"
#include
"tensorflow_federated/proto/v0/computation.p
roto
.h"
#include
"tensorflow_federated/proto/v0/computation.p
b
.h"
namespace
tensorflow_federated
{
...
...
tensorflow_federated/cc/core/impl/executors/reference_resolving_executor_test.cc
浏览文件 @
91cab511
...
...
@@ -38,14 +38,14 @@ limitations under the License
#include
"tensorflow/cc/ops/array_ops.h"
#include
"tensorflow/cc/ops/math_ops.h"
#include
"tensorflow/core/framework/tensor.h"
#include
"tensorflow/core/framework/tensor.p
roto
.h"
#include
"tensorflow/core/framework/types.p
roto
.h"
#include
"tensorflow/core/framework/tensor.p
b
.h"
#include
"tensorflow/core/framework/types.p
b
.h"
#include
"tensorflow_federated/cc/core/impl/executors/executor.h"
#include
"tensorflow_federated/cc/core/impl/executors/executor_test_base.h"
#include
"tensorflow_federated/cc/core/impl/executors/mock_executor.h"
#include
"tensorflow_federated/cc/core/impl/executors/value_test_utils.h"
#include
"tensorflow_federated/proto/v0/computation.p
roto
.h"
#include
"tensorflow_federated/proto/v0/executor.p
roto
.h"
#include
"tensorflow_federated/proto/v0/computation.p
b
.h"
#include
"tensorflow_federated/proto/v0/executor.p
b
.h"
namespace
tensorflow_federated
{
namespace
{
...
...
tensorflow_federated/cc/core/impl/executors/remote_executor.cc
浏览文件 @
91cab511
...
...
@@ -19,15 +19,15 @@ limitations under the License
#include
<memory>
#include
<variant>
#include
"
net/grpc/public/include/
grpcpp/grpcpp.h"
#include
"grpcpp/grpcpp.h"
#include
"absl/status/status.h"
#include
"absl/synchronization/mutex.h"
#include
"tensorflow_federated/cc/core/impl/executors/cardinalities.h"
#include
"tensorflow_federated/cc/core/impl/executors/status_macros.h"
#include
"tensorflow_federated/cc/core/impl/executors/threading.h"
#include
"tensorflow_federated/proto/v0/computation.p
roto
.h"
#include
"tensorflow_federated/proto/v0/computation.p
b
.h"
#include
"tensorflow_federated/proto/v0/executor.grpc.pb.h"
#include
"tensorflow_federated/proto/v0/executor.p
roto
.h"
#include
"tensorflow_federated/proto/v0/executor.p
b
.h"
namespace
tensorflow_federated
{
...
...
tensorflow_federated/cc/core/impl/executors/remote_executor.h
浏览文件 @
91cab511
...
...
@@ -18,7 +18,7 @@ limitations under the License
#include
<memory>
#include
"
net/grpc/public/include/
grpcpp/grpcpp.h"
#include
"grpcpp/grpcpp.h"
#include
"tensorflow_federated/cc/core/impl/executors/cardinalities.h"
#include
"tensorflow_federated/cc/core/impl/executors/executor.h"
#include
"tensorflow_federated/proto/v0/executor.grpc.pb.h"
...
...
tensorflow_federated/cc/core/impl/executors/remote_executor_test.cc
浏览文件 @
91cab511
...
...
@@ -28,7 +28,7 @@ limitations under the License
#include
"tensorflow_federated/cc/core/impl/executors/executor.h"
#include
"tensorflow_federated/cc/core/impl/executors/mock_grpc.h"
#include
"tensorflow_federated/cc/core/impl/executors/value_test_utils.h"
#include
"tensorflow_federated/proto/v0/executor.p
roto
.h"
#include
"tensorflow_federated/proto/v0/executor.p
b
.h"
using
::
testing
::
EqualsProto
;
using
::
testing
::
proto
::
IgnoringRepeatedFieldOrdering
;
...
...
tensorflow_federated/cc/core/impl/executors/serialization_bindings.cc
浏览文件 @
91cab511
...
...
@@ -39,7 +39,7 @@ limitations under the License
#include
"tensorflow/python/lib/core/safe_ptr.h"
#include
"tensorflow_federated/cc/core/impl/executors/status_macros.h"
#include
"tensorflow_federated/cc/core/impl/executors/tensor_serialization.h"
#include
"tensorflow_federated/proto/v0/executor.p
roto
.h"
#include
"tensorflow_federated/proto/v0/executor.p
b
.h"
namespace
tensorflow
{
Status
TF_TensorToTensor
(
const
TF_Tensor
*
src
,
Tensor
*
dst
);
...
...
上一页
1
2
下一页
编辑
预览
支持
Markdown
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录