提交 ad156565 编写于 作者: O ouyangyu

change import oneflow.core to oneflow.compatible.single_client.core

上级 a11acfac
......@@ -104,7 +104,7 @@ import glob
import numpy as np
import six
import cv2
import oneflow.core.record.record_pb2 as of_record
import oneflow.compatible.single_client.core.record.record_pb2 as of_record
import struct
"""
......
......@@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
limitations under the License.
"""
import oneflow.compatible.single_client as flow
import oneflow.core.operator.op_conf_pb2 as op_conf_util
import oneflow.compatible.single_client.core.operator.op_conf_pb2 as op_conf_util
import math
class BertBackbone(object):
......
......@@ -15,7 +15,7 @@ limitations under the License.
"""
import oneflow.compatible.single_client as flow
import bert as bert_util
import oneflow.core.operator.op_conf_pb2 as op_conf_util
import oneflow.compatible.single_client.core.operator.op_conf_pb2 as op_conf_util
def PreTrain(
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册