tensorflow::ops::FakeQuantWithMinMaxArgsGradient::Attrs

#include <array_ops.h>

Optional attribute setters for FakeQuantWithMinMaxArgsGradient.

Summary

Public attributes

max_ = 6.0f
float
min_ = -6.0f
float
narrow_range_ = false
bool
num_bits_ = 8
int64

Public functions

Max(float x)
TF_MUST_USE_RESULT Attrs
Defaults to 6.
Min(float x)
TF_MUST_USE_RESULT Attrs
Defaults to -6.
NarrowRange(bool x)
TF_MUST_USE_RESULT Attrs
Defaults to false.
NumBits(int64 x)
TF_MUST_USE_RESULT Attrs
Defaults to 8.

Public attributes

max_

float tensorflow::ops::FakeQuantWithMinMaxArgsGradient::Attrs::max_ = 6.0f

min_

float tensorflow::ops::FakeQuantWithMinMaxArgsGradient::Attrs::min_ = -6.0f

narrow_range_

bool tensorflow::ops::FakeQuantWithMinMaxArgsGradient::Attrs::narrow_range_ = false

num_bits_

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

Public functions

Max

TF_MUST_USE_RESULT Attrs tensorflow::ops::FakeQuantWithMinMaxArgsGradient::Attrs::Max(
  float x
)

Defaults to 6.

Min

TF_MUST_USE_RESULT Attrs tensorflow::ops::FakeQuantWithMinMaxArgsGradient::Attrs::Min(
  float x
)

Defaults to -6.

NarrowRange

TF_MUST_USE_RESULT Attrs tensorflow::ops::FakeQuantWithMinMaxArgsGradient::Attrs::NarrowRange(
  bool x
)

Defaults to false.

NumBits

TF_MUST_USE_RESULT Attrs tensorflow::ops::FakeQuantWithMinMaxArgsGradient::Attrs::NumBits(
  int64 x
)

Defaults to 8.