Skip to content

Commit

Permalink
Add copyright
Browse files Browse the repository at this point in the history
Signed-off-by: cwj <talkingwallace@sohu.com>
  • Loading branch information
talkingwallace committed Sep 11, 2023
1 parent 9e68d8b commit d8ee142
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 4 deletions.
2 changes: 1 addition & 1 deletion fate_client
Submodule fate_client updated 26 files
+1 −0 python/fate_client/pipeline/components/fate/__init__.py
+22 −22 python/fate_client/pipeline/components/fate/coordinated_linr.py
+23 −22 python/fate_client/pipeline/components/fate/coordinated_lr.py
+12 −11 python/fate_client/pipeline/components/fate/data_split.py
+6 −5 python/fate_client/pipeline/components/fate/dataframe_io_test.py
+9 −8 python/fate_client/pipeline/components/fate/dataframe_transformer.py
+10 −10 python/fate_client/pipeline/components/fate/evaluation.py
+14 −13 python/fate_client/pipeline/components/fate/feature_scale.py
+22 −21 python/fate_client/pipeline/components/fate/hetero_feature_binning.py
+16 −15 python/fate_client/pipeline/components/fate/hetero_feature_selection.py
+27 −30 python/fate_client/pipeline/components/fate/hetero_sbt.py
+20 −21 python/fate_client/pipeline/components/fate/homo_lr.py
+89 −59 python/fate_client/pipeline/components/fate/homo_nn.py
+0 −1 python/fate_client/pipeline/components/fate/nn/__init__.py
+17 −15 python/fate_client/pipeline/components/fate/nn/algo_params.py
+0 −15 python/fate_client/pipeline/components/fate/nn/fate_torch/__init__.py
+46 −26 python/fate_client/pipeline/components/fate/nn/loader.py
+0 −0 python/fate_client/pipeline/components/fate/nn/torch/__init__.py
+12 −27 python/fate_client/pipeline/components/fate/nn/torch/base.py
+1,284 −1,499 python/fate_client/pipeline/components/fate/nn/torch/nn.py
+127 −134 python/fate_client/pipeline/components/fate/nn/torch/optim.py
+8 −7 python/fate_client/pipeline/components/fate/psi.py
+13 −12 python/fate_client/pipeline/components/fate/reader.py
+11 −10 python/fate_client/pipeline/components/fate/sample.py
+11 −10 python/fate_client/pipeline/components/fate/statistics.py
+6 −5 python/fate_client/pipeline/components/fate/union.py
15 changes: 15 additions & 0 deletions python/fate/components/components/nn/torch/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#
# Copyright 2019 The FATE Authors. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-

#
# Copyright 2019 The FATE Authors. All Rights Reserved.
#
Expand Down
16 changes: 16 additions & 0 deletions python/fate/ml/nn/trainer/trainer_base.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
#
# Copyright 2019 The FATE Authors. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#

import os
import re
import torch
Expand Down

0 comments on commit d8ee142

Please sign in to comment.