compiled-knowledge 4.0.0a23__cp312-cp312-macosx_10_13_x86_64.whl → 4.0.0a24__cp312-cp312-macosx_10_13_x86_64.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of compiled-knowledge might be problematic. Click here for more details.
- ck/circuit/_circuit_cy.c +1 -1
- ck/circuit/_circuit_cy.cpython-312-darwin.so +0 -0
- ck/circuit_compiler/circuit_compiler.py +3 -2
- ck/circuit_compiler/cython_vm_compiler/_compiler.c +152 -152
- ck/circuit_compiler/cython_vm_compiler/_compiler.cpython-312-darwin.so +0 -0
- ck/circuit_compiler/support/circuit_analyser/_circuit_analyser_cy.c +1 -1
- ck/circuit_compiler/support/circuit_analyser/_circuit_analyser_cy.cpython-312-darwin.so +0 -0
- ck/pgm.py +100 -102
- ck/pgm_compiler/pgm_compiler.py +1 -1
- ck/pgm_compiler/support/circuit_table/_circuit_table_cy.c +1 -1
- ck/pgm_compiler/support/circuit_table/_circuit_table_cy.cpython-312-darwin.so +0 -0
- ck/pgm_compiler/support/join_tree.py +3 -3
- ck/probability/empirical_probability_space.py +4 -3
- ck/probability/pgm_probability_space.py +7 -3
- ck/probability/probability_space.py +21 -15
- ck/sampling/sampler_support.py +8 -5
- {compiled_knowledge-4.0.0a23.dist-info → compiled_knowledge-4.0.0a24.dist-info}/METADATA +1 -1
- {compiled_knowledge-4.0.0a23.dist-info → compiled_knowledge-4.0.0a24.dist-info}/RECORD +21 -21
- {compiled_knowledge-4.0.0a23.dist-info → compiled_knowledge-4.0.0a24.dist-info}/WHEEL +0 -0
- {compiled_knowledge-4.0.0a23.dist-info → compiled_knowledge-4.0.0a24.dist-info}/licenses/LICENSE.txt +0 -0
- {compiled_knowledge-4.0.0a23.dist-info → compiled_knowledge-4.0.0a24.dist-info}/top_level.txt +0 -0
ck/circuit/_circuit_cy.c
CHANGED
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"-O3"
|
|
16
16
|
],
|
|
17
17
|
"include_dirs": [
|
|
18
|
-
"/private/var/folders/vk/nx37ffx50hv5djclhltc26vw0000gn/T/build-env-
|
|
18
|
+
"/private/var/folders/vk/nx37ffx50hv5djclhltc26vw0000gn/T/build-env-ru8bnhlf/lib/python3.12/site-packages/numpy/_core/include"
|
|
19
19
|
],
|
|
20
20
|
"name": "ck.circuit._circuit_cy",
|
|
21
21
|
"sources": [
|
|
Binary file
|
|
@@ -13,12 +13,13 @@ class CircuitCompiler(Protocol):
|
|
|
13
13
|
circuit: Optional[Circuit] = None,
|
|
14
14
|
) -> RawProgram:
|
|
15
15
|
"""
|
|
16
|
-
A
|
|
16
|
+
A PGM compiler compiles selected results nodes of an arithmetic circuit to a program.
|
|
17
17
|
|
|
18
18
|
Args:
|
|
19
19
|
*result: one or more circuit of nodes defining the result of the program function.
|
|
20
20
|
All result node must be from the same circuit.
|
|
21
|
-
input_vars: how to determine the input variables.
|
|
21
|
+
input_vars: how to determine the input variables. Either a sequence of VarNodes, or a single
|
|
22
|
+
VarNode, or a `InferVars` member. The default is to use all circuit variables, in index order.
|
|
22
23
|
circuit: optionally explicitly specify the Circuit (mandatory if no result nodes are provided).
|
|
23
24
|
|
|
24
25
|
Returns:
|