Lines Matching +full:compat +full:- +full:data
7 # http://www.apache.org/licenses/LICENSE-2.0
49 'id1': [b'1-1', b'1-2', b'1-3'],
50 'id2': [b'2-1', b'2-2'],
54 def create_plan() -> plan_pb2.Plan:
55 """Creates a test plan that counts examples, with a per-client cap."""
57 with tf.compat.v1.Graph().as_default() as client_graph:
58 dataset_token = tf.compat.v1.placeholder(tf.string, shape=())
59 input_filepath = tf.compat.v1.placeholder(tf.string, shape=())
60 output_filepath = tf.compat.v1.placeholder(tf.string, shape=())
68 data=[count])
70 with tf.compat.v1.Graph().as_default() as server_graph:
71 filename = tf.compat.v1.placeholder(tf.string, shape=())
87 data=[contribution_cap])
93 filename=filename, tensor_names=[COUNT_TENSOR_NAME], data=[count])
113 saver_def=tf.compat.v1.train.SaverDef(
117 saver_def=tf.compat.v1.train.SaverDef(
136 saver_def=tf.compat.v1.train.SaverDef(
150 self.server = server.InProcessServer( # pytype: disable=wrong-arg-types
165 async def wait_for_task(self) -> task_assignments_pb2.TaskAssignment:
220 client_runner, f'--server={server_url}',
221 f'--population={POPULATION_NAME}',
222 f'--num_empty_examples={num_examples}', '--sleep_after_round_secs=0',
223 '--use_http_federated_compute_protocol')
277 response.getheader('Content-Type'),
278 'application/octet-stream+gzip',