Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
przepływ tensorowy:: ops:: KwantyzowanyRelu:: Atrybuty
#include <nn_ops.h>
Opcjonalne moduły ustawiające atrybuty dla QuantizedRelu .
Streszczenie
Atrybuty publiczne |
---|
out_type_ = DT_QUINT8 | DataType |
Funkcje publiczne |
---|
OutType (DataType x) | Domyślnie jest to DT_QUINT8. |
Atrybuty publiczne
typ_wyjściowy_
DataType tensorflow::ops::QuantizedRelu::Attrs::out_type_ = DT_QUINT8
Funkcje publiczne
Typ zewnętrzny
TF_MUST_USE_RESULT Attrs tensorflow::ops::QuantizedRelu::Attrs::OutType(
DataType x
)
Domyślnie jest to DT_QUINT8.
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::QuantizedRelu::Attrs Struct Reference\n\ntensorflow::ops::QuantizedRelu::Attrs\n=====================================\n\n`#include \u003cnn_ops.h\u003e`\n\nOptional attribute setters for [QuantizedRelu](/versions/r2.1/api_docs/cc/class/tensorflow/ops/quantized-relu#classtensorflow_1_1ops_1_1_quantized_relu).\n\nSummary\n-------\n\n| ### Public attributes ||\n|---------------------------------------------------------------------------------------------------------------------|------------|\n| [out_type_](#structtensorflow_1_1ops_1_1_quantized_relu_1_1_attrs_1a7484181a4dd2e6b0a2a3b45eb229f07f)` = DT_QUINT8` | `DataType` |\n\n| ### Public functions ||\n|-------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [OutType](#structtensorflow_1_1ops_1_1_quantized_relu_1_1_attrs_1a741d77fdab030edb91be5f7cd8e2c23b)`(DataType x)` | `TF_MUST_USE_RESULT `[Attrs](/versions/r2.1/api_docs/cc/struct/tensorflow/ops/quantized-relu/attrs#structtensorflow_1_1ops_1_1_quantized_relu_1_1_attrs) Defaults to DT_QUINT8. |\n\nPublic attributes\n-----------------\n\n### out_type_\n\n```carbon\nDataType tensorflow::ops::QuantizedRelu::Attrs::out_type_ = DT_QUINT8\n``` \n\nPublic functions\n----------------\n\n### OutType\n\n```scdoc\nTF_MUST_USE_RESULT Attrs tensorflow::ops::QuantizedRelu::Attrs::OutType(\n DataType x\n)\n``` \nDefaults to DT_QUINT8."]]