dòng chảy căng:: ôi:: ParseSequenceExampleV2:: Attr

#include <parsing_ops.h>

Trình 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
Danh sách các hình dạng Ncontext_dense; hình dạng của dữ liệu trong từng ngữ cảnh Tính năng được đưa ra trong context_dense_keys.
ContextRaggedSplitTypes (const DataTypeSlice & x)
TF_MUST_USE_RESULT Attrs
RaggedTensor.row_split dtypes cho các tính năng ngữ cảnh rời rạc.
ContextRaggedValueTypes (const DataTypeSlice & x)
TF_MUST_USE_RESULT Attrs
Các kiểu dữ liệu RaggedTensor.value cho các tính năng ngữ cảnh rời rạc.
ContextSparseTypes (const DataTypeSlice & x)
TF_MUST_USE_RESULT Attrs
Danh sách các loại Ncontext_sparse; các kiểu dữ liệu của dữ liệu trong từng ngữ cảnh Tính năng được đưa ra trong context_sparse_keys.
FeatureListDenseShapes (const gtl::ArraySlice< PartialTensorShape > & x)
TF_MUST_USE_RESULT Attrs
Danh sách các hình dạng Nfeature_list_dense; hình dạng của 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
RaggedTensor.row_split dtypes cho các tính năng FeatureList rời rạc.
FeatureListRaggedValueTypes (const DataTypeSlice & x)
TF_MUST_USE_RESULT Attrs
Các kiểu dtype RaggedTensor.value cho các tính năng FeatureList bị rách.
FeatureListSparseTypes (const DataTypeSlice & x)
TF_MUST_USE_RESULT Attrs
Danh sách các loại Nfeature_list_sparse; 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

bối cảnh_dense_shapes_

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

bối cảnh_ragged_split_types_

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

bối cảnh_ragged_value_types_

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

bối cảnh_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

Bối cảnhDày đặcHình dạng

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

Danh sách các hình dạng Ncontext_dense; hình dạng của dữ liệu trong từng ngữ cảnh Tính năng được đưa ra trong context_dense_keys.

Số phần tử trong Đối tượng 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à []

Bối cảnhRaggedSplitTypes

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

RaggedTensor.row_split dtypes cho các tính năng ngữ cảnh rời rạc.

Mặc định là []

Bối cảnhRaggedValueTypes

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

Các kiểu dữ liệu RaggedTensor.value cho các tính năng ngữ cảnh rời rạc.

Mặc định là []

Bối cảnhCác loại thưa thớt

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

Danh sách các loại Ncontext_sparse; các kiểu dữ liệu của dữ liệu trong từng ngữ cảnh Tính năng được đưa ra trong context_sparse_keys.

Hiện tại ParseSingleSequenceExample hỗ trợ DT_FLOAT (FloatList), DT_INT64 (Int64List) và DT_STRING (BytesList).

Mặc định là []

Danh sách tính năngDenseShapes

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

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

Hình dạng của từng Tính năng trong FeatureList 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à []

Danh sách tính năngDenseTypes

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

Mặc định là [].

FeatureListRaggedSplitTypes

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

RaggedTensor.row_split dtypes cho các tính năng FeatureList rời rạc.

Mặc định là []

FeatureListRaggedValueTypes

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

Các kiểu dtype RaggedTensor.value cho các tính năng FeatureList bị rách.

Mặc định là []

Danh sách tính năngSparseTypes

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

Danh sách các loại Nfeature_list_sparse; 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ợ DT_FLOAT (FloatList), DT_INT64 (Int64List) và DT_STRING (BytesList).

Mặc định là []

NcontextThưa thớt

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.

NfeatureListThưa thớt

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

Mặc định là 0.