Modifier and Type | Class and Description |
---|---|
static class |
PartitionedInput.Inputs<T extends TType> |
static class |
PartitionedInput.Options
Optional attributes for
PartitionedInput |
Modifier and Type | Field and Description |
---|---|
static String |
OP_NAME
The name of this op, as known by TensorFlow core engine
|
Constructor and Description |
---|
PartitionedInput(Operation operation) |
Modifier and Type | Method and Description |
---|---|
Output<T> |
asOutput()
Returns the symbolic handle of the tensor.
|
static <T extends TType> |
create(Scope scope,
Iterable<Operand<T>> inputs,
PartitionedInput.Options... options)
Factory method to create a class wrapping a new TPUPartitionedInput operation.
|
Output<T> |
output()
Gets output.
|
static PartitionedInput.Options |
partitionDim(Long partitionDim)
Sets the partitionDim option.
|
public static final String OP_NAME
public PartitionedInput(Operation operation)
@Endpoint(describeByClass=true) public static <T extends TType> PartitionedInput<T> create(Scope scope, Iterable<Operand<T>> inputs, PartitionedInput.Options... options)
T
- data type for TPUPartitionedInput
output and operandsscope
- current scopeinputs
- A list of partitioned inputs which must have the same shape.options
- carries optional attribute valuespublic static PartitionedInput.Options partitionDim(Long partitionDim)
partitionDim
- An integer describles which dimension is partitioned. -1 means
those inputs are replicated.public Output<T> output()
public Output<T> 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<T extends TType>
OperationBuilder.addInput(Output)
Copyright © 2015–2022. All rights reserved.