Class QuantizedConv2DPerChannel<V extends TNumber>

java.lang.Object
org.tensorflow.op.RawOp
org.tensorflow.op.nn.QuantizedConv2DPerChannel<V>
All Implemented Interfaces:
Op

@Operator(group="nn") public final class QuantizedConv2DPerChannel<V extends TNumber> extends RawOp
Computes QuantizedConv2D per channel.
  • Field Details

  • Constructor Details

    • QuantizedConv2DPerChannel

      public QuantizedConv2DPerChannel(Operation operation)
  • Method Details

    • create

      @Endpoint(describeByClass=true) public static <V extends TNumber> QuantizedConv2DPerChannel<V> create(Scope scope, Operand<? extends TNumber> input, Operand<? extends TNumber> filter, Operand<TFloat32> minInput, Operand<TFloat32> maxInput, Operand<TFloat32> minFilter, Operand<TFloat32> maxFilter, Class<V> outType, List<Long> strides, String padding, QuantizedConv2DPerChannel.Options... options)
      Factory method to create a class wrapping a new QuantizedConv2DPerChannel operation.
      Type Parameters:
      V - data type for QuantizedConv2DPerChannel output and operands
      Parameters:
      scope - current scope
      input - The original input tensor.
      filter - The original filter tensor.
      minInput - The minimum value of the input tensor
      maxInput - The maximum value of the input tensor.
      minFilter - The minimum value of the filter tensor.
      maxFilter - The maximum value of the filter tensor.
      outType - The quantized type of output tensor that needs to be converted.
      strides - list of stride values.
      padding - The value of the padding attribute
      options - carries optional attribute values
      Returns:
      a new instance of QuantizedConv2DPerChannel
    • dilations

      public static QuantizedConv2DPerChannel.Options dilations(List<Long> dilations)
      Sets the dilations option.
      Parameters:
      dilations - list of dilation values.
      Returns:
      this Options instance.
    • dilations

      public static QuantizedConv2DPerChannel.Options dilations(Long... dilations)
      Sets the dilations option.
      Parameters:
      dilations - list of dilation values.
      Returns:
      this Options instance.
    • output

      public Output<V> output()
      Gets output. The output tensor.
      Returns:
      output.
    • minOutput

      public Output<TFloat32> minOutput()
      Gets minOutput. The minimum value of the final output tensor.
      Returns:
      minOutput.
    • maxOutput

      public Output<TFloat32> maxOutput()
      Gets maxOutput. The maximum value of the final output tensor.
      Returns:
      maxOutput.