tensorflow::ops::FakeQuantWithMinMaxArgs::Attrs

#include <array_ops.h>

Optional attribute setters for FakeQuantWithMinMaxArgs.

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::FakeQuantWithMinMaxArgs::Attrs::max_ = 6.0f

min_

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

narrow_range_

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

num_bits_

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

Public functions

Max

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

Defaults to 6.

Min

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

Defaults to -6.

NarrowRange

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

Defaults to false.

NumBits

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

Defaults to 8.

© 2020 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 4.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/versions/r2.4/api_docs/cc/struct/tensorflow/ops/fake-quant-with-min-max-args/attrs