"vscode:/vscode.git/clone" did not exist on "757223b352896a9b2b9df46c95c0afcaa0cdf9d4"
Commit e95d43c6 authored by generatedunixname89002005287564's avatar generatedunixname89002005287564 Committed by Facebook GitHub Bot
Browse files

Add missing Pyre mode headers] [batch:9/48] [shard:2/N]

Reviewed By: ViniGupta08

Differential Revision: D69296397

fbshipit-source-id: f7b014bcaa0c4fecee13acf1aa4b75b3fe0ebb5e
parent e2408c69
...@@ -3,6 +3,8 @@ ...@@ -3,6 +3,8 @@
# This source code is licensed under the MIT license found in the # This source code is licensed under the MIT license found in the
# LICENSE file in the root directory of this source tree. # LICENSE file in the root directory of this source tree.
# pyre-strict
from . import utils # noqa # noqa from . import utils # noqa # noqa
from .edge_grad_estimator import edge_grad_estimator, edge_grad_estimator_ref # noqa from .edge_grad_estimator import edge_grad_estimator, edge_grad_estimator_ref # noqa
from .grid_scatter import grid_scatter, grid_scatter_ref # noqa from .grid_scatter import grid_scatter, grid_scatter_ref # noqa
......
...@@ -3,6 +3,8 @@ ...@@ -3,6 +3,8 @@
# This source code is licensed under the MIT license found in the # This source code is licensed under the MIT license found in the
# LICENSE file in the root directory of this source tree. # LICENSE file in the root directory of this source tree.
# pyre-strict
from typing import Callable, Optional, Tuple from typing import Callable, Optional, Tuple
import torch as th import torch as th
......
...@@ -3,6 +3,8 @@ ...@@ -3,6 +3,8 @@
# This source code is licensed under the MIT license found in the # This source code is licensed under the MIT license found in the
# LICENSE file in the root directory of this source tree. # LICENSE file in the root directory of this source tree.
# pyre-strict
from typing import Optional from typing import Optional
import torch as th import torch as th
......
...@@ -3,6 +3,8 @@ ...@@ -3,6 +3,8 @@
# This source code is licensed under the MIT license found in the # This source code is licensed under the MIT license found in the
# LICENSE file in the root directory of this source tree. # LICENSE file in the root directory of this source tree.
# pyre-strict
""" """
``drtk.interpolate`` module provides functions for differentiable interpolation of vertex ``drtk.interpolate`` module provides functions for differentiable interpolation of vertex
attributes across the fragments, e.i. pixels covered by the primitive. attributes across the fragments, e.i. pixels covered by the primitive.
......
...@@ -3,6 +3,8 @@ ...@@ -3,6 +3,8 @@
# This source code is licensed under the MIT license found in the # This source code is licensed under the MIT license found in the
# LICENSE file in the root directory of this source tree. # LICENSE file in the root directory of this source tree.
# pyre-strict
from typing import List, Optional, Tuple from typing import List, Optional, Tuple
import torch as th import torch as th
......
...@@ -3,6 +3,8 @@ ...@@ -3,6 +3,8 @@
# This source code is licensed under the MIT license found in the # This source code is licensed under the MIT license found in the
# LICENSE file in the root directory of this source tree. # LICENSE file in the root directory of this source tree.
# pyre-strict
import torch as th import torch as th
from drtk.utils import load_torch_ops from drtk.utils import load_torch_ops
......
...@@ -3,6 +3,8 @@ ...@@ -3,6 +3,8 @@
# This source code is licensed under the MIT license found in the # This source code is licensed under the MIT license found in the
# LICENSE file in the root directory of this source tree. # LICENSE file in the root directory of this source tree.
# pyre-strict
from typing import Tuple from typing import Tuple
import torch as th import torch as th
......
...@@ -3,6 +3,8 @@ ...@@ -3,6 +3,8 @@
# This source code is licensed under the MIT license found in the # This source code is licensed under the MIT license found in the
# LICENSE file in the root directory of this source tree. # LICENSE file in the root directory of this source tree.
# pyre-strict
from functools import lru_cache from functools import lru_cache
from typing import Tuple from typing import Tuple
......
...@@ -3,6 +3,8 @@ ...@@ -3,6 +3,8 @@
# This source code is licensed under the MIT license found in the # This source code is licensed under the MIT license found in the
# LICENSE file in the root directory of this source tree. # LICENSE file in the root directory of this source tree.
# pyre-strict
from typing import Optional, Sequence from typing import Optional, Sequence
import torch as th import torch as th
......
...@@ -3,6 +3,8 @@ ...@@ -3,6 +3,8 @@
# This source code is licensed under the MIT license found in the # This source code is licensed under the MIT license found in the
# LICENSE file in the root directory of this source tree. # LICENSE file in the root directory of this source tree.
# pyre-strict
from typing import List, Optional, Tuple, Union from typing import List, Optional, Tuple, Union
import torch as th import torch as th
......
...@@ -3,6 +3,8 @@ ...@@ -3,6 +3,8 @@
# This source code is licensed under the MIT license found in the # This source code is licensed under the MIT license found in the
# LICENSE file in the root directory of this source tree. # LICENSE file in the root directory of this source tree.
# pyre-strict
from drtk.utils.geometry import ( # noqa from drtk.utils.geometry import ( # noqa
face_dpdt, # noqa face_dpdt, # noqa
face_info, # noqa face_info, # noqa
......
...@@ -3,6 +3,8 @@ ...@@ -3,6 +3,8 @@
# This source code is licensed under the MIT license found in the # This source code is licensed under the MIT license found in the
# LICENSE file in the root directory of this source tree. # LICENSE file in the root directory of this source tree.
# pyre-strict
from typing import Dict, List, Optional, Tuple, Union from typing import Dict, List, Optional, Tuple, Union
import torch as th import torch as th
......
...@@ -3,6 +3,8 @@ ...@@ -3,6 +3,8 @@
# This source code is licensed under the MIT license found in the # This source code is licensed under the MIT license found in the
# LICENSE file in the root directory of this source tree. # LICENSE file in the root directory of this source tree.
# pyre-strict
import torch as th import torch as th
......
...@@ -3,6 +3,8 @@ ...@@ -3,6 +3,8 @@
# This source code is licensed under the MIT license found in the # This source code is licensed under the MIT license found in the
# LICENSE file in the root directory of this source tree. # LICENSE file in the root directory of this source tree.
# pyre-strict
import importlib import importlib
......
...@@ -3,6 +3,8 @@ ...@@ -3,6 +3,8 @@
# This source code is licensed under the MIT license found in the # This source code is licensed under the MIT license found in the
# LICENSE file in the root directory of this source tree. # LICENSE file in the root directory of this source tree.
# pyre-strict
from typing import List, Optional, Set, Tuple, Union from typing import List, Optional, Set, Tuple, Union
import numpy as np import numpy as np
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment