Proto commits in OpenMined/syft-proto

These 60 commits are when the Protocol Buffers files have changed:

Commit:54d749c
Author:George-Cristian Muraru
Committer:GitHub

New version + grid changes (#145) * New version + grid changes * Add RST only in proto.json * Fix protoc

The documentation is generated from this commit.

Commit:57b8ef3
Author:Tudor Cebere

Initial storage support

Commit:8882d5f
Author:George-Cristian Muraru
Committer:GitHub

Id to ids (#135)

Commit:764e0ed
Author:George-Cristian Muraru
Committer:GitHub

Add OnnxModel (#129) * Add OnnxModel * Increment * Fix brackets * Generate stubs Co-authored-by: Théo Ryffel <theo.leffyr@gmail.com>

Commit:8dca7ae
Author:Vova Manannikov
Committer:GitHub

Add base_framework and roles to Plan (#133)

Commit:eda1581
Author:Madeleine Shang
Committer:GitHub

Rename `WorkerAction` to `StorageAction` (#124) * test * fix stubs * undo version changes, will fix in different PR Co-authored-by: maddie_shang <mshang@tableau.com> Co-authored-by: Karl Higley <kmhigley@gmail.com>

Commit:920d130
Author:Jasopaum
Committer:GitHub

Add child in Placeholder schema (#118) * add placeholder_id in ObjectMessage schema * build python * Build stubs Co-authored-by: Karl Higley <kmhigley@gmail.com>

Commit:f7c926c
Author:Tudor Cebere
Committer:GitHub

small_fix (#125) Co-authored-by: tudor <Tudor Cebere> Co-authored-by: Karl Higley <kmhigley@gmail.com>

Commit:58413e9
Author:Tudor Cebere
Committer:GitHub

Adding FixedPrecisionTensor support. (#127) Co-authored-by: tudor <Tudor Cebere>

Commit:97e5f84
Author:Tudor Cebere
Committer:GitHub

dataset support (#126) Co-authored-by: tudor <Tudor Cebere>

Commit:9df3924
Author:Vova Manannikov
Committer:GitHub

Add list to Arg (#120) * Add list to Arg * make stubs Co-authored-by: Karl Higley <kmhigley@gmail.com>

Commit:6395dca
Author:Madeleine Shang
Committer:GitHub

Add worker actions (#117) * add worker_action * add worker action * add worker_action * Update `WorkerAction` constant in `proto.json` to avoid conflicts * Build stubs for a few more languages Co-authored-by: maddie_shang <mshang@tableau.com> Co-authored-by: Karl Higley <kmhigley@gmail.com>

Commit:d69d2b7
Author:Tudor Cebere
Committer:GitHub

Adding messaging support. (#116) * Adding messaging support. * Add messaging support in protobuf. * updating SyftMessage Co-authored-by: tudor <Tudor Cebere>

Commit:fee936e
Author:Tudor Cebere
Committer:GitHub

Adding pointer plan and object pointer support in protobuf. (#115) * Adding pointer plan support in protobuf. * Adding support for object pointer. Co-authored-by: tudor <Tudor Cebere> Co-authored-by: Karl Higley <kmhigley@gmail.com>

Commit:2f0c6b4
Author:Tudor Cebere
Committer:GitHub

Adding support for pointer_dataset in protobuf. (#114) Co-authored-by: tudor <Tudor Cebere> Co-authored-by: Karl Higley <kmhigley@gmail.com>

Commit:00730bd
Author:Tudor Cebere
Committer:GitHub

Adding syft.String support (#112) Co-authored-by: tudor <Tudor Cebere>

Commit:597e43a
Author:Tudor Cebere
Committer:GitHub

support for torch dtype (#111) Co-authored-by: tudor <Tudor Cebere>

Commit:e370cc6
Author:Karl Higley
Committer:GitHub

Add schema/stubs for `IsNoneMessage` (#104)

Commit:6ea5455
Author:Tudor Cebere
Committer:GitHub

Torch.memformat support (#110) * memformat_support * fix Co-authored-by: tudor <Tudor Cebere>

Commit:c3fad9c
Author:Mike Nolan
Committer:Mike Nolan

Add multiple roles to Plan

Commit:b4a26be
Author:Karl Higley
Committer:GitHub

Update fields in `CommunicationAction` proto (#100) * Update `CommunicationAction` fields * Fix the name of the string type field on `Arg` proto

Commit:a1ebae0
Author:Tudor Cebere
Committer:GitHub

* Add support for type "type". (#88) * * Add support for type "type". * * Adding support for types in Plans schemes. * * Adding support for type. * Adding support for NestedTypeWrapper. * * Refactor into separate file. * * Add newline. * Build stubs * * Renaming messages to respect the linting. * Changing the logic of NestedTypeWrapper to make fields mutual exclusive. * * Changing from the key-value/types logic from bytes to string. * * Cleanup. * Change from bytes to strings in ClassType definition. * Change from the repeated KeyValue to map<string, NestedTypeWrapper>. * Make wrappers for all repeated types to make everything nicer/cleaner. * Build new stubs. * * Cleanup. * Change from bytes to strings in ClassType definition. * Change from the repeated KeyValue to map<string, NestedTypeWrapper>. * Make wrappers for all repeated types to make everything nicer/cleaner. * Build new stubs. * Removing unwanted files. * Learning how to properly build stubs. * Learning how to properly build stubs -- 2. * Adding explicit new messages. * Build new stubs. * Naming update. * Fixing reviews. Co-authored-by: tudor <Tudor Cebere> Co-authored-by: Karl Higley <kmhigley@gmail.com>

Commit:72ac792
Author:Jasopaum
Committer:GitHub

Update protocol schema (#95) * update protocol schema * remove is_built from Plan and Protocol schemas * remove include_state from schema * remove input/output_repartition fields

Commit:ce5fd42
Author:Karl Higley
Committer:GitHub

Add a `name` field to `CommunicationAction` (#90)

Commit:43aee00
Author:tudor

* Refactor into separate file.

Commit:0015be9
Author:tudor

* Adding support for type. * Adding support for NestedTypeWrapper.

Commit:e0c2e6c
Author:tudor

* Adding support for types in Plans schemes.

Commit:dd720b5
Author:Vova Manannikov
Committer:GitHub

Add Placeholder's expected_shape field (#87) * Add Placeholder's expected_shape * Build stubs Co-authored-by: Karl Higley <kmhigley@gmail.com>

Commit:51c78bc
Author:Karl Higley
Committer:GitHub

Set up `Role` class (#82) * [WIP] Set up `Role` class * add role schema * Build Protobuf stubs * Remove stray Python `Operation` stub Co-authored-by: Jasopaum <jason.paumier@gmail.com> Co-authored-by: Github Action <actions@users.noreply.github.com>

Commit:a0f7f25
Author:Vova Manannikov
Committer:GitHub

Torchscript field in Plan (#80) * Torchscript field in Plan * Torchscript field in Plan * Add torchscript field into Plan

Commit:5c47f10
Author:Yugandhar Tripathi
Committer:GitHub

Int serialisation for handling large values (#48) * Update proto.json * testing custom type * Swift stubs auto-commit * add dtype and oneof for field * JS stubs auto-commit * Update the Java/Python stubs for `AdditiveSharingTensor` * Swift stubs auto-commit * fix merge * fix merge * change automated _b to b * Build Java stubs Co-authored-by: GitHub Action <actions@users.noreply.github.com> Co-authored-by: Karl Higley <kmhigley@gmail.com>

Commit:a9848de
Author:Jasopaum
Committer:GitHub

Use `PlaceholderIds` instead of `Placeholders` in `Actions` (#55) * proto branch for PR on ObjectId * remove unused imports * Swift stubs auto-commit * add PlaceholderId schema * Tweak `ObjectId` to wrap up the transformation to `PlaceholderId` * Swift stubs auto-commit * Build Python stubs * Build Javascript stubs * Build Java stubs * Remove Java stubs for `Empty` * fix target action placeholder_id * Make field name underscore separation consistent in `arg.proto` * Remove stray import * Build Python stubs * Build Java stubs * Build Javascript stubs * Build Swift stubs Co-authored-by: GitHub Action <actions@users.noreply.github.com> Co-authored-by: Karl Higley <kmhigley@gmail.com>

Commit:e6f5361
Author:Karl Higley
Committer:GitHub

Move `Placeholder` proto to `execution` package (#54) * Move `Placeholder` proto to `execution` package It's not actually specific to PyTorch and is most closely related to the other classes in `execution` (e.g. `Plans`, `Protocols`.) * Swift stubs auto-commit Co-authored-by: GitHub Action <actions@users.noreply.github.com>

Commit:2647fda
Author:Karl Higley
Committer:GitHub

Standardize the names of tensor, plan, and worker command messages (#53) * Standardize the names of tensor, plan, and worker command messages * Swift stubs auto-commit Co-authored-by: GitHub Action <actions@users.noreply.github.com>

Commit:cc00059
Author:Karl Higley
Committer:GitHub

Add communication action and message schemas (#50) * add communication_action and communication_message * build stubs * Remove unused imports (from linter warnings) * Make action message field naming consistent * Build stubs * Update protobuf/syft_proto/messaging/v1/message.proto * JS stubs auto-commit * merge ComputationMessage and CommunicationMessage under CommandMessage * obj in CommunicationAction is id * obj -> obj_id * Re-build stubs * Remove stray references to `CommunicationMessage` * Swift stubs auto-commit Co-authored-by: Jasopaum <jason.paumier@gmail.com> Co-authored-by: GitHub Action <actions@users.noreply.github.com>

Commit:15f5edc
Author:Karl Higley

Rename `ActionMessage` to `CommandMessage`

Commit:5efc506
Author:Karl Higley
Committer:Karl Higley

Rename `OperationMessage` to `ActionMessage`

Commit:c92e8e0
Author:Karl Higley

Rename `ComputationAction` field from `owner` to `target`

Commit:b4705ac
Author:Karl Higley

Rename `Plan` field to `actions`

Commit:e034043
Author:Jasopaum

rename Operation to ComputationAction

Commit:ae057eb
Author:Karl Higley

Separate execution types from messaging types Plans, Protocols, Operations, States, and so forth aren't messaging primitives, since they can be created and used locally. They *can* be sent in messages, but don't necessarily need to be. Drawing this distinction lays some of the groundwork for sorting out next generation Plans and Protocols.

Commit:9a1907e
Author:mccorby

Use java package option to generate classes

Commit:4800371
Author:Karl Higley
Committer:Karl Higley

Add schemas and Python stubs for Placeholders, Plans, and States

Commit:22df5fd
Author:George Muraru
Committer:George Muraru

Add jit.ScriptFunction + memory_format

Commit:d900946
Author:Vova Manannikov

Add Protocol stub

Commit:e58166d
Author:Karl Higley
Committer:Karl Higley

Add schema for `ObjectMessage` to `SyftMessage`

Commit:095cc7a
Author:Karl Higley
Committer:Karl Higley

Update `SyftMessage` schema and Python stub

Commit:664f881
Author:Karl Higley
Committer:Karl Higley

Add schema for `OperationMessage` to `SyftMessage`

Commit:fcb6821
Author:Karl Higley
Committer:Karl Higley

Add schema and Python stub for `Operation`

Commit:209dfd6
Author:Karl Higley
Committer:Karl Higley

Add schema and Python stub for `AdditiveSharingTensor`

Commit:0592b32
Author:Karl Higley
Committer:Karl Higley

Add schema and Python stub for `PointerTensor`

Commit:a976e59
Author:Karl Higley
Committer:Karl Higley

Add schema and Python stub for operation `Arg`

Commit:59351aa
Author:Karl Higley
Committer:Karl Higley

Add schema and Python stub for `Shape`

Commit:9a414e0
Author:Karl Higley
Committer:Karl Higley

Rename Syft Shape to Torch Size

Commit:a83d848
Author:Karl Higley
Committer:Karl Higley

Remove id from TensorData proto and shape from Tensor proto

Commit:4991b18
Author:Karl Higley
Committer:Karl Higley

Add schemas and Python stubs for Torchscript modules/functions

Commit:5fb4d41
Author:Karl Higley
Committer:Karl Higley

Add schema and Python stub for `torch.nn.Parameter`

Commit:4deee86
Author:Karl Higley
Committer:Karl Higley

Add schema and Python stub for `torch.device`

Commit:843c765
Author:Karl Higley
Committer:Patrick Cason

Add schemas for Torch tensors (#21) * Add schemas for Torch tensors and related types * Add fields for each Torch dtype to SyftTensor * Add SyftTensor fields for quantized tensors * Move SyftTensor to torch package and rename to TensorData * Change TensorData contents to a `oneof`

Commit:4cbad54
Author:Karl Higley
Committer:Patrick Cason

Add Protobuf schema for basic message wrapper type and empty messages (#18) * Add Protobuf schema for basic message wrapper type and empty messages * Add a script for compiling Protobuf schemas to Python stubs with * Update the README to reflect the addition of Protobuf