Skip to content

Commit

Permalink
Resolve QuIC Repolinter issue: Copyright and licences updated.
Browse files Browse the repository at this point in the history
  • Loading branch information
quic-vraidu committed Sep 25, 2024
1 parent de6cfc1 commit 7eeb9dc
Show file tree
Hide file tree
Showing 127 changed files with 841 additions and 62 deletions.
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
//============================================================================
// Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
// SPDX-License-Identifier: BSD-3-Clause-Clear
//============================================================================

package com.example.automatic_speech_recognition;

import android.content.Context;
Expand All @@ -23,4 +28,4 @@ public void useAppContext() {
Context appContext = InstrumentationRegistry.getInstrumentation().getTargetContext();
assertEquals("com.example.automatic_speech_recognition", appContext.getPackageName());
}
}
}
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
//============================================================================
// Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
// SPDX-License-Identifier: BSD-3-Clause-Clear
//============================================================================

//
// Created by shubpate on 12/11/2021.
//
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
//============================================================================
// Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
// SPDX-License-Identifier: BSD-3-Clause-Clear
//============================================================================

#include <jni.h>
#include <string>
#include <iostream>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
//============================================================================
// Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
// SPDX-License-Identifier: BSD-3-Clause-Clear
//============================================================================

#include <jni.h>
#include <string>
#include <iostream>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
//============================================================================
// Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
// SPDX-License-Identifier: BSD-3-Clause-Clear
//============================================================================

#include <jni.h>
#include <string>
#include <android/asset_manager.h>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,50 +1,7 @@
/* Copyright 2019 The TensorFlow Authors. 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.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
==============================================================================*/

/* Changes from QuIC are provided under the following license:
Copyright (c) 2022, Qualcomm Innovation Center, Inc. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice,
this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
3. Neither the name of the copyright holder nor the names of its contributors
may be used to endorse or promote products derived from this software
without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.
SPDX-License-Identifier: BSD-3-Clause
==============================================================================*/
//============================================================================
// Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
// SPDX-License-Identifier: BSD-3-Clause-Clear
//============================================================================

package com.example.automatic_speech_recognition;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
//============================================================================
// Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
// SPDX-License-Identifier: BSD-3-Clause-Clear
//============================================================================

package com.example.automatic_speech_recognition;


Expand Down Expand Up @@ -239,4 +244,4 @@ private void stopRecording() {
}
}

}
}
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
#============================================================================
# Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
# SPDX-License-Identifier: BSD-3-Clause-Clear
#============================================================================

import os
import torch
import numpy as np
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
//============================================================================
// Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
// SPDX-License-Identifier: BSD-3-Clause-Clear
//============================================================================

package com.example.automatic_speech_recognition;

import org.junit.Test;
Expand All @@ -14,4 +19,4 @@ public class ExampleUnitTest {
public void addition_isCorrect() {
assertEquals(4, 2 + 2);
}
}
}
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
#============================================================================
# Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
# SPDX-License-Identifier: BSD-3-Clause-Clear
#============================================================================

class CustomHardsigmoid(Module):
__constants__ = ['inplace']
inplace: bool
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
#============================================================================
# Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
# SPDX-License-Identifier: BSD-3-Clause-Clear
#============================================================================

class CustomHardswish(Module):
__constants__ = ['inplace']

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
#============================================================================
# Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
# SPDX-License-Identifier: BSD-3-Clause-Clear
#============================================================================

import os
import sys
import torch
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
#============================================================================
# Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
# SPDX-License-Identifier: BSD-3-Clause-Clear
#============================================================================

function sample_fun
{
export SNPE_TARGET_ARCH="aarch64-android-clang8.0"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
//============================================================================
// Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
// SPDX-License-Identifier: BSD-3-Clause-Clear
//============================================================================

//==============================================================================
// Auto Generated Code for SeluUdoPackage
//==============================================================================
Expand Down
5 changes: 5 additions & 0 deletions QHCI/hvx_cv/qhci_api_generator.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
#============================================================================
# Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
# SPDX-License-Identifier: BSD-3-Clause-Clear
#============================================================================

import os
import sys
import re
Expand Down
5 changes: 5 additions & 0 deletions QHCI/hvx_cv/src/FFT16_16/cpu/FFT16_16.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
//============================================================================
// Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
// SPDX-License-Identifier: BSD-3-Clause-Clear
//============================================================================

#include "QhciBase.hpp"
#include <math.h>

Expand Down
4 changes: 4 additions & 0 deletions QHCI/hvx_cv/src/FFT16_16/dsp/hexagon_hvx.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
//============================================================================
// Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
// SPDX-License-Identifier: BSD-3-Clause-Clear
//============================================================================

#ifndef __HEXAGON_HVX__
#define __HEXAGON_HVX__
Expand Down
4 changes: 4 additions & 0 deletions QHCI/hvx_cv/src/FFT16_16/dsp/rfft16x16_asm.S
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
//============================================================================
// Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
// SPDX-License-Identifier: BSD-3-Clause-Clear
//============================================================================

.file "rfft16x16.s"

Expand Down
5 changes: 5 additions & 0 deletions QHCI/hvx_cv/src/base/cpu/QhciBase.hpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
//============================================================================
// Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
// SPDX-License-Identifier: BSD-3-Clause-Clear
//============================================================================

#pragma once

#include <iostream>
Expand Down
5 changes: 5 additions & 0 deletions QHCI/hvx_cv/src/div16/cpu/div16.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
//============================================================================
// Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
// SPDX-License-Identifier: BSD-3-Clause-Clear
//============================================================================

#include "QhciBase.hpp"

#define FEATURE_NAME "div16"
Expand Down
4 changes: 4 additions & 0 deletions QHCI/hvx_cv/src/div16/dsp/div_fractional_asm.S
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
//============================================================================
// Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
// SPDX-License-Identifier: BSD-3-Clause-Clear
//============================================================================

/*___________________________________________________________________________
| |
Expand Down
4 changes: 4 additions & 0 deletions QHCI/hvx_cv/src/div16/dsp/div_integer_denome0_asm.S
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
//============================================================================
// Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
// SPDX-License-Identifier: BSD-3-Clause-Clear
//============================================================================

/*___________________________________________________________________________
| |
Expand Down
5 changes: 5 additions & 0 deletions QHCI/hvx_cv/src/div16/dsp/div_integer_signed_asm.S
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
//============================================================================
// Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
// SPDX-License-Identifier: BSD-3-Clause-Clear
//============================================================================

/*___________________________________________________________________________
| |
| Function Name : div_integer_signed |
Expand Down
5 changes: 5 additions & 0 deletions QHCI/hvx_cv/src/dummy/cpu/dummy.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
//============================================================================
// Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
// SPDX-License-Identifier: BSD-3-Clause-Clear
//============================================================================

#include "QhciBase.hpp"

#define FEATURE_NAME "dummy"
Expand Down
5 changes: 5 additions & 0 deletions QHCI/hvx_cv/src/gaussian5x5/cpu/gaussian5x5.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
//============================================================================
// Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
// SPDX-License-Identifier: BSD-3-Clause-Clear
//============================================================================

#include "QhciBase.hpp"
#define FEATURE_NAME "gaussian5x5"

Expand Down
5 changes: 5 additions & 0 deletions QHCI/hvx_cv/src/gaussian5x5/dsp/gaussian5x5_C_intrinsics.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
//============================================================================
// Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
// SPDX-License-Identifier: BSD-3-Clause-Clear
//============================================================================

#include "hexagon_types.h"
#include "hexagon_protos.h" // part of Q6 tools, contains intrinsics definitions

Expand Down
5 changes: 5 additions & 0 deletions QHCI/hvx_cv/src/matmul/cpu/matmul.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
//============================================================================
// Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
// SPDX-License-Identifier: BSD-3-Clause-Clear
//============================================================================

#include "QhciBase.hpp"

#define FEATURE_NAME "matmul"
Expand Down
5 changes: 5 additions & 0 deletions QHCI/hvx_cv/src/rgb2yuv/cpu/rgb2yuv.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
//============================================================================
// Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
// SPDX-License-Identifier: BSD-3-Clause-Clear
//============================================================================

#include "QhciBase.hpp"

#define FEATURE_NAME "rgb2yuv"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
//============================================================================
// Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
// SPDX-License-Identifier: BSD-3-Clause-Clear
//============================================================================

//==============================================================================
// Auto Generated Code for qhci
//==============================================================================
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
//============================================================================
// Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
// SPDX-License-Identifier: BSD-3-Clause-Clear
//============================================================================

//==============================================================================
// Auto Generated Code for qhci
//==============================================================================
Expand Down
5 changes: 5 additions & 0 deletions QHCI/qnn_udo/InputPack/run_qnn_2_12.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
#============================================================================
# Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
# SPDX-License-Identifier: BSD-3-Clause-Clear
#============================================================================

QUANT_DIR=qnn_libs

compile_udo(){
Expand Down
5 changes: 5 additions & 0 deletions QHCI/qnn_udo/InputPack/udo_generate.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
#============================================================================
# Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
# SPDX-License-Identifier: BSD-3-Clause-Clear
#============================================================================

import numpy as np
import onnx
from onnx import helper
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
//============================================================================
// Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
// SPDX-License-Identifier: BSD-3-Clause-Clear
//============================================================================

//==============================================================================
// Auto Generated Code for RandomNormalLike
//==============================================================================
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
//============================================================================
// Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
// SPDX-License-Identifier: BSD-3-Clause-Clear
//============================================================================

//==============================================================================
// Auto Generated Code for RandomNormalLike
//==============================================================================
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
//============================================================================
// Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
// SPDX-License-Identifier: BSD-3-Clause-Clear
//============================================================================

//==============================================================================
// Auto Generated Code for RandomNormalLike
//==============================================================================
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
//============================================================================
// Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
// SPDX-License-Identifier: BSD-3-Clause-Clear
//============================================================================

//==============================================================================
// Auto Generated Code for RandomNormalLike
//==============================================================================
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
//============================================================================
// Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
// SPDX-License-Identifier: BSD-3-Clause-Clear
//============================================================================

//
// Created by shubpate on 12/11/2021.
//
Expand Down
Loading

0 comments on commit 7eeb9dc

Please sign in to comment.