Skip to main content
Ctrl+K

SecretFlow

Site Navigation

  • Getting started
  • User Guide
  • API Documentation
  • Tutorial
  • Component
    • Developer
  • GitHub

Site Navigation

  • Getting started
  • User Guide
  • API Documentation
  • Tutorial
  • Component
    • Developer
  • GitHub

Section Navigation

  • Preprocessing
    • DataFrame
    • Weight Of Evidence encoding
  • Private Set Intersection(PSI)
  • MPC Machine Learning
    • Linear Models
    • Decision Trees
    • Feature Engineering
  • Federated Learning
    • Horizontal Federated Learning
      • Federated NN Model
      • Horizontally Federated XGBoost
    • Vertical Federated Learning
      • Split Learning
      • Vertically Federated XGB (SecureBoost)
      • SplitRec: When Split Learning in Secretflow meets Recommandation System
        • Effectiveness
        • Efficiency
        • Security
    • Mix Federated Learning
  • User Guide
  • Horizontal Federated Learning
  • Federated NN Model

Federated NN Model#

You could define a federated learning NN model with Tensorflow or PyTorch easily.

Please check API of FLModel.

You may also check tutorials:

  • Federated Learning for Image Classification This is an example to demonstrate defining a model with TensorFlow.

  • Federated Learning with Pytorch Backend This is an example to demonstrate defining a model with PyTorch.

If you are interested, we also encourage you to check FLModel Design.

previous

Horizontal Federated Learning

next

Horizontally Federated XGBoost

Show Source

© Copyright 2022 Ant Group Co., Ltd..

Created using Sphinx 5.3.0.

Built with the PyData Sphinx Theme 0.14.4.