Class LoadDataset

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

@Operator(group="data") public final class LoadDataset extends RawOp implements Operand<TType>
The LoadDataset operation
  • Field Details

  • Constructor Details

    • LoadDataset

      public LoadDataset(Operation operation)
  • Method Details

    • create

      @Endpoint(describeByClass=true) public static LoadDataset create(Scope scope, Operand<TString> path, Iterable<Operand<?>> readerFuncOtherArgs, List<Class<? extends TType>> outputTypes, List<Shape> outputShapes, ConcreteFunction readerFunc, LoadDataset.Options... options)
      Factory method to create a class wrapping a new LoadDataset operation.
      Parameters:
      scope - current scope
      path - The path value
      readerFuncOtherArgs - The readerFuncOtherArgs value
      outputTypes - The value of the outputTypes attribute
      outputShapes - The value of the outputShapes attribute
      readerFunc - The value of the readerFunc attribute
      options - carries optional attribute values
      Returns:
      a new instance of LoadDataset
    • compression

      public static LoadDataset.Options compression(String compression)
      Sets the compression option.
      Parameters:
      compression - the compression 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: