Skip to content

Commit

Permalink
add missing copyright headers (#489)
Browse files Browse the repository at this point in the history
Summary:
Pull Request resolved: #489

adding missing copyright headers. I guess whitespace is meaningful?

Reviewed By: JasonKChow

Differential Revision: D67522044

fbshipit-source-id: d985ffae81d1bc018242f3f814ea42fc29c2a226
  • Loading branch information
crasanders authored and facebook-github-bot committed Dec 20, 2024
1 parent 115dddb commit e30754c
Show file tree
Hide file tree
Showing 12 changed files with 40 additions and 2 deletions.
7 changes: 6 additions & 1 deletion aepsych/factory/pairwise.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
# (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary.
#!/usr/bin/env python3
# Copyright (c) Meta, Inc. and its affiliates.
# All rights reserved.

# This source code is licensed under the license found in the
# LICENSE file in the root directory of this source tree.

from typing import List, Tuple, Union

Expand Down
7 changes: 7 additions & 0 deletions aepsych/kernels/pairwisekernel.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
#!/usr/bin/env python3
# Copyright (c) Meta, Inc. and its affiliates.
# All rights reserved.

# This source code is licensed under the license found in the
# LICENSE file in the root directory of this source tree.

from typing import Any, Optional, Union

import torch
Expand Down
1 change: 1 addition & 0 deletions aepsych/transforms/ops/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

# This source code is licensed under the license found in the
# LICENSE file in the root directory of this source tree.

from abc import ABC
from copy import deepcopy
from typing import Any, Dict, List, Literal, Optional, Union
Expand Down
1 change: 1 addition & 0 deletions aepsych/transforms/ops/fixed.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

# This source code is licensed under the license found in the
# LICENSE file in the root directory of this source tree.

from typing import Any, Dict, List, Optional, Union

import torch
Expand Down
1 change: 1 addition & 0 deletions aepsych/transforms/ops/log10_plus.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

# This source code is licensed under the license found in the
# LICENSE file in the root directory of this source tree.

from typing import Any, Dict, List, Optional

import numpy as np
Expand Down
1 change: 1 addition & 0 deletions aepsych/transforms/ops/normalize_scale.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

# This source code is licensed under the license found in the
# LICENSE file in the root directory of this source tree.

from typing import Any, Dict, List, Optional, Union

import torch
Expand Down
1 change: 1 addition & 0 deletions aepsych/transforms/ops/round.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

# This source code is licensed under the license found in the
# LICENSE file in the root directory of this source tree.

from typing import List, Literal, Optional

import torch
Expand Down
1 change: 1 addition & 0 deletions aepsych/transforms/parameters.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

# This source code is licensed under the license found in the
# LICENSE file in the root directory of this source tree.

import ast
import warnings
from abc import ABC
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
// (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary.
/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
* All rights reserved.
*
* This source code is licensed under the license found in the
* LICENSE file in the root directory of this source tree.
*/

using System.Collections;
using System.Collections.Generic;
Expand Down
6 changes: 6 additions & 0 deletions tests/test_pairwise_kernel.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
#!/usr/bin/env python3
# Copyright (c) Meta, Inc. and its affiliates.
# All rights reserved.

# This source code is licensed under the license found in the
# LICENSE file in the root directory of this source tree.

import unittest

import numpy as np
Expand Down
7 changes: 7 additions & 0 deletions tests/test_points_allocators.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
#!/usr/bin/env python3
# Copyright (c) Meta, Inc. and its affiliates.
# All rights reserved.

# This source code is licensed under the license found in the
# LICENSE file in the root directory of this source tree.

import unittest

import gpytorch
Expand Down
1 change: 1 addition & 0 deletions tests/test_transforms.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

# This source code is licensed under the license found in the
# LICENSE file in the root directory of this source tree.

import unittest

import numpy as np
Expand Down

0 comments on commit e30754c

Please sign in to comment.