تدفق التوتر:: العمليات:: مثال على التسلسل التحليلي:: أترز

#include <parsing_ops.h>

محددات السمات الاختيارية لـ ParseSequenceExample .

ملخص

الصفات العامة

Ncontext_dense_ = 0
int64
Ncontext_sparse_ = 0
int64
Nfeature_list_dense_ = 0
int64
Nfeature_list_sparse_ = 0
int64
context_dense_shapes_ = {}
gtl::ArraySlice< PartialTensorShape >
context_sparse_types_ = {}
DataTypeSlice
feature_list_dense_shapes_ = {}
gtl::ArraySlice< PartialTensorShape >
feature_list_dense_types_ = {}
DataTypeSlice
feature_list_sparse_types_ = {}
DataTypeSlice

الوظائف العامة

ContextDenseShapes (const gtl::ArraySlice< PartialTensorShape > & x)
TF_MUST_USE_RESULT Attrs
قائمة بأشكال Ncontext_dense؛ أشكال البيانات في كل ميزة سياقية موجودة في context_dense_keys.
ContextSparseTypes (const DataTypeSlice & x)
TF_MUST_USE_RESULT Attrs
قائمة بأنواع Ncontext_sparse؛ أنواع البيانات في كل ميزة سياقية موجودة في context_sparse_keys.
FeatureListDenseShapes (const gtl::ArraySlice< PartialTensorShape > & x)
TF_MUST_USE_RESULT Attrs
قائمة بالأشكال Nfeature_list_dense؛ أشكال البيانات في كل قائمة ميزات موجودة في feature_list_dense_keys.
FeatureListDenseTypes (const DataTypeSlice & x)
TF_MUST_USE_RESULT Attrs
الإعدادات الافتراضية إلى [].
FeatureListSparseTypes (const DataTypeSlice & x)
TF_MUST_USE_RESULT Attrs
قائمة بأنواع Nfeature_list_sparse؛ أنواع البيانات الموجودة في كل قائمة ميزات موجودة في feature_list_sparse_keys.
NcontextDense (int64 x)
TF_MUST_USE_RESULT Attrs
الإعدادات الافتراضية إلى 0.
NcontextSparse (int64 x)
TF_MUST_USE_RESULT Attrs
الإعدادات الافتراضية إلى 0.
NfeatureListDense (int64 x)
TF_MUST_USE_RESULT Attrs
الإعدادات الافتراضية إلى 0.
NfeatureListSparse (int64 x)
TF_MUST_USE_RESULT Attrs
الإعدادات الافتراضية إلى 0.

الصفات العامة

Ncontext_dense_

int64 tensorflow::ops::ParseSequenceExample::Attrs::Ncontext_dense_ = 0

Ncontext_sparse_

int64 tensorflow::ops::ParseSequenceExample::Attrs::Ncontext_sparse_ = 0

Nfeature_list_dense_

int64 tensorflow::ops::ParseSequenceExample::Attrs::Nfeature_list_dense_ = 0

Nfeature_list_sparse_

int64 tensorflow::ops::ParseSequenceExample::Attrs::Nfeature_list_sparse_ = 0

context_dense_shapes_

gtl::ArraySlice< PartialTensorShape > tensorflow::ops::ParseSequenceExample::Attrs::context_dense_shapes_ = {}

context_sparse_types_

DataTypeSlice tensorflow::ops::ParseSequenceExample::Attrs::context_sparse_types_ = {}

feature_list_dense_shapes_

gtl::ArraySlice< PartialTensorShape > tensorflow::ops::ParseSequenceExample::Attrs::feature_list_dense_shapes_ = {}

feature_list_dense_types_

DataTypeSlice tensorflow::ops::ParseSequenceExample::Attrs::feature_list_dense_types_ = {}

feature_list_sparse_types_

DataTypeSlice tensorflow::ops::ParseSequenceExample::Attrs::feature_list_sparse_types_ = {}

الوظائف العامة

ContextDenseShapes

TF_MUST_USE_RESULT Attrs tensorflow::ops::ParseSequenceExample::Attrs::ContextDenseShapes(
  const gtl::ArraySlice< PartialTensorShape > & x
)

قائمة بأشكال Ncontext_dense؛ أشكال البيانات في كل ميزة سياقية موجودة في context_dense_keys.

يجب أن يكون عدد العناصر في الميزة المقابلة لـ context_dense_key[j] مساويًا دائمًا لـ context_dense_shapes[j].NumEntries(). سوف يتطابق شكل context_dense_values[j] مع context_dense_shapes[j].

الإعدادات الافتراضية إلى []

أنواع السياق

TF_MUST_USE_RESULT Attrs tensorflow::ops::ParseSequenceExample::Attrs::ContextSparseTypes(
  const DataTypeSlice & x
)

قائمة بأنواع Ncontext_sparse؛ أنواع البيانات في كل ميزة سياقية موجودة في context_sparse_keys.

يدعم ParseSingleSequenceExample حاليًا DT_FLOAT (FloatList)، وDT_INT64 (Int64List)، وDT_STRING (BytesList).

الإعدادات الافتراضية إلى []

قائمة المميزاتDenseShapes

TF_MUST_USE_RESULT Attrs tensorflow::ops::ParseSequenceExample::Attrs::FeatureListDenseShapes(
  const gtl::ArraySlice< PartialTensorShape > & x
)

قائمة بالأشكال Nfeature_list_dense؛ أشكال البيانات في كل قائمة ميزات موجودة في feature_list_dense_keys.

يجب أن يكون شكل كل ميزة في قائمة الميزات المقابلة لـ feature_list_dense_key[j] مساويًا دائمًا لـ feature_list_dense_shapes[j].NumEntries().

الإعدادات الافتراضية إلى []

FeaturesListDenseTypes

TF_MUST_USE_RESULT Attrs tensorflow::ops::ParseSequenceExample::Attrs::FeatureListDenseTypes(
  const DataTypeSlice & x
)

الإعدادات الافتراضية إلى [].

قائمة الميزاتSparseTypes

TF_MUST_USE_RESULT Attrs tensorflow::ops::ParseSequenceExample::Attrs::FeatureListSparseTypes(
  const DataTypeSlice & x
)

قائمة بأنواع Nfeature_list_sparse؛ أنواع البيانات الموجودة في كل قائمة ميزات موجودة في feature_list_sparse_keys.

يدعم ParseSingleSequenceExample حاليًا DT_FLOAT (FloatList)، وDT_INT64 (Int64List)، وDT_STRING (BytesList).

الإعدادات الافتراضية إلى []

NcontextDense

TF_MUST_USE_RESULT Attrs tensorflow::ops::ParseSequenceExample::Attrs::NcontextDense(
  int64 x
)

الإعدادات الافتراضية إلى 0.

NcontextSparse

TF_MUST_USE_RESULT Attrs tensorflow::ops::ParseSequenceExample::Attrs::NcontextSparse(
  int64 x
)

الإعدادات الافتراضية إلى 0.

NfeatureListDense

TF_MUST_USE_RESULT Attrs tensorflow::ops::ParseSequenceExample::Attrs::NfeatureListDense(
  int64 x
)

الإعدادات الافتراضية إلى 0.

NfeatureListSparse

TF_MUST_USE_RESULT Attrs tensorflow::ops::ParseSequenceExample::Attrs::NfeatureListSparse(
  int64 x
)

الإعدادات الافتراضية إلى 0.