forked from pyg-team/pytorch-frame
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path__init__.py
60 lines (56 loc) · 1.08 KB
/
__init__.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
r"""Utility package."""
from ._stype import (
stype,
numerical,
categorical,
text_embedded,
text_tokenized,
multicategorical,
sequence_numerical,
timestamp,
image_embedded,
embedding,
)
from .data import TensorFrame
from .typing import (
TaskType,
Metric,
DataFrame,
NAStrategy,
WITH_PT24,
)
from torch_frame.utils import save, load, cat # noqa
import torch_frame.data # noqa
import torch_frame.datasets # noqa
import torch_frame.nn # noqa
import torch_frame.gbdt # noqa
if WITH_PT24:
import torch
torch.serialization.add_safe_globals([
stype,
torch_frame.data.stats.StatType,
])
# https://peps.python.org/pep-0440/
__version__ = '0.3.0.dev0'
__all__ = [
'DataFrame',
'stype',
'numerical',
'categorical',
'text_embedded',
'text_tokenized',
'multicategorical',
'sequence_numerical',
'timestamp',
'image_embedded',
'embedding',
'TaskType',
'Metric',
'NAStrategy',
'TensorFrame',
'save',
'load',
'cat',
'torch_frame',
'__version__',
]