Modifier and Type | Class and Description |
---|---|
static class |
RiscGather.Inputs<T extends TType> |
static class |
RiscGather.Options
Optional attributes for
RiscGather |
Modifier and Type | Field and Description |
---|---|
static String |
OP_NAME
The name of this op, as known by TensorFlow core engine
|
Constructor and Description |
---|
RiscGather(Operation operation) |
Modifier and Type | Method and Description |
---|---|
Output<T> |
asOutput()
Returns the symbolic handle of the tensor.
|
static RiscGather.Options |
batchDims(Long batchDims)
Sets the batchDims option.
|
static <T extends TType> |
create(Scope scope,
Operand<T> params,
Operand<? extends TNumber> indices,
Operand<? extends TNumber> axis,
RiscGather.Options... options)
Factory method to create a class wrapping a new RiscGather operation.
|
Output<T> |
output()
Gets output.
|
public static final String OP_NAME
public RiscGather(Operation operation)
@Endpoint(describeByClass=true) public static <T extends TType> RiscGather<T> create(Scope scope, Operand<T> params, Operand<? extends TNumber> indices, Operand<? extends TNumber> axis, RiscGather.Options... options)
T
- data type for RiscGather
output and operandsscope
- current scopeparams
- The params valueindices
- The indices valueaxis
- The axis valueoptions
- carries optional attribute valuespublic static RiscGather.Options batchDims(Long batchDims)
batchDims
- the batchDims optionpublic 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.