httomo_backends.methods_database.query
#
- class httomo_backends.methods_database.query.GpuMemoryRequirement(multiplier: float | None = 1.0, method: Literal['direct', 'module'] = 'direct')[source]#
Bases:
object
- method: Literal['direct', 'module'] = 'direct'#
- multiplier: float | None = 1.0#
- class httomo_backends.methods_database.query.MethodDatabaseRepository[source]#
Bases:
object
Implements the MethodRepository protocol from httomo.
- query(module_path: str, method_name: str) MethodsDatabaseQuery [source]#
- class httomo_backends.methods_database.query.MethodsDatabaseQuery(module_path: str, method_name: str)[source]#
Bases:
object
Implements the MethodQuery protocol from httomo.
- calculate_memory_bytes(non_slice_dims_shape: Tuple[int, int], dtype: dtype, **kwargs) Tuple[int, int] [source]#
- get_memory_gpu_params() GpuMemoryRequirement | None [source]#