diff --git a/parser/common/proto_file_parser.h b/parser/common/proto_file_parser.h index 55f32a5..3441c89 100644 --- a/parser/common/proto_file_parser.h +++ b/parser/common/proto_file_parser.h @@ -1,5 +1,5 @@ /** - * Copyright 2020 Huawei Technologies Co., Ltd + * Copyright (c) Huawei Technologies Co., Ltd. 2022. All rights reserved. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/parser/common/prototype_pass_manager.cc b/parser/common/prototype_pass_manager.cc index b54702c..57d2110 100644 --- a/parser/common/prototype_pass_manager.cc +++ b/parser/common/prototype_pass_manager.cc @@ -1,5 +1,5 @@ /** - * Copyright 2021 Huawei Technologies Co., Ltd + * Copyright (c) Huawei Technologies Co., Ltd. 2022. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/parser/common/prototype_pass_manager.h b/parser/common/prototype_pass_manager.h index 028ffbe..97b4f74 100644 --- a/parser/common/prototype_pass_manager.h +++ b/parser/common/prototype_pass_manager.h @@ -1,5 +1,5 @@ /** - * Copyright 2021 Huawei Technologies Co., Ltd + * Copyright (c) Huawei Technologies Co., Ltd. 2022. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/parser/common/register_tbe.cc b/parser/common/register_tbe.cc index 9ccb6b0..83f9f44 100644 --- a/parser/common/register_tbe.cc +++ b/parser/common/register_tbe.cc @@ -42,7 +42,7 @@ FMK_FUNC_HOST_VISIBILITY OpRegistrationTbe *OpRegistrationTbe::Instance() { return &instance; } -bool OpRegistrationTbe::Finalize(const OpRegistrationData ®_data, bool is_train) onst { +bool OpRegistrationTbe::Finalize(const OpRegistrationData ®_data, bool is_train) const { static std::map *> op_map = {{domi::CAFFE, &caffe_op_map}}; if (is_train) { op_map[domi::TENSORFLOW] = &tensorflow_train_op_map;