Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
przepływ tensorowy:: ops:: Zapobiegaj Gradientowi:: Atrybuty
#include <array_ops.h>
Opcjonalne moduły ustawiające atrybuty dla PreventGradient .
Streszczenie
Atrybuty publiczne |
---|
message_ = "" | StringPiece |
Funkcje publiczne |
---|
Message (StringPiece x) | Zostanie wydrukowany w błędzie, gdy ktoś spróbuje rozróżnić tę operację. |
Atrybuty publiczne
wiadomość_
StringPiece tensorflow::ops::PreventGradient::Attrs::message_ = ""
Funkcje publiczne
Wiadomość
TF_MUST_USE_RESULT Attrs tensorflow::ops::PreventGradient::Attrs::Message(
StringPiece x
)
Zostanie wydrukowany w błędzie, gdy ktoś spróbuje rozróżnić tę operację.
Domyślnie „”
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2025-07-25 UTC.
[null,null,["Ostatnia aktualizacja: 2025-07-25 UTC."],[],[],null,["# tensorflow::ops::PreventGradient::Attrs Struct Reference\n\ntensorflow::ops::PreventGradient::Attrs\n=======================================\n\n`#include \u003carray_ops.h\u003e`\n\nOptional attribute setters for [PreventGradient](/versions/r1.15/api_docs/cc/class/tensorflow/ops/prevent-gradient#classtensorflow_1_1ops_1_1_prevent_gradient).\n\nSummary\n-------\n\n| ### Public attributes ||\n|---------------------------------------------------------------------------------------------------------------|---------------|\n| [message_](#structtensorflow_1_1ops_1_1_prevent_gradient_1_1_attrs_1a85ca8381a662c1cca8aabfe5a0ebc560)` = \"\"` | `StringPiece` |\n\n| ### Public functions ||\n|------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [Message](#structtensorflow_1_1ops_1_1_prevent_gradient_1_1_attrs_1a5fa5b963ff1b0088230db1ecc380bd41)`(StringPiece x)` | `TF_MUST_USE_RESULT `[Attrs](/versions/r1.15/api_docs/cc/struct/tensorflow/ops/prevent-gradient/attrs#structtensorflow_1_1ops_1_1_prevent_gradient_1_1_attrs) Will be printed in the error when anyone tries to differentiate this operation. |\n\nPublic attributes\n-----------------\n\n### message_\n\n```scdoc\nStringPiece tensorflow::ops::PreventGradient::Attrs::message_ = \"\"\n``` \n\nPublic functions\n----------------\n\n### Message\n\n```scdoc\nTF_MUST_USE_RESULT Attrs tensorflow::ops::PreventGradient::Attrs::Message(\n StringPiece x\n)\n``` \nWill be printed in the error when anyone tries to differentiate this operation.\n\nDefaults to \"\""]]