Class FinalizeDataset

java.lang.Object
org.tensorflow.op.RawOp
org.tensorflow.op.data.FinalizeDataset
All Implemented Interfaces:
Shaped, Op, Operand<TType>

@Operator(group="data") public final class FinalizeDataset extends RawOp implements Operand<TType>
Creates a dataset by applying tf.data.Options to input_dataset.
  • Field Details

  • Constructor Details

    • FinalizeDataset

      public FinalizeDataset(Operation operation)
  • Method Details

    • create

      @Endpoint(describeByClass=true) public static FinalizeDataset create(Scope scope, Operand<? extends TType> inputDataset, List<Class<? extends TType>> outputTypes, List<Shape> outputShapes, FinalizeDataset.Options... options)
      Factory method to create a class wrapping a new FinalizeDataset operation.
      Parameters:
      scope - current scope
      inputDataset - A variant tensor representing the input dataset.
      outputTypes - The value of the outputTypes attribute
      outputShapes - The value of the outputShapes attribute
      options - carries optional attribute values
      Returns:
      a new instance of FinalizeDataset
    • hasCapturedRef

      public static FinalizeDataset.Options hasCapturedRef(Boolean hasCapturedRef)
      Sets the hasCapturedRef option.
      Parameters:
      hasCapturedRef - the hasCapturedRef option
      Returns:
      this Options instance.
    • handle

      public Output<? extends TType> handle()
      Gets handle.
      Returns:
      handle.
    • asOutput

      public Output<TType> 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<TType>
      See Also: