copyright
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseNVIDIA Copyright Header
NVIDIA版权头
Add the following NVIDIA copyright header to all Python files and shell scripts. The header should include the current year. Exclude test files (files under or test-only scripts).
tests/The header must appear at the top of the file. Always use the current year (not a hardcoded year):
python
undefined请将以下NVIDIA版权头添加到所有Python文件和shell脚本中。版权头应包含当前年份。排除测试文件(目录下的文件或仅用于测试的脚本)。
tests/版权头必须位于文件顶部。请始终使用当前年份(而非硬编码的年份):
python
undefinedCopyright (c) <CURRENT_YEAR>, NVIDIA CORPORATION. All rights reserved.
Copyright (c) <CURRENT_YEAR>, NVIDIA CORPORATION. All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License");
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
You may obtain a copy of the License at
Unless required by applicable law or agreed to in writing, software
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
See the License for the specific language governing permissions and
limitations under the License.
limitations under the License.
undefinedundefined