Home
last modified time | relevance | path

Searched refs:client (Results 1 – 6 of 6) sorted by relevance

/honee/tests/
H A Dsmartsim_regression_framework.py114 client = None
143 client = Client(cluster=False, address=self.database.get_address()[0])
145 assert client.poll_tensor("sizeInfo", 250, 5)
146 assert_np_all(client.get_tensor("sizeInfo"), np.array([35, 12, 6, 1, 1, 0]))
148 assert client.poll_tensor("check-run", 250, 5)
149 assert_equal(client.get_tensor("check-run")[0], 1)
151 assert client.poll_tensor("tensor-ow", 250, 5)
152 assert_equal(client.get_tensor("tensor-ow")[0], 1)
154 assert client.poll_tensor("num_filter_widths", 250, 5)
155 assert_equal(client.get_tensor("num_filter_widths")[0], 2)
[all …]
/honee/src/smartsim/
H A Dsmartsim.c17 PetscCallSmartRedis(DeleteCClient(&smartsim_->client)); in SmartSimDataDestroy()
36 …PetscCallSmartRedis(put_tensor(smartsim->client, "check-run", 9, checkrun, dim_2, 1, SRTensorTypeD… in SmartSimTrainingSetup()
37 PetscCall(SmartRedisVerifyPutTensor(smartsim->client, "check-run", 9)); in SmartSimTrainingSetup()
62 …chestrator_nodes != 1, smartsim->rank_id_name, strlen(smartsim->rank_id_name), &smartsim->client)); in SmartSimSetup()
H A Dsgs_dd_training.c248 …PetscCallSmartRedis(put_tensor(smartsim->client, tensor_name, strlen(tensor_name), array_info, &ar… in SGS_DD_TrainingSetup()
250 PetscCall(SmartRedisVerifyPutTensor(smartsim->client, tensor_name, strlen(tensor_name))); in SGS_DD_TrainingSetup()
260 …PetscCallSmartRedis(put_tensor(smartsim->client, tensor_name, strlen(tensor_name), tensor_overwrit… in SGS_DD_TrainingSetup()
262 PetscCall(SmartRedisVerifyPutTensor(smartsim->client, tensor_name, strlen(tensor_name))); in SGS_DD_TrainingSetup()
272 …PetscCallSmartRedis(put_tensor(smartsim->client, tensor_name, strlen(tensor_name), &num_filter_wid… in SGS_DD_TrainingSetup()
274 PetscCall(SmartRedisVerifyPutTensor(smartsim->client, tensor_name, strlen(tensor_name))); in SGS_DD_TrainingSetup()
367 …PetscCallSmartRedis(put_tensor(smartsim->client, array_key, array_key_len, (void *)training_data, … in TSMonitor_SGS_DD_Training()
381 …PetscCallSmartRedis(put_tensor(smartsim->client, tensor_name, strlen(tensor_name), step_array, dim… in TSMonitor_SGS_DD_Training()
404 …PetscCallSmartRedis(unpack_tensor(smartsim->client, check_run_key, check_run_key_size, check_run, … in TSPostStep_SGS_DD_Training()
H A Dsolution.c95 PetscCallSmartRedis(put_dataset(smartsim->client, dataset)); in TSMonitor_SmartSimSolution()
/honee/include/
H A Dsmartsim-impl.h30 void *client; member
/honee/
H A DDoxyfile1754 # https://www.mathjax.org) which uses client side JavaScript for the rendering
1850 # implemented using a web server instead of a web client using JavaScript. There