mirror of
https://github.com/zama-ai/concrete.git
synced 2026-02-09 03:55:04 -05:00
refacto: fix missed renaming after bad merge
This commit is contained in:
@@ -42,7 +42,7 @@ class NPTracer(BaseTracer):
|
||||
tracing_func = self.get_tracing_func_for_np_function(ufunc)
|
||||
assert (
|
||||
len(kwargs) == 0
|
||||
), f"hnumpy does not support **kwargs currently for numpy ufuncs, ufunc: {ufunc}"
|
||||
), f"**kwargs are currently not supported for numpy ufuncs, ufunc: {ufunc}"
|
||||
return tracing_func(*input_tracers, **kwargs)
|
||||
raise NotImplementedError("Only __call__ method is supported currently")
|
||||
|
||||
|
||||
@@ -280,7 +280,7 @@ def test_trace_numpy_supported_ufuncs(inputs, expected_output_node, expected_out
|
||||
assert op_graph.output_nodes[0].outputs[0] == expected_output_value
|
||||
|
||||
|
||||
def test_trace_hnumpy_ufuncs_not_supported():
|
||||
def test_trace_numpy_ufuncs_not_supported():
|
||||
"""Testing a failure case of trace_numpy_function"""
|
||||
inputs = {"x": EncryptedScalar(Integer(128, is_signed=True))}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user