Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
przepływ tensorowy:: ops:: SerializujSparse:: Atrybuty
#include <sparse_ops.h>
Opcjonalne moduły ustawiające atrybuty dla SerializeSparse .
Streszczenie
Atrybuty publiczne |
---|
out_type_ = DT_STRING | DataType |
Funkcje publiczne |
---|
OutType (DataType x) | dtype który ma być używany do serializacji; obsługiwane typy to string (domyślnie) i variant . |
Atrybuty publiczne
typ_wyjściowy_
DataType tensorflow::ops::SerializeSparse::Attrs::out_type_ = DT_STRING
Funkcje publiczne
Typ zewnętrzny
TF_MUST_USE_RESULT Attrs tensorflow::ops::SerializeSparse::Attrs::OutType(
DataType x
)
dtype
który ma być używany do serializacji; obsługiwane typy to string
(domyślnie) i variant
.
Domyślnie jest to DT_STRING
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-26 UTC.
[null,null,["Ostatnia aktualizacja: 2025-07-26 UTC."],[],[],null,["# tensorflow::ops::SerializeSparse::Attrs Struct Reference\n\ntensorflow::ops::SerializeSparse::Attrs\n=======================================\n\n`#include \u003csparse_ops.h\u003e`\n\nOptional attribute setters for [SerializeSparse](/versions/r2.3/api_docs/cc/class/tensorflow/ops/serialize-sparse#classtensorflow_1_1ops_1_1_serialize_sparse).\n\nSummary\n-------\n\n| ### Public attributes ||\n|-----------------------------------------------------------------------------------------------------------------------|------------|\n| [out_type_](#structtensorflow_1_1ops_1_1_serialize_sparse_1_1_attrs_1ab088346154d2e50e3b6e376f32993817)` = DT_STRING` | `DataType` |\n\n| ### Public functions ||\n|---------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [OutType](#structtensorflow_1_1ops_1_1_serialize_sparse_1_1_attrs_1a1f8e34079a2ca362dad40166651acadf)`(DataType x)` | `TF_MUST_USE_RESULT `[Attrs](/versions/r2.3/api_docs/cc/struct/tensorflow/ops/serialize-sparse/attrs#structtensorflow_1_1ops_1_1_serialize_sparse_1_1_attrs) The `dtype` to use for serialization; the supported types are `string` (default) and `variant`. |\n\nPublic attributes\n-----------------\n\n### out_type_\n\n```carbon\nDataType tensorflow::ops::SerializeSparse::Attrs::out_type_ = DT_STRING\n``` \n\nPublic functions\n----------------\n\n### OutType\n\n```scdoc\nTF_MUST_USE_RESULT Attrs tensorflow::ops::SerializeSparse::Attrs::OutType(\n DataType x\n)\n``` \nThe `dtype` to use for serialization; the supported types are `string` (default) and `variant`.\n\nDefaults to DT_STRING"]]