Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix black, flake8 and isort
  • Loading branch information
Alex Sablayrolles committed Jul 4, 2022
commit 18b8a0d87afb7ddc161f400176067c31ae4aa0df
7 changes: 4 additions & 3 deletions opacus/tests/grad_samples/conv2d_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,15 @@

from typing import Callable

import hypothesis.strategies as st
import torch
import torch.nn as nn
from hypothesis import given, settings
from opacus.utils.tensor_utils import unfold2d
from torch.testing import assert_allclose

import hypothesis.strategies as st
from hypothesis import given, settings

from .common import GradSampleHooks_test, expander, shrinker
from opacus.utils.tensor_utils import unfold2d


class Conv2d_test(GradSampleHooks_test):
Expand Down