Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

modified: tests/nn/modules/test_linearactivation.py && zeta/__init__.py #66

Closed
wants to merge 0 commits into from

Conversation

vyomakesh09
Copy link
Contributor

modified: tests/nn/modules/test_linearactivation.py
renamed: tests/quant/test_bitlinear.py -> tests/quant/test_bitlinear_renamed.py
modified: zeta/init.py

def test_LinearActivation_forward_error(input_tensor):
"""Test if the forward method of LinearActivation class raises an error when input tensor is not valid."""
@pytest.mark.parametrize("invalid_input", [[1, 2, "a"], [1.0, "b", 3]])
def test_LinearActivation_forward_error(invalid_input):

Check warning

Code scanning / Pylintpython3 (reported by Codacy)

Function name "test_LinearActivation_forward_error" doesn't conform to snake_case naming style

Function name "test_LinearActivation_forward_error" doesn't conform to snake_case naming style
"""Test if the forward method of LinearActivation class raises an error when input tensor is not valid."""
@pytest.mark.parametrize("invalid_input", [[1, 2, "a"], [1.0, "b", 3]])
def test_LinearActivation_forward_error(invalid_input):
"""Test if the forward method of LinearActivation class raises an error when input is not a valid tensor."""

Check warning

Code scanning / Pylintpython3 (reported by Codacy)

Line too long (112/100)

Line too long (112/100)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant