Skip to content

Commit

Permalink
Reexport common objects right out from neuralogic
Browse files Browse the repository at this point in the history
  • Loading branch information
LukasZahradnik committed Oct 24, 2024
1 parent 02f8696 commit 9b40b8a
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions neuralogic/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
import jpype

from neuralogic.logging import _init_logging, LogHandler, add_log_handler
from neuralogic.core import R, V, C, F, Template, Settings


_is_initialized = False
Expand All @@ -20,6 +21,30 @@
jvm_options = ["-Xms1g"]


__all__ = [
"R",
"V",
"C",
"F",
"Template",
"Settings",
"LogHandler",
"add_log_handler",
"set_max_memory_size",
"manual_seed",
"initial_seed",
"seed",
"initialize",
"is_initialized",
"set_graphviz_path",
"set_jvm_path",
"set_jvm_options",
"get_default_graphviz_path",
"jvm_options",
"jvm_params",
]


def set_max_memory_size(size: int):
"""
Set maximum memory size that can be utilized by the backend (in gigabytes)
Expand Down

0 comments on commit 9b40b8a

Please sign in to comment.