Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
@cacheable(strategy='create',
pathfinder=Cache.pathfinder(file_name_position=1, path_keyword='path'))
def download_normalized_connection_density(self, file_name):
self.download_model_files(self.NORMALIZED_CONNECTION_DENSITY_FILE, file_name)
@cacheable(strategy='create',
pathfinder=Cache.pathfinder(file_name_position=1, path_keyword='path'))
def download_normalized_connection_strength(self, file_name):
self.download_model_files(self.NORMALIZED_CONNECTION_STRENGTH_FILE, file_name)
@cacheable(strategy='create',
pathfinder=Cache.pathfinder(file_name_position=1, path_keyword='path'))
def download_source_mask_params(self, file_name):
self.download_model_files(self.SOURCE_MASK_FILE, file_name)
@cacheable(strategy='create',
pathfinder=Cache.pathfinder(file_name_position=1, path_keyword='path'))
def download_target_mask_params(self, file_name):
self.download_model_files(self.TARGET_MASK_FILE, file_name)
@cacheable(strategy='create',
pathfinder=Cache.pathfinder(file_name_position=1, path_keyword='path'))
def download_weights(self, file_name):
self.download_model_files(self.WEIGHTS_FILE, file_name)
@cacheable(strategy='create',
pathfinder=Cache.pathfinder(file_name_position=1, path_keyword='path'))
def download_nodes(self, file_name):
self.download_model_files(self.NODES_FILE, file_name)
@cacheable(strategy='create',
pathfinder=Cache.pathfinder(file_name_position=1, path_keyword='path'))
def download_connection_density(self, file_name):
self.download_model_files(self.CONNECTION_DENSITY_FILE, file_name)
@cacheable(strategy='create',
pathfinder=Cache.pathfinder(file_name_position=1, path_keyword='path'))
def download_connection_strength(self, file_name):
self.download_model_files(self.CONNECTION_STRENGTH_FILE, file_name)