Stay organized with collections
Save and categorize content based on your preferences.
tensorflow::ops::Cast::Attrs
#include <math_ops.h>
Optional attribute setters for Cast.
Summary
Public functions
|
Truncate(bool x)
|
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
)
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2020-04-20 UTC.
[null,null,["Last updated 2020-04-20 UTC."],[],[],null,["# tensorflow::ops::Cast::Attrs Struct Reference\n\ntensorflow::ops::Cast::Attrs\n============================\n\n`#include \u003cmath_ops.h\u003e`\n\nOptional attribute setters for [Cast](/versions/r1.15/api_docs/cc/class/tensorflow/ops/cast#classtensorflow_1_1ops_1_1_cast).\n\nSummary\n-------\n\n| ### Public attributes ||\n|-------------------------------------------------------------------------------------------------------|--------|\n| [Truncate_](#structtensorflow_1_1ops_1_1_cast_1_1_attrs_1ab3c35dcc1573db2c72a9357c741c4e6e)` = false` | `bool` |\n\n| ### Public functions ||\n|------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [Truncate](#structtensorflow_1_1ops_1_1_cast_1_1_attrs_1a1f874413618cb9ba3d302e9f5795ed9f)`(bool x)` | `TF_MUST_USE_RESULT `[Attrs](/versions/r1.15/api_docs/cc/struct/tensorflow/ops/cast/attrs#structtensorflow_1_1ops_1_1_cast_1_1_attrs) Defaults to false. |\n\nPublic attributes\n-----------------\n\n### Truncate_\n\n```scdoc\nbool tensorflow::ops::Cast::Attrs::Truncate_ = false\n``` \n\nPublic functions\n----------------\n\n### Truncate\n\n```scdoc\nTF_MUST_USE_RESULT Attrs tensorflow::ops::Cast::Attrs::Truncate(\n bool x\n)\n``` \nDefaults to false."]]