Class XlaSparseGradientsStack<U extends TType>

java.lang.Object
org.tensorflow.op.RawOp
org.tensorflow.op.xla.XlaSparseGradientsStack<U>
All Implemented Interfaces:
Shaped, Op, Operand<U>

public final class XlaSparseGradientsStack<U extends TType> extends RawOp implements Operand<U>
The XlaSparseGradientsStack operation
  • Field Details

  • Constructor Details

    • XlaSparseGradientsStack

      public XlaSparseGradientsStack(Operation operation)
  • Method Details

    • create

      @Endpoint(describeByClass=true) public static <U extends TType> XlaSparseGradientsStack<U> create(Scope scope, Iterable<Operand<? extends TType>> unstackedGradients, Boolean interleaved, Class<U> dtype)
      Factory method to create a class wrapping a new XlaSparseGradientsStack operation.
      Type Parameters:
      U - data type for XlaSparseGradientsStack output and operands
      Parameters:
      scope - current scope
      unstackedGradients - The unstackedGradients value
      interleaved - The value of the interleaved attribute
      dtype - The value of the dtype attribute
      Returns:
      a new instance of XlaSparseGradientsStack
    • stackedGradients

      public Output<U> stackedGradients()
      Gets stackedGradients.
      Returns:
      stackedGradients.
    • asOutput

      public Output<U> asOutput()
      Description copied from interface: Operand
      Returns the symbolic handle of the tensor.

      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.

      Specified by:
      asOutput in interface Operand<U extends TType>
      See Also: