From 576365771547c2fecfad272efc93b090b545b6bb Mon Sep 17 00:00:00 2001 From: PeixuanZuo <94887879+PeixuanZuo@users.noreply.github.com> Date: Wed, 16 Mar 2022 21:05:18 +0800 Subject: [PATCH] [UPDATE] Add prefix in front of the file (#10884) --- onnxruntime/python/tools/microbench/attention.py | 5 +++++ onnxruntime/python/tools/microbench/benchmark.py | 5 +++++ onnxruntime/python/tools/microbench/cast.py | 5 +++++ onnxruntime/python/tools/microbench/fast_gelu.py | 5 +++++ onnxruntime/python/tools/microbench/matmul.py | 5 +++++ onnxruntime/python/tools/microbench/skip_layer_norm.py | 5 +++++ 6 files changed, 30 insertions(+) diff --git a/onnxruntime/python/tools/microbench/attention.py b/onnxruntime/python/tools/microbench/attention.py index 8e5e0df584..bc9daae445 100644 --- a/onnxruntime/python/tools/microbench/attention.py +++ b/onnxruntime/python/tools/microbench/attention.py @@ -1,3 +1,8 @@ +#------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. +#-------------------------------------------------------------------------- + import argparse from dataclasses import dataclass import numpy as np diff --git a/onnxruntime/python/tools/microbench/benchmark.py b/onnxruntime/python/tools/microbench/benchmark.py index d5a658ed2e..86fa98e153 100644 --- a/onnxruntime/python/tools/microbench/benchmark.py +++ b/onnxruntime/python/tools/microbench/benchmark.py @@ -1,3 +1,8 @@ +#------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. +#-------------------------------------------------------------------------- + from abc import ABC, abstractmethod from argparse import ArgumentParser import logging diff --git a/onnxruntime/python/tools/microbench/cast.py b/onnxruntime/python/tools/microbench/cast.py index 9f1ffae9a4..d6ae83a236 100644 --- a/onnxruntime/python/tools/microbench/cast.py +++ b/onnxruntime/python/tools/microbench/cast.py @@ -1,3 +1,8 @@ +#------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. +#-------------------------------------------------------------------------- + import argparse from dataclasses import dataclass import numpy as np diff --git a/onnxruntime/python/tools/microbench/fast_gelu.py b/onnxruntime/python/tools/microbench/fast_gelu.py index 3014cf6234..2d50e256a0 100644 --- a/onnxruntime/python/tools/microbench/fast_gelu.py +++ b/onnxruntime/python/tools/microbench/fast_gelu.py @@ -1,3 +1,8 @@ +#------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. +#-------------------------------------------------------------------------- + import argparse from dataclasses import dataclass import numpy as np diff --git a/onnxruntime/python/tools/microbench/matmul.py b/onnxruntime/python/tools/microbench/matmul.py index 8c091d97f0..1de45ee5c7 100644 --- a/onnxruntime/python/tools/microbench/matmul.py +++ b/onnxruntime/python/tools/microbench/matmul.py @@ -1,3 +1,8 @@ +#------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. +#-------------------------------------------------------------------------- + import argparse from dataclasses import dataclass import numpy as np diff --git a/onnxruntime/python/tools/microbench/skip_layer_norm.py b/onnxruntime/python/tools/microbench/skip_layer_norm.py index 16446d70ed..b6f8c5f9e1 100644 --- a/onnxruntime/python/tools/microbench/skip_layer_norm.py +++ b/onnxruntime/python/tools/microbench/skip_layer_norm.py @@ -1,3 +1,8 @@ +#------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. +#-------------------------------------------------------------------------- + import argparse from dataclasses import dataclass import numpy as np