* Adds base class and first test for tflite_layer tests * adds layer tests for unary ops * adds functionality to get tensors from ops * 1. adds functionality to use custom funcs for input generation 2. removed UNIQUE op from testing ops * adds functionality to use custom dtypes * Cast operation support * Enhanced tfl layer tests * Trigger tfl layer tests in .ci * Apply suggestions from code review --------- Co-authored-by: Evgenya Stepyreva <evgenya.stepyreva@intel.com> Co-authored-by: Evgenya Stepyreva <eva.my.link@gmail.com> Co-authored-by: missjane <estepyreva@gmail.com>
13 lines
358 B
Python
13 lines
358 B
Python
# Copyright (C) 2018-2023 Intel Corporation
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
import inspect
|
|
|
|
from common.layer_test_class import get_params
|
|
|
|
|
|
def pytest_generate_tests(metafunc):
|
|
test_gen_attrs_names = list(inspect.signature(get_params).parameters)
|
|
params = get_params()
|
|
metafunc.parametrize(test_gen_attrs_names, params, scope="function")
|