This project is mirrored from https://github.com/tensorflow/federated.
Pull mirroring failed .
Last successful update .
Last successful update .
- 18 Nov, 2021 5 commits
-
-
Yu Xiao authored
PiperOrigin-RevId: 410631896
-
Zachary Charles authored
PiperOrigin-RevId: 410595976
-
Michael Reneer authored
PiperOrigin-RevId: 410587320
-
Zachary Charles authored
PiperOrigin-RevId: 410538549
-
Zachary Charles authored
PiperOrigin-RevId: 410538498
-
- 17 Nov, 2021 8 commits
-
-
Keith Rush authored
Now uses dtype.name to match known-rank case (used dtype previously), and adjusts from [None] to (shape=None). This will change the string representation e.g. of TensorType(tf.float32, shape=None) from: tf.float32[None] to float32(shape=None). For reference, a TensorType(tf.float32, shape=[None]) (IE, rank-1 tensor of unknown size) will remain represnted as: float32[?]. PiperOrigin-RevId: 410428097
-
Zachary Garrett authored
This copied from TF's .bazelrc. PiperOrigin-RevId: 410381396
-
Zachary Charles authored
PiperOrigin-RevId: 410361295
-
Zachary Charles authored
PiperOrigin-RevId: 410350199
-
Zachary Garrett authored
PiperOrigin-RevId: 410327209
-
Yu Xiao authored
PiperOrigin-RevId: 410312882
-
Yu Xiao authored
PiperOrigin-RevId: 410271764
-
Wennan Zhu authored
PiperOrigin-RevId: 410254008
-
- 13 Nov, 2021 3 commits
-
-
A. Unique TensorFlower authored
PiperOrigin-RevId: 409593450
-
Shanshan Wu authored
This will be used as the default metric aggregator for most iterative process/eval computation builders provided by TFF learning. PiperOrigin-RevId: 409444231
-
Jakub Konecny authored
- Moves a generic check to py_typecheck.py or as private module level helpers specific to concrete optimizers. - Corrects structural checks on weights and gradients, and adds them to public API. PiperOrigin-RevId: 409418948
-
- 12 Nov, 2021 2 commits
-
-
Jakub Konecny authored
PiperOrigin-RevId: 409407858
-
Zachary Garrett authored
PiperOrigin-RevId: 409155243
-
- 11 Nov, 2021 2 commits
-
-
Michael Reneer authored
* Added unit tests. * Removed sorting the key of the returned value when it is flattened. * Updated type annotations. PiperOrigin-RevId: 408970683
-
Taylor Cramer authored
PiperOrigin-RevId: 408917062
-
- 10 Nov, 2021 15 commits
-
-
Zachary Garrett authored
- Remove unused pybind_protobuf wrappings for methods without protocol buffers. - Fix header only dep to include implementation. - Update bazelrc to avoid ubp compilation error. PiperOrigin-RevId: 408671302
-
Zachary Garrett authored
PiperOrigin-RevId: 408518267
-
Rebecca Chen authored
PiperOrigin-RevId: 408462877
-
Michael Reneer authored
* Added documentation about how value references are materialized. * Added documentation about how values and program state is flattened or unflattend. * Added documentation about the format of the released values and saved program state. PiperOrigin-RevId: 408459647
-
Michael Reneer authored
* Added `CSVFileReleaseManager`. * Added tests. * Updated datatypes for all tests in the `program` package. PiperOrigin-RevId: 408384664
-
Keith Rush authored
First of a stream of CLs with boilerplate work for sequence executor. PiperOrigin-RevId: 407896764
-
Taylor Cramer authored
Note that this does not parallelize materializing or merging of child results: those steps are still serialized. PiperOrigin-RevId: 407878128
-
Taylor Cramer authored
As an aside, this CL adds a new `main` function for tests running in OSS. This was necessary in order to use absl flags in OSS C++ tests because OSS gtest_main intercepts argc and argv but does not parse absl flags. For details, see https://github.com/google/googletest/issues/3646. PiperOrigin-RevId: 407875061
-
Jakub Konecny authored
PiperOrigin-RevId: 407853543
-
Taylor Cramer authored
Previously, failure to make `ExecutorValue` instances copy-constructible would result in confusing template instantiation errors. This `static_assert` makes the requirement explicit and provides the user with a clear, actionable suggestion. Example error: ``` ERROR: third_party/tensorflow_federated/cc/core/impl/executors/executor.h:230:3 static_assert failed due to requirement 'std::is_copy_constructible<std::unique_ptr<int, std::default_delete<int>>>::value' "`ExecutorValue`s (the type parameter passed to `ExecutorBase`) must be copy-constructible. Consider wrapping with `std::shared_ptr`, `std::shared_future`, or other similar container like: `class MyExecutor: public ExecutorBase<std::shared_ptr<MyExecutorValue>>`" static_assert(std::is_copy_constructible<ExecutorValue>::value, ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ third_party/tensorflow_federated/cc/core/impl/executors/executor.h:356:26 in instantiation of template class 'tensorflow_federated::ExecutorBase<std::unique_ptr<int>>' requested here class MyExecutor: public ExecutorBase<std::unique_ptr<int>> { ^ ``` PiperOrigin-RevId: 407853500
-
Jakub Konecny authored
PiperOrigin-RevId: 407830629
-
Michael Reneer authored
Without this, some compilers complain with: ``` In file included from tensorflow_federated/cc/core/impl/executors/composing_executor_test.cc:31: ./tensorflow_federated/cc/core/impl/executors/value_test_utils.h:83:22: error: call to constructor of 'tensorflow::Tensor' is ambiguous tensorflow::Tensor tensor(tensor_constructor_args...); ^ ~~~~~~~~~~~~~~~~~~~~~~~ tensorflow_federated/cc/core/impl/executors/composing_executor_test.cc:510:26: note: in instantiation of function template specialization 'tensorflow_federated::testing::TensorV<unsigned long>' requested here v0::Value result = TensorV(client_results.size()); ^ ``` PiperOrigin-RevId: 407829908
-
A. Unique TensorFlower authored
PiperOrigin-RevId: 407826333
-
Michael Reneer authored
PiperOrigin-RevId: 407701028
-
Michael Reneer authored
PiperOrigin-RevId: 407694741
-
- 05 Nov, 2021 1 commit
-
-
Taylor Cramer authored
PiperOrigin-RevId: 407602718
-
- 04 Nov, 2021 4 commits
-
-
Michael Reneer authored
See cl/406195727 for more information. PiperOrigin-RevId: 407444744
-
Yu Xiao authored
PiperOrigin-RevId: 407441303
-
Yu Xiao authored
This CL is Step 1 of migrating TFF learning model to the new way of binding metrics. It adds two new attributes: `report_local_unfinalized_metrics` and `metric_finalizers`. The two attributes are not being used yet. PiperOrigin-RevId: 407419559
-
Zachary Garrett authored
Turn off `abi_tags` in C++ mangled names to be compatible with TensorFlow shared objects bulit for the `tensorflow` pip package. PiperOrigin-RevId: 407390941
-