-
-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* `cat` concatenates `ReplicatedSharedTensor` - refer to issue #324 - `cat` can concatenates `ShareTensor`s, but it is not workable for `ReplicatedSharedTensor`. - added `cat_replicatedShare_tensor` in *apy.py* and *static.py* for the concatenation of `ReplicatedSharedTensor`. * Saving a variable and formatting Format The following commands have been run: - `python -m black tensor/static.py` - `python -m black api.py` - `isort tensor/static.py` Save number of replicated shares as a variable - Q: Could you save the len(shares[0].shares) in a variable and then use it here and on line 140? [x]*done* Amended docstring - `shares` is a tuple of `ReplicatedSharedTensor`s - the empty blank is deleted in `cat_replicatedShare_tensor` * For Python3.7 that doesn't support `math.prod` - python 3.7 cannot support `math.prod`, only python 3.8+ can. * Remove python3.7 * Remove tutorial python3.7 Co-authored-by: George Muraru <[email protected]>
- Loading branch information
1 parent
41da2eb
commit 91cf991
Showing
5 changed files
with
47 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters