Join us at TensorFlow World, Oct 28-31. Use code TF20 for 20% off select passes. Register now

tensorflow::ops::FakeQuantWithMinMaxVarsPerChannel::Attrs

#include <array_ops.h>

Optional attribute setters for FakeQuantWithMinMaxVarsPerChannel.

Summary

Public attributes

narrow_range_ = false
bool
num_bits_ = 8
int64

Public functions

NarrowRange(bool x)
TF_MUST_USE_RESULT Attrs
Defaults to false.
NumBits(int64 x)
TF_MUST_USE_RESULT Attrs
Defaults to 8.

Public attributes

narrow_range_

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

num_bits_

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

Public functions

NarrowRange

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

Defaults to false.

NumBits

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

Defaults to 8.