tensorflow::ops::ParseSequenceExampleV2::Attrs

#include <parsing_ops.h>

Các thiết lập thuộc tính tùy chọn cho ParseSequenceExampleV2 .

Bản tóm tắt

Thuộc tính công khai

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

Chức năng công cộng

ContextDenseShapes (const gtl::ArraySlice< PartialTensorShape > & x)
TF_MUST_USE_RESULT Attrs
Một danh sách các hình dạng Ncontext_dense; các hình dạng dữ liệu trong mỗi ngữ cảnh Feature được cung cấp trong context_dense_keys.
ContextRaggedSplitTypes (const DataTypeSlice & x)
TF_MUST_USE_RESULT Attrs
Các kiểu dữ liệu RaggedTensor.row_split dành cho các đặc trưng ngữ cảnh không đồng nhất.
ContextRaggedValueTypes (const DataTypeSlice & x)
TF_MUST_USE_RESULT Attrs
Kiểu dữ liệu RaggedTensor.value dành cho các đặc trưng ngữ cảnh không đồng nhất.
ContextSparseTypes (const DataTypeSlice & x)
TF_MUST_USE_RESULT Attrs
Một danh sách các kiểu Ncontext_sparse; kiểu dữ liệu của dữ liệu trong mỗi ngữ cảnh Feature được cung cấp trong context_sparse_keys.
FeatureListDenseShapes (const gtl::ArraySlice< PartialTensorShape > & x)
TF_MUST_USE_RESULT Attrs
Một danh sách các hình dạng Nfeature_list_dense; các hình dạng dữ liệu trong mỗi FeatureList được cung cấp trong feature_list_dense_keys.
FeatureListDenseTypes (const DataTypeSlice & x)
TF_MUST_USE_RESULT Attrs
Mặc định là [].
FeatureListRaggedSplitTypes (const DataTypeSlice & x)
TF_MUST_USE_RESULT Attrs
Các kiểu dữ liệu RaggedTensor.row_split dành cho các đặc trưng FeatureList không đồng nhất.
FeatureListRaggedValueTypes (const DataTypeSlice & x)
TF_MUST_USE_RESULT Attrs
Kiểu dữ liệu RaggedTensor.value dành cho các đặc trưng FeatureList không đồng nhất.
FeatureListSparseTypes (const DataTypeSlice & x)
TF_MUST_USE_RESULT Attrs
Một danh sách gồm Nfeature_list_sparse types; các kiểu dữ liệu của dữ liệu trong mỗi FeatureList được cung cấp trong feature_list_sparse_keys.
NcontextSparse (int64 x)
TF_MUST_USE_RESULT Attrs
Mặc định là 0.
NfeatureListDense (int64 x)
TF_MUST_USE_RESULT Attrs
Mặc định là 0.
NfeatureListSparse (int64 x)
TF_MUST_USE_RESULT Attrs
Mặc định là 0.

Thuộc tính công khai

Ncontext_sparse_

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

Nfeature_list_dense_

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

Nfeature_list_sparse_

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

context_dense_shapes_

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

context_ragged_split_types_

DataTypeSlice tensorflow::ops::ParseSequenceExampleV2::Attrs::context_ragged_split_types_ = {}

context_ragged_value_types_

DataTypeSlice tensorflow::ops::ParseSequenceExampleV2::Attrs::context_ragged_value_types_ = {}

context_sparse_types_

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

feature_list_dense_shapes_

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

feature_list_dense_types_

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

feature_list_ragged_split_types_

DataTypeSlice tensorflow::ops::ParseSequenceExampleV2::Attrs::feature_list_ragged_split_types_ = {}

feature_list_ragged_value_types_

DataTypeSlice tensorflow::ops::ParseSequenceExampleV2::Attrs::feature_list_ragged_value_types_ = {}

feature_list_sparse_types_

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

Chức năng công cộng

ContextDenseShapes

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

Một danh sách các hình dạng Ncontext_dense; các hình dạng dữ liệu trong mỗi ngữ cảnh Feature được cung cấp trong context_dense_keys.

Số lượng phần tử trong Feature tương ứng với context_dense_key[j] phải luôn bằng context_dense_shapes[j].NumEntries(). Hình dạng của context_dense_values[j] sẽ khớp với context_dense_shapes[j].

Mặc định là []

ContextRaggedSplitTypes

TF_MUST_USE_RESULT Attrs tensorflow::ops::ParseSequenceExampleV2::Attrs::ContextRaggedSplitTypes(
  const DataTypeSlice & x
)

Các kiểu dữ liệu RaggedTensor.row_split dành cho các đặc trưng ngữ cảnh không đồng nhất.

Mặc định là []

ContextRaggedValueTypes

TF_MUST_USE_RESULT Attrs tensorflow::ops::ParseSequenceExampleV2::Attrs::ContextRaggedValueTypes(
  const DataTypeSlice & x
)

Kiểu dữ liệu RaggedTensor.value dành cho các đặc trưng ngữ cảnh không đồng nhất.

Mặc định là []

ContextSparseTypes

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

Một danh sách các kiểu Ncontext_sparse; kiểu dữ liệu của dữ liệu trong mỗi ngữ cảnh Feature được cung cấp trong context_sparse_keys.

Hiện tại, ParseSingleSequenceExample hỗ trợ các kiểu dữ liệu DT_FLOAT (FloatList), DT_INT64 (Int64List) và DT_STRING (BytesList).

Mặc định là []

Danh sách tính năng Hình dạng dày đặc

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

Một danh sách các hình dạng Nfeature_list_dense; các hình dạng dữ liệu trong mỗi FeatureList được cung cấp trong feature_list_dense_keys.

Hình dạng của mỗi Đặc trưng trong Danh sách Đặc trưng tương ứng với feature_list_dense_key[j] phải luôn bằng feature_list_dense_shapes[j].NumEntries().

Mặc định là []

FeatureListDenseTypes

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

Mặc định là [].

Danh sách tính năng RaggedSplitTypes

TF_MUST_USE_RESULT Attrs tensorflow::ops::ParseSequenceExampleV2::Attrs::FeatureListRaggedSplitTypes(
  const DataTypeSlice & x
)

Các kiểu dữ liệu RaggedTensor.row_split dành cho các đặc trưng FeatureList không đồng nhất.

Mặc định là []

FeatureListRaggedValueTypes

TF_MUST_USE_RESULT Attrs tensorflow::ops::ParseSequenceExampleV2::Attrs::FeatureListRaggedValueTypes(
  const DataTypeSlice & x
)

Kiểu dữ liệu RaggedTensor.value dành cho các đặc trưng FeatureList không đồng nhất.

Mặc định là []

FeatureListSparseTypes

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

Một danh sách gồm Nfeature_list_sparse types; các kiểu dữ liệu của dữ liệu trong mỗi FeatureList được cung cấp trong feature_list_sparse_keys.

Hiện tại, ParseSingleSequenceExample hỗ trợ các kiểu dữ liệu DT_FLOAT (FloatList), DT_INT64 (Int64List) và DT_STRING (BytesList).

Mặc định là []

NcontextSparse

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

Mặc định là 0.

NfeatureListDense

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

Mặc định là 0.

NfeatureListSparse

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

Mặc định là 0.