tensorflow::ops::Cast::Attrs

#include <math_ops.h>

Optional attribute setters for Cast.

Summary

Public attributes
Truncate_ = false
bool
Public functions
Truncate(bool x)
TF_MUST_USE_RESULT Attrs
Defaults to false.

Public attributes

Truncate_

bool tensorflow::ops::Cast::Attrs::Truncate_ = false

Public functions

Truncate

TF_MUST_USE_RESULT Attrs tensorflow::ops::Cast::Attrs::Truncate(
  bool x
)

Defaults to false.

© 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/cast/attrs