diff --git a/secretflow_serving/ops/graph_version.h b/secretflow_serving/ops/graph_version.h index 404d435..67d4b1f 100644 --- a/secretflow_serving/ops/graph_version.h +++ b/secretflow_serving/ops/graph_version.h @@ -1,18 +1,17 @@ // Copyright 2024 Ant Group Co., Ltd. -// +// // 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. - #pragma once // Version upgrade when `GraphDef` changed. diff --git a/secretflow_serving/ops/tree_utils.h b/secretflow_serving/ops/tree_utils.h index 7fb1c1f..e5bce01 100644 --- a/secretflow_serving/ops/tree_utils.h +++ b/secretflow_serving/ops/tree_utils.h @@ -1,18 +1,17 @@ // Copyright 2024 Ant Group Co., Ltd. -// +// // 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. - #pragma once #include diff --git a/secretflow_serving/tools/model_view/BUILD.bazel b/secretflow_serving/tools/model_view/BUILD.bazel index 3b8d485..d08527f 100644 --- a/secretflow_serving/tools/model_view/BUILD.bazel +++ b/secretflow_serving/tools/model_view/BUILD.bazel @@ -1,11 +1,11 @@ # Copyright 2024 Ant Group Co., Ltd. -# +# # 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. diff --git a/secretflow_serving/util/test_utils.cc b/secretflow_serving/util/test_utils.cc index b365d00..19ad4e2 100644 --- a/secretflow_serving/util/test_utils.cc +++ b/secretflow_serving/util/test_utils.cc @@ -1,18 +1,17 @@ // Copyright 2024 Ant Group Co., Ltd. -// +// // 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. - #include "secretflow_serving/util/test_utils.h" #include diff --git a/secretflow_serving/util/test_utils.h b/secretflow_serving/util/test_utils.h index ee50fd9..528f009 100644 --- a/secretflow_serving/util/test_utils.h +++ b/secretflow_serving/util/test_utils.h @@ -1,18 +1,17 @@ // Copyright 2024 Ant Group Co., Ltd. -// +// // 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. - #pragma once #include "arrow/api.h" diff --git a/secretflow_serving_lib/api_test.py b/secretflow_serving_lib/api_test.py index 33ccd78..9fee453 100644 --- a/secretflow_serving_lib/api_test.py +++ b/secretflow_serving_lib/api_test.py @@ -1,12 +1,11 @@ - # Copyright 2024 Ant Group Co., Ltd. -# +# # 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. diff --git a/secretflow_serving_lib/attr_pb2.py b/secretflow_serving_lib/attr_pb2.py index fac355c..81634a1 100755 --- a/secretflow_serving_lib/attr_pb2.py +++ b/secretflow_serving_lib/attr_pb2.py @@ -1,12 +1,11 @@ - # Copyright 2024 Ant Group Co., Ltd. -# +# # 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. diff --git a/secretflow_serving_lib/bundle_pb2.py b/secretflow_serving_lib/bundle_pb2.py index 2dafad5..61f58f0 100755 --- a/secretflow_serving_lib/bundle_pb2.py +++ b/secretflow_serving_lib/bundle_pb2.py @@ -1,12 +1,11 @@ - # Copyright 2024 Ant Group Co., Ltd. -# +# # 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. diff --git a/secretflow_serving_lib/compute_trace_pb2.py b/secretflow_serving_lib/compute_trace_pb2.py index 857e99b..b9ac0f5 100644 --- a/secretflow_serving_lib/compute_trace_pb2.py +++ b/secretflow_serving_lib/compute_trace_pb2.py @@ -1,12 +1,11 @@ - # Copyright 2024 Ant Group Co., Ltd. -# +# # 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. diff --git a/secretflow_serving_lib/data_type_pb2.py b/secretflow_serving_lib/data_type_pb2.py index a3cb447..91f49a2 100755 --- a/secretflow_serving_lib/data_type_pb2.py +++ b/secretflow_serving_lib/data_type_pb2.py @@ -1,12 +1,11 @@ - # Copyright 2024 Ant Group Co., Ltd. -# +# # 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. diff --git a/secretflow_serving_lib/feature_pb2.py b/secretflow_serving_lib/feature_pb2.py index 87610f8..3fc882b 100755 --- a/secretflow_serving_lib/feature_pb2.py +++ b/secretflow_serving_lib/feature_pb2.py @@ -1,12 +1,11 @@ - # Copyright 2024 Ant Group Co., Ltd. -# +# # 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. diff --git a/secretflow_serving_lib/graph_pb2.py b/secretflow_serving_lib/graph_pb2.py index 6c009a8..cdef4a2 100755 --- a/secretflow_serving_lib/graph_pb2.py +++ b/secretflow_serving_lib/graph_pb2.py @@ -1,12 +1,11 @@ - # Copyright 2024 Ant Group Co., Ltd. -# +# # 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. diff --git a/secretflow_serving_lib/link_function_pb2.py b/secretflow_serving_lib/link_function_pb2.py index dc8b92d..b9b9cc4 100644 --- a/secretflow_serving_lib/link_function_pb2.py +++ b/secretflow_serving_lib/link_function_pb2.py @@ -1,12 +1,11 @@ - # Copyright 2024 Ant Group Co., Ltd. -# +# # 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. diff --git a/secretflow_serving_lib/op_pb2.py b/secretflow_serving_lib/op_pb2.py index 66dd051..44e423c 100644 --- a/secretflow_serving_lib/op_pb2.py +++ b/secretflow_serving_lib/op_pb2.py @@ -1,12 +1,11 @@ - # Copyright 2024 Ant Group Co., Ltd. -# +# # 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.