Skip to content

Commit 2623265

Browse files
ejguanfacebook-github-bot
authored andcommitted
Update license header for pytorch/data (meta-pytorch#351)
Summary: Pull Request resolved: meta-pytorch#351 This diff is automatically generated via ``` arc lint --apply-patches --take LICENSELINT --paths-cmd "hg files pytorch/data" ``` All files are updated or attached with new license Reviewed By: wenleix, Miiira Differential Revision: D35444604 fbshipit-source-id: f96985215f9ec7979c7716a70029628170706c98
1 parent 88b2333 commit 2623265

84 files changed

Lines changed: 501 additions & 66 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

CMakeLists.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
# Copyright (c) Meta Platforms, Inc. and affiliates.
2+
# All rights reserved.
3+
#
4+
# This source code is licensed under the BSD-style license found in the
5+
# LICENSE file in the root directory of this source tree.
6+
17
cmake_minimum_required(VERSION 3.13 FATAL_ERROR)
28

39
# Most of the configurations are taken from PyTorch

docs/make.bat

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
@REM Copyright (c) Meta Platforms, Inc. and affiliates.
2+
@REM All rights reserved.
3+
@REM
4+
@REM This source code is licensed under the BSD-style license found in the
5+
@REM LICENSE file in the root directory of this source tree.
6+
17
@ECHO OFF
28

39
pushd %~dp0

docs/source/_static/css/custom.css

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
/**
2+
* Copyright (c) Meta Platforms, Inc. and affiliates.
3+
* All rights reserved.
4+
*
5+
* This source code is licensed under the BSD-style license found in the
6+
* LICENSE file in the root directory of this source tree.
7+
*/
8+
19
h1 {
210
font-size: 2rem;
311
letter-spacing: 1.78px;

docs/source/conf.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
# Copyright (c) Meta Platforms, Inc. and affiliates.
2+
# All rights reserved.
3+
#
4+
# This source code is licensed under the BSD-style license found in the
5+
# LICENSE file in the root directory of this source tree.
6+
17
# Configuration file for the Sphinx documentation builder.
28
#
39
# This file only contains a selection of the most common options. For a full

examples/__init__.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,5 @@
1-
# Copyright (c) Facebook, Inc. and its affiliates.
1+
# Copyright (c) Meta Platforms, Inc. and affiliates.
2+
# All rights reserved.
3+
#
4+
# This source code is licensed under the BSD-style license found in the
5+
# LICENSE file in the root directory of this source tree.

examples/audio/librispeech.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
1-
# Copyright (c) Facebook, Inc. and its affiliates.
1+
# Copyright (c) Meta Platforms, Inc. and affiliates.
2+
# All rights reserved.
3+
#
4+
# This source code is licensed under the BSD-style license found in the
5+
# LICENSE file in the root directory of this source tree.
6+
27
import functools
38
import os
49

examples/text/ag_news.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
1-
# Copyright (c) Facebook, Inc. and its affiliates.
1+
# Copyright (c) Meta Platforms, Inc. and affiliates.
2+
# All rights reserved.
3+
#
4+
# This source code is licensed under the BSD-style license found in the
5+
# LICENSE file in the root directory of this source tree.
6+
27
from torchdata.datapipes.iter import HttpReader
38

49
from .utils import _add_docstring_header, _create_dataset_directory, _wrap_split_argument

examples/text/amazonreviewpolarity.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
1-
# Copyright (c) Facebook, Inc. and its affiliates.
1+
# Copyright (c) Meta Platforms, Inc. and affiliates.
2+
# All rights reserved.
3+
#
4+
# This source code is licensed under the BSD-style license found in the
5+
# LICENSE file in the root directory of this source tree.
6+
27
import os
38

49
from torchdata.datapipes.iter import FileOpener, GDriveReader, IterableWrapper

examples/text/imdb.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
1-
# Copyright (c) Facebook, Inc. and its affiliates.
1+
# Copyright (c) Meta Platforms, Inc. and affiliates.
2+
# All rights reserved.
3+
#
4+
# This source code is licensed under the BSD-style license found in the
5+
# LICENSE file in the root directory of this source tree.
6+
27
import os
38
from pathlib import Path
49

examples/text/squad1.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
1-
# Copyright (c) Facebook, Inc. and its affiliates.
1+
# Copyright (c) Meta Platforms, Inc. and affiliates.
2+
# All rights reserved.
3+
#
4+
# This source code is licensed under the BSD-style license found in the
5+
# LICENSE file in the root directory of this source tree.
6+
27
import os
38

49
from torchdata.datapipes.iter import FileOpener, HttpReader, IterableWrapper, IterDataPipe

0 commit comments

Comments
 (0)