Modifier and Type | Class and Description |
---|---|
static class |
Cast.Options
Optional attributes for
Cast |
operation
Modifier and Type | Method and Description |
---|---|
Output<U> |
asOutput()
Returns the symbolic handle of a tensor.
|
static <U,T> Cast<U> |
create(Scope scope,
Operand<T> x,
Class<U> DstT,
Cast.Options... options)
Factory method to create a class wrapping a new Cast operation.
|
static Cast.Options |
Truncate(Boolean Truncate) |
Output<U> |
y() |
equals, hashCode, op, toString
public static <U,T> Cast<U> create(Scope scope, Operand<T> x, Class<U> DstT, Cast.Options... options)
scope
- current scopex
- DstT
- options
- carries optional attributes valuespublic static Cast.Options Truncate(Boolean Truncate)
Truncate
- public Output<U> asOutput()
Operand
Inputs to TensorFlow operations are outputs of another TensorFlow operation. This method is used to obtain a symbolic handle that represents the computation of the input.
asOutput
in interface Operand<U>
OperationBuilder.addInput(Output)
Copyright © 2022. All rights reserved.