tensorflow::ops::QuantizeAndDequantize::Attrs

#include <array_ops.h>

Optional attribute setters for QuantizeAndDequantize.

Summary

Public attributes

input_max_ = 0.0f
float
input_min_ = 0.0f
float
num_bits_ = 8
int64
range_given_ = false
bool
signed_input_ = true
bool

Public functions

InputMax(float x)
Defaults to 0.
InputMin(float x)
Defaults to 0.
NumBits(int64 x)
Defaults to 8.
RangeGiven(bool x)
Defaults to false.
SignedInput(bool x)
Defaults to true.

Public attributes

input_max_

float tensorflow::ops::QuantizeAndDequantize::Attrs::input_max_ = 0.0f

input_min_

float tensorflow::ops::QuantizeAndDequantize::Attrs::input_min_ = 0.0f

num_bits_

int64 tensorflow::ops::QuantizeAndDequantize::Attrs::num_bits_ = 8

range_given_

bool tensorflow::ops::QuantizeAndDequantize::Attrs::range_given_ = false

signed_input_

bool tensorflow::ops::QuantizeAndDequantize::Attrs::signed_input_ = true

Public functions

InputMax

Attrs tensorflow::ops::QuantizeAndDequantize::Attrs::InputMax(
  float x
)

Defaults to 0.

InputMin

Attrs tensorflow::ops::QuantizeAndDequantize::Attrs::InputMin(
  float x
)

Defaults to 0.

NumBits

Attrs tensorflow::ops::QuantizeAndDequantize::Attrs::NumBits(
  int64 x
)

Defaults to 8.

RangeGiven

Attrs tensorflow::ops::QuantizeAndDequantize::Attrs::RangeGiven(
  bool x
)

Defaults to false.

SignedInput

Attrs tensorflow::ops::QuantizeAndDequantize::Attrs::SignedInput(
  bool x
)

Defaults to true.