Class BytesProducedStatsDataset

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

@Operator(group="data") public final class BytesProducedStatsDataset extends RawOp implements Operand<TType>
Records the bytes size of each element of input_dataset in a StatsAggregator.
  • Field Details

  • Constructor Details

    • BytesProducedStatsDataset

      public BytesProducedStatsDataset(Operation operation)
  • Method Details

    • create

      @Endpoint(describeByClass=true) public static BytesProducedStatsDataset create(Scope scope, Operand<? extends TType> inputDataset, Operand<TString> tag, List<Class<? extends TType>> outputTypes, List<Shape> outputShapes)
      Factory method to create a class wrapping a new BytesProducedStatsDataset operation.
      Parameters:
      scope - current scope
      inputDataset - The inputDataset value
      tag - The tag value
      outputTypes - The value of the outputTypes attribute
      outputShapes - The value of the outputShapes attribute
      Returns:
      a new instance of BytesProducedStatsDataset
    • 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: