We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Introduction When user-custom structure is needed, then crash happens in case of ccore=True.
ccore=True
Example:
amount_neurons = 8 network = sync_network(amount_neurons, type_conn=conn_type.DYNAMIC, ccore=True) # build circle structure for i in range(1, len(network)): network.set_connection(i - 1, i) network.set_connection(i, i - 1) network.set_connection(0, amount_neurons - 1) network.set_connection(amount_neurons - 1, 0) # simulate output_dynamic = network.simulate(1000, 1) sync_visualizer.show_output_dynamic(output_dynamic) sync_visualizer.show_order_parameter(output_dynamic)
Output:
Traceback (most recent call last): File "D:/workspace/pyclustering/pyclustering/cluster/examples/z_example_no_commit.py", line 4, in <module> network = sync_network(amount_neurons, type_conn=conn_type.DYNAMIC, ccore=True) File "D:\workspace\pyclustering\pyclustering\nnet\sync.py", line 737, in __init__ self._ccore_network_pointer = wrapper.sync_create_network(num_osc, weight, frequency, type_conn, initial_phases); File "D:\workspace\pyclustering\pyclustering\core\sync_wrapper.py", line 20, in sync_create_network pointer_network = ccore.sync_create_network(c_uint(num_osc), c_double(weight), c_double(frequency), c_uint(type_conn), c_uint(initial_phases)) OSError: [WinError -529697949] Windows Error 0xe06d7363
The text was updated successfully, but these errors were encountered:
annoviko
No branches or pull requests
Introduction
When user-custom structure is needed, then crash happens in case of
ccore=True
.Example:
Output:
The text was updated successfully, but these errors were encountered: