This is an automated email from the ASF dual-hosted git repository.

yuanz pushed a change to branch main
in repository 
https://gitbox.apache.org/repos/asf/incubator-teaclave-trustzone-sdk.git


    from 72b39c1  setup: fix toolchain installation error
     new 265b008  examples: add mnist-rs
     new cf0f662  docs: Update doc

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 README.md                                          |   4 +-
 ci/ci.sh                                           |   2 +
 docs/overview-of-optee-rust-examples.md            |   2 +
 examples/{acipher-rs => mnist-rs}/Makefile         |  17 +-
 examples/mnist-rs/README.md                        | 234 +++++++++++++++++++++
 .../{tcp_client-rs => mnist-rs}/host/Cargo.toml    |  15 +-
 examples/{time-rs => mnist-rs}/host/Makefile       |   2 +-
 examples/mnist-rs/host/samples/0.bin               | Bin 0 -> 784 bytes
 examples/mnist-rs/host/samples/1.bin               | Bin 0 -> 784 bytes
 examples/mnist-rs/host/samples/2.bin               | Bin 0 -> 784 bytes
 examples/mnist-rs/host/samples/3.bin               | Bin 0 -> 784 bytes
 examples/mnist-rs/host/samples/4.bin               | Bin 0 -> 784 bytes
 examples/mnist-rs/host/samples/5.bin               | Bin 0 -> 784 bytes
 examples/mnist-rs/host/samples/6.bin               | Bin 0 -> 784 bytes
 examples/mnist-rs/host/samples/7.bin               | Bin 0 -> 784 bytes
 examples/mnist-rs/host/samples/7.png               | Bin 0 -> 721 bytes
 examples/mnist-rs/host/samples/8.bin               | Bin 0 -> 784 bytes
 examples/mnist-rs/host/samples/9.bin               | Bin 0 -> 784 bytes
 examples/mnist-rs/host/samples/model.bin           | Bin 0 -> 31575 bytes
 examples/mnist-rs/host/src/commands/infer.rs       |  85 ++++++++
 .../mnist-rs/host/src/commands/mod.rs              |   7 +-
 examples/mnist-rs/host/src/commands/serve.rs       | 116 ++++++++++
 examples/mnist-rs/host/src/commands/train.rs       | 131 ++++++++++++
 .../error.rs => examples/mnist-rs/host/src/main.rs |  40 ++--
 examples/mnist-rs/host/src/tee.rs                  | 157 ++++++++++++++
 examples/{aes-rs => mnist-rs}/proto/Cargo.toml     |   3 +-
 .../mnist-rs/proto/src/inference.rs                |   5 +-
 .../mnist-rs/proto}/src/lib.rs                     |  12 +-
 .../src/lib.rs => mnist-rs/proto/src/train.rs}     |  22 +-
 .../mnist-rs/rust-toolchain.toml                   |   7 +-
 examples/{acipher-rs => mnist-rs}/ta/Cargo.toml    |  32 ++-
 .../mnist-rs/ta/common}/Cargo.toml                 |  21 +-
 .../mnist-rs/ta/common/src/lib.rs                  |   9 +-
 examples/mnist-rs/ta/common/src/model.rs           |  86 ++++++++
 .../mnist-rs/ta/common/src/utils.rs                |  30 ++-
 .../mnist-rs/ta/inference}/Cargo.toml              |  28 ++-
 .../ta => mnist-rs/ta/inference}/Makefile          |  21 +-
 .../ta => mnist-rs/ta/inference}/build.rs          |   7 +-
 .../ta => mnist-rs/ta/inference}/src/main.rs       |  65 +++---
 examples/mnist-rs/ta/inference/uuid.txt            |   1 +
 .../{aes-rs/ta => mnist-rs/ta/train}/Cargo.toml    |  35 +--
 .../ta => mnist-rs/ta/train}/Makefile              |  20 +-
 .../{big_int-rs/ta => mnist-rs/ta/train}/build.rs  |   7 +-
 examples/mnist-rs/ta/train/src/main.rs             | 127 +++++++++++
 examples/mnist-rs/ta/train/src/trainer.rs          | 114 ++++++++++
 examples/mnist-rs/ta/train/uuid.txt                |   1 +
 tests/setup.sh                                     |   5 +
 tests/{test_acipher.sh => test_mnist_rs.sh}        |  14 +-
 48 files changed, 1307 insertions(+), 177 deletions(-)
 copy examples/{acipher-rs => mnist-rs}/Makefile (80%)
 create mode 100644 examples/mnist-rs/README.md
 copy examples/{tcp_client-rs => mnist-rs}/host/Cargo.toml (79%)
 copy examples/{time-rs => mnist-rs}/host/Makefile (98%)
 create mode 100644 examples/mnist-rs/host/samples/0.bin
 create mode 100644 examples/mnist-rs/host/samples/1.bin
 create mode 100644 examples/mnist-rs/host/samples/2.bin
 create mode 100644 examples/mnist-rs/host/samples/3.bin
 create mode 100644 examples/mnist-rs/host/samples/4.bin
 create mode 100644 examples/mnist-rs/host/samples/5.bin
 create mode 100644 examples/mnist-rs/host/samples/6.bin
 create mode 100644 examples/mnist-rs/host/samples/7.bin
 create mode 100644 examples/mnist-rs/host/samples/7.png
 create mode 100644 examples/mnist-rs/host/samples/8.bin
 create mode 100644 examples/mnist-rs/host/samples/9.bin
 create mode 100644 examples/mnist-rs/host/samples/model.bin
 create mode 100644 examples/mnist-rs/host/src/commands/infer.rs
 copy optee-utee/optee-utee-sys/src/tee_api_private.rs => 
examples/mnist-rs/host/src/commands/mod.rs (94%)
 create mode 100644 examples/mnist-rs/host/src/commands/serve.rs
 create mode 100644 examples/mnist-rs/host/src/commands/train.rs
 copy optee-utee-build/src/error.rs => examples/mnist-rs/host/src/main.rs (57%)
 create mode 100644 examples/mnist-rs/host/src/tee.rs
 copy examples/{aes-rs => mnist-rs}/proto/Cargo.toml (92%)
 copy optee-utee/optee-utee-sys/src/tee_api_private.rs => 
examples/mnist-rs/proto/src/inference.rs (92%)
 copy {optee-teec/optee-teec-sys => examples/mnist-rs/proto}/src/lib.rs (76%)
 copy examples/{secure_db_abstraction-rs/proto/src/lib.rs => 
mnist-rs/proto/src/train.rs} (70%)
 copy rust-toolchain.toml => examples/mnist-rs/rust-toolchain.toml (87%)
 copy examples/{acipher-rs => mnist-rs}/ta/Cargo.toml (68%)
 copy {optee-teec/optee-teec-sys => examples/mnist-rs/ta/common}/Cargo.toml 
(70%)
 copy optee-utee/systest/src/main.rs => examples/mnist-rs/ta/common/src/lib.rs 
(89%)
 create mode 100644 examples/mnist-rs/ta/common/src/model.rs
 copy projects/web3/eth_wallet/host/src/tests.rs => 
examples/mnist-rs/ta/common/src/utils.rs (60%)
 copy {optee-teec/systest => examples/mnist-rs/ta/inference}/Cargo.toml (60%)
 copy examples/{message_passing_interface-rs/ta => 
mnist-rs/ta/inference}/Makefile (75%)
 copy examples/{big_int-rs/ta => mnist-rs/ta/inference}/build.rs (81%)
 copy examples/{supp_plugin-rs/ta => mnist-rs/ta/inference}/src/main.rs (50%)
 create mode 100644 examples/mnist-rs/ta/inference/uuid.txt
 copy examples/{aes-rs/ta => mnist-rs/ta/train}/Cargo.toml (59%)
 copy examples/{message_passing_interface-rs/ta => mnist-rs/ta/train}/Makefile 
(75%)
 copy examples/{big_int-rs/ta => mnist-rs/ta/train}/build.rs (81%)
 create mode 100644 examples/mnist-rs/ta/train/src/main.rs
 create mode 100644 examples/mnist-rs/ta/train/src/trainer.rs
 create mode 100644 examples/mnist-rs/ta/train/uuid.txt
 copy tests/{test_acipher.sh => test_mnist_rs.sh} (68%)


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to