Searched refs:is_distributed_variable (Results 1 – 8 of 8) sorted by relevance
161 self.assertTrue(distribute_utils.is_distributed_variable(v))162 self.assertTrue(distribute_utils.is_distributed_variable(
219 def is_distributed_variable(v): function
96 return x.handle if distribute_utils.is_distributed_variable(x) else x99 return _unused_handle() if distribute_utils.is_distributed_variable(x) \353 if distribute_utils.is_distributed_variable(bound_input):385 if distribute_utils.is_distributed_variable(obj):
287 self.assertTrue(distribute_utils.is_distributed_variable(v))294 self.assertTrue(distribute_utils.is_distributed_variable(slot))
89 if (distribute_utils.is_distributed_variable(var) and766 if (distribute_utils.is_distributed_variable(slot) and767 not distribute_utils.is_distributed_variable(var)):
516 if (not distribute_utils.is_distributed_variable(variable) and
2647 bool is_distributed_variable = in BuildTPUReplicateOps() local2651 if (!is_distributed_variable && input_num_replicas != num_replicas) { in BuildTPUReplicateOps()2658 if (!is_distributed_variable) { in BuildTPUReplicateOps()
2700 distribute_utils.is_distributed_variable(model.optimizer.weights[0]))2708 distribute_utils.is_distributed_variable(model.optimizer.weights[0]))