Modifier and Type | Class and Description |
---|---|
static class |
Prelinearize.Options
Optional attributes for
Prelinearize |
operation
Modifier and Type | Method and Description |
---|---|
Output<Object> |
asOutput()
Returns the symbolic handle of a tensor.
|
static <T> Prelinearize |
create(Scope scope,
Operand<T> input,
Prelinearize.Options... options)
Factory method to create a class wrapping a new Prelinearize operation.
|
static Prelinearize.Options |
layout(List<Long> layout) |
Output<?> |
output() |
static Prelinearize.Options |
shape(Shape shape) |
equals, hashCode, op, toString
public static <T> Prelinearize create(Scope scope, Operand<T> input, Prelinearize.Options... options)
scope
- current scopeinput
- A tensor that will be linearized.options
- carries optional attributes valuespublic static Prelinearize.Options shape(Shape shape)
shape
- The shape of the tensor.public static Prelinearize.Options layout(List<Long> layout)
layout
- A vector holding the requested layout in minor-to-major sequence. If a layout
attribute is passed but its values are all -1 the layout will be computed by
the infeed operation.public Output<?> output()
public Output<Object> 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<Object>
OperationBuilder.addInput(Output)
Copyright © 2022. All rights reserved.