Modifier and Type | Class and Description |
---|---|
static class |
While.Inputs |
Modifier and Type | Field and Description |
---|---|
static String |
OP_NAME
The name of this op, as known by TensorFlow core engine
|
Modifier and Type | Method and Description |
---|---|
static While |
create(Scope scope,
Iterable<Operand<?>> input,
ConcreteFunction cond,
ConcreteFunction body)
Factory method to create a class wrapping a new XlaWhile operation.
|
Iterator<Operand<TType>> |
iterator() |
List<Output<?>> |
output()
Gets output.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
forEach, spliterator
public static final String OP_NAME
public While(Operation operation)
@Endpoint(describeByClass=true, name="whileOp") public static While create(Scope scope, Iterable<Operand<?>> input, ConcreteFunction cond, ConcreteFunction body)
scope
- current scopeinput
- A list of input tensors whose types are T.cond
- A function takes 'input' and returns a tensor. If the tensor is
a scalar of non-boolean, the scalar is converted to a boolean
according to the following rule: if the scalar is a numerical
value, non-zero means True and zero means False; if the scalar is
a string, non-empty means True and empty means False. If the
tensor is not a scalar, non-emptiness means True and False
otherwise.body
- A function that takes a list of tensors and returns another
list of tensors. Both lists have the same types as specified by T.public List<Output<?>> output()
Copyright © 2015–2022. All rights reserved.