add processing file

This commit is contained in:
Duc-Viet Hoang 2025-05-19 22:39:40 +07:00
parent b9fd337d01
commit a11c71e5b1
4 changed files with 1225 additions and 1 deletions

View File

@ -107,6 +107,7 @@ if TYPE_CHECKING:
from .fastspeech2_conformer import *
from .flaubert import *
from .flava import *
from .florence2 import *
from .fnet import *
from .focalnet import *
from .fsmt import *

View File

@ -20,6 +20,7 @@ from ...utils.import_utils import define_import_structure
if TYPE_CHECKING:
from .configuration_florence2 import *
from .modeling_florence2 import *
from .processing_florence2 import *
else:
import sys

View File

@ -520,7 +520,7 @@ def _trunc_normal_(tensor, mean, std, a, b):
def trunc_normal_(tensor, mean=0.0, std=1.0, a=-2.0, b=2.0):
# type: (Tensor, float, float, float, float) -> Tensor
# type: (torch.Tensor, float, float, float, float) -> torch.Tensor
r"""Fills the input Tensor with values drawn from a truncated
normal distribution. The values are effectively drawn from the
normal distribution :math:`\mathcal{N}(\text{mean}, \text{std}^2)`

File diff suppressed because it is too large Load Diff