File tree Expand file tree Collapse file tree 3 files changed +18
-5
lines changed Expand file tree Collapse file tree 3 files changed +18
-5
lines changed Original file line number Diff line number Diff line change
1
+ # Copyright (c) Meta Platforms, Inc. and affiliates.
2
+ # All rights reserved.
3
+ #
4
+ # This source code is licensed under the BSD-style license found in the
5
+ # LICENSE file in the root directory of this source tree.
6
+
7
+ from .utils import export_to_edge , export_to_exec_prog , save_pte_program
8
+
9
+ __all__ = [
10
+ "export_to_edge" ,
11
+ "export_to_exec_prog" ,
12
+ "save_pte_program" ,
13
+ ]
Original file line number Diff line number Diff line change 4
4
# This source code is licensed under the BSD-style license found in the
5
5
# LICENSE file in the root directory of this source tree.
6
6
7
+ from .model_factory import EagerModelFactory
7
8
8
9
MODEL_NAME_TO_MODEL = {
9
10
"mul" : ("toy_model" , "MulModule" ),
21
22
"resnet50" : ("resnet" , "ResNet50Model" ),
22
23
}
23
24
24
-
25
- __all__ = [MODEL_NAME_TO_MODEL ]
25
+ __all__ = [
26
+ "EagerModelFactory" ,
27
+ "MODEL_NAME_TO_MODEL" ,
28
+ ]
Original file line number Diff line number Diff line change 12
12
13
13
from ..model_base import EagerModelBase
14
14
15
- FORMAT = "[%(filename)s:%(lineno)s] %(message)s"
16
- logging .basicConfig (format = FORMAT )
17
-
18
15
19
16
class MobileBertModelExample (EagerModelBase ):
20
17
def __init__ (self ):
You can’t perform that action at this time.
0 commit comments