!1525 Move graph_map_schema.py to example directory

Merge pull request !1525 from heleiwang/mv_schema_to_example
pull/1525/MERGE
mindspore-ci-bot 5 years ago committed by Gitee
commit 6e25c49cb2

@ -24,7 +24,7 @@ from importlib import import_module
from multiprocessing import Pool
from mindspore.mindrecord import FileWriter
from mindspore.mindrecord import GraphMapSchema
from graph_map_schema import GraphMapSchema
def exec_task(task_id, parallel_writer=True):

@ -32,7 +32,6 @@ from .mindpage import MindPage
from .shardutils import SUCCESS, FAILED
from .tools.cifar10_to_mr import Cifar10ToMR
from .tools.cifar100_to_mr import Cifar100ToMR
from .tools.graph_map_schema import GraphMapSchema
from .tools.imagenet_to_mr import ImageNetToMR
from .tools.mnist_to_mr import MnistToMR

@ -29,10 +29,9 @@ from .common.exceptions import *
from .shardutils import SUCCESS, FAILED
from .tools.cifar10_to_mr import Cifar10ToMR
from .tools.cifar100_to_mr import Cifar100ToMR
from .tools.graph_map_schema import GraphMapSchema
from .tools.imagenet_to_mr import ImageNetToMR
from .tools.mnist_to_mr import MnistToMR
__all__ = ['FileWriter', 'FileReader', 'MindPage', 'GraphMapSchema',
__all__ = ['FileWriter', 'FileReader', 'MindPage',
'Cifar10ToMR', 'Cifar100ToMR', 'ImageNetToMR', 'MnistToMR',
'SUCCESS', 'FAILED']

Loading…
Cancel
Save