/external/tensorflow/tensorflow/python/autograph/lang/ |
directives.py | 52 maximum_iterations=UNSPECIFIED): 63 maximum_iterations: See tf.while_loop. 68 del maximum_iterations
|
/external/tensorflow/tensorflow/contrib/seq2seq/python/ops/ |
decoder.py | 158 maximum_iterations=None, 164 self.maximum_iterations = maximum_iterations 175 maximum_iterations=self.maximum_iterations, 271 maximum_iterations=None, 292 maximum_iterations: `int32` scalar, maximum allowed number of decoding 306 ValueError: if `maximum_iterations` is provided but is not a scalar. 327 if maximum_iterations is not None: 328 maximum_iterations = ops.convert_to_tensor [all...] |
beam_search_decoder.py | [all...] |
/external/tensorflow/tensorflow/contrib/seq2seq/python/kernel_tests/ |
decoder_v2_test.py | 38 def _testDecodeRNN(self, time_major, maximum_iterations=None): 61 maximum_iterations=maximum_iterations) 90 if maximum_iterations is not None: 91 time_steps = min(max_out, maximum_iterations) 92 expected_length = [min(x, maximum_iterations) for x in expected_length] 93 if context.executing_eagerly() and maximum_iterations != 0: 94 # Only check the shape of output when maximum_iterations > 0, see 110 self._testDecodeRNN(time_major=True, maximum_iterations=0) 113 self._testDecodeRNN(time_major=True, maximum_iterations=1 [all...] |
decoder_test.py | 37 def _testDynamicDecodeRNN(self, time_major, maximum_iterations=None): 64 maximum_iterations=maximum_iterations)) 95 if maximum_iterations is not None: 96 time_steps = min(max_out, maximum_iterations) 97 expected_length = [min(x, maximum_iterations) for x in expected_length] 114 self._testDynamicDecodeRNN(time_major=True, maximum_iterations=0) 117 self._testDynamicDecodeRNN(time_major=True, maximum_iterations=1)
|
beam_search_decoder_test.py | 539 bsd, output_time_major=time_major, maximum_iterations=max_out)) 647 maximum_iterations=max_out)
|
/external/tensorflow/tensorflow/python/ops/ |
while_v2.py | 61 maximum_iterations=None, 89 maximum_iterations) 93 if maximum_iterations is not None else None, 112 if maximum_iterations is None: 197 # First var is loop counter and second var is maximum_iterations. 259 maximum_iterations = op.inputs[1] 274 util.unique_grad_fn_name(body_graph.name), op, maximum_iterations) 424 maximum_iterations): 438 maximum_iterations: Tensor. The maximum number of iterations. 449 args = [counter, maximum_iterations, total_iters] + list(grads [all...] |
functional_ops.py | 145 maximum_iterations=n) 256 maximum_iterations=n) 475 maximum_iterations=n) [all...] |
map_fn.py | 268 maximum_iterations=n)
|
control_flow_ops.py | 591 lacks a `maximum_iterations` parameter, or the `maximum_iterations` 608 max_iter = while_ctxt.maximum_iterations 612 "XLA while_loop because maximum_iterations was not passed to " 631 "while_loop. maximum_iterations tensor '%s' for while_loop context " 722 maximum_iterations=forward_ctxt.maximum_iterations, 736 maximum_iterations=forward_ctxt.maximum_iterations, 2287 def maximum_iterations(self): member in class:WhileContext [all...] |
control_flow_ops_test.py | 438 def _testWhileContextHelper(self, maximum_iterations=None): 444 c, b, [i], maximum_iterations=maximum_iterations) 459 self._testWhileContextHelper(maximum_iterations=10) [all...] |
rnn.py | [all...] |
/external/tensorflow/tensorflow/compiler/tests/ |
while_test.py | 148 maximum_iterations=iterations, 183 maximum_iterations=iterations, 194 maximum_iterations=iterations, 201 maximum_iterations=5,
|
/external/tensorflow/tensorflow/core/grappler/optimizers/data/ |
function_utils_test.cc | 428 lambda i: i < 3, lambda i: i + 1, [0], maximum_iterations=1) 474 input_arg { name: "maximum_iterations" type: DT_INT32 } 556 input: "maximum_iterations" 573 name: "maximum_iterations" 631 input: "maximum_iterations:output:0"
|
/external/tensorflow/tensorflow/contrib/constrained_optimization/python/ |
swap_regret_optimizer.py | 67 maximum_iterations=100): 75 maximum_iterations: nonnegative int, if we perform this many iterations, we 83 `epsilon` or `maximum_iterations` parameters violate their bounds. 89 if maximum_iterations <= 0: 90 raise ValueError("maximum_iterations must be strictly positive") 94 not_done = (iteration < maximum_iterations)
|
/external/tensorflow/tensorflow/python/autograph/operators/ |
control_flow.py | 118 opts=dict(maximum_iterations=n))
|
/external/tensorflow/tensorflow/python/ops/ragged/ |
ragged_map_ops.py | 303 maximum_iterations=n)
|
/external/tensorflow/tensorflow/python/kernel_tests/ |
control_flow_ops_py_test.py | 129 def isum(s, maximum_iterations=None): 134 c, b, [i, s], maximum_iterations=maximum_iterations) [all...] |
/external/tensorflow/tensorflow/contrib/distributions/python/ops/bijectors/ |
masked_autoregressive.py | 263 # static_event_size will be None, and the maximum_iterations argument will 289 maximum_iterations=static_event_size)
|