mirror of
https://github.com/luxfhe/ml-sdk.git
synced 2026-10-30 18:13:04 +00:00
Machine Learning with FHE - fork of Zama Concrete-ML - Built-in FHE-friendly ML models - scikit-learn compatible API - PyTorch model conversion - Quantization-aware training
23 lines
474 B
Python
23 lines
474 B
Python
"""Testing the version of the package"""
|
|
|
|
import concrete
|
|
from concrete import ml
|
|
|
|
|
|
def check_version(version):
|
|
"""Check that it looks good"""
|
|
print("version", version)
|
|
assert version.count(".") == 2
|
|
|
|
|
|
def test_version_1():
|
|
"""Test that concrete.ml.__version__ exists"""
|
|
version = concrete.ml.__version__
|
|
check_version(version)
|
|
|
|
|
|
def test_version_2():
|
|
"""Test that ml.__version__ exists"""
|
|
version = ml.__version__
|
|
check_version(version)
|