layers -> xlayers

This commit is contained in:
D-X-Y
2021-03-18 20:15:50 +08:00
parent eabdd21d97
commit badb6cf51d
16 changed files with 140 additions and 30 deletions

11
lib/xlayers/__init__.py Normal file
View File

@@ -0,0 +1,11 @@
#####################################################
# Copyright (c) Xuanyi Dong [GitHub D-X-Y], 2019.01 #
#####################################################
# This file is expected to be self-contained, expect
# for importing from spaces to include search space.
#####################################################
from .drop import DropBlock2d, DropPath
from .mlp import MLP
from .weight_init import trunc_normal_
from .positional_embedding import PositionalEncoder