adf_core_python.core.agent.precompute package#
Submodules#
adf_core_python.core.agent.precompute.precompute_data module#
- class adf_core_python.core.agent.precompute.precompute_data.PrecomputeData(dir_path: str)#
ベースクラス:
object
- is_available() bool #
Check if the precompute data is available.
- 戻り値:
True if the precompute data is available, False otherwise.
- 戻り値の型:
bool
- read_json_data(module_name: str) dict #
Read the precompute data from the file.
- 戻り値:
The precompute data.
- 戻り値の型:
dict
- 例外:
Exception --
- remove_precompute_data() None #
Remove the precompute data file.
- write_json_data(data: dict, module_name: str) None #
Write the precompute data to the file.
- パラメータ:
data (dict) -- The data to write.
- 例外:
Exception --