Class CSVDataset

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

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

  • Constructor Details

    • CSVDataset

      public CSVDataset(Operation operation)
  • Method Details

    • create

      @Endpoint(describeByClass=true) public static CSVDataset create(Scope scope, Operand<TString> filenames, Operand<TString> compressionType, Operand<TInt64> bufferSize, Operand<TBool> header, Operand<TString> fieldDelim, Operand<TBool> useQuoteDelim, Operand<TString> naValue, Operand<TInt64> selectCols, Iterable<Operand<?>> recordDefaults, Operand<TInt64> excludeCols, List<Shape> outputShapes)
      Factory method to create a class wrapping a new CSVDatasetV2 operation.
      Parameters:
      scope - current scope
      filenames - The filenames value
      compressionType - The compressionType value
      bufferSize - The bufferSize value
      header - The header value
      fieldDelim - The fieldDelim value
      useQuoteDelim - The useQuoteDelim value
      naValue - The naValue value
      selectCols - The selectCols value
      recordDefaults - The recordDefaults value
      excludeCols - The excludeCols value
      outputShapes - The value of the outputShapes attribute
      Returns:
      a new instance of CSVDataset
    • 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: