tensorflow:: ops:: ParseSingleSequenceExample:: Attrs

#include <parsing_ops.h>

ParseSingleSequenceExampleのオプション属性セッター。

まとめ

公開属性

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 の形状のリスト。各コンテキスト Feature 内のデータの形状は 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 個の形状のリスト。各 FeatureList 内のデータの形状は 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型のリスト。各FeatureList内のデータのデータ型はfeature_list_sparse_keysで指定されます。

公開属性

コンテキスト_高密度形状_

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

コンテキスト_スパース型_

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

機能リスト_高密度形状_

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

機能リスト_高密度タイプ_

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

機能リスト_スパース型_

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

公的機能

コンテキストの密な形状

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

Ncontext_dense の形状のリスト。各コンテキスト Feature 内のデータの形状は context_dense_keys で指定されます。

context_dense_key[j]に対応するFeature内の要素数は、常にcontext_dense_shapes[j].NumEntries()と等しくなければなりません。context_dense_values[j]の形状はcontext_dense_shapes[j]と一致します。

デフォルトは[]

コンテキストスパースタイプ

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

Ncontext_sparse型のリスト。context_sparse_keysで指定された各コンテキスト機能内のデータのデータ型。

現在、 ParseSingleSequenceExample はDT_FLOAT (FloatList)、DT_INT64 (Int64List)、および DT_STRING (BytesList) をサポートしています。

デフォルトは[]

FeatureListDenseShapes

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

Nfeature_list_dense 個の形状のリスト。各 FeatureList 内のデータの形状は feature_list_dense_keys で指定されます。

feature_list_dense_key[j]に対応するFeatureList内の各Featureの形状は、常にfeature_list_dense_shapes[j].NumEntries()と等しくなければなりません。

デフォルトは[]

FeatureListDenseTypes

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

デフォルトは[]です。

FeatureListSparseTypes

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

Nfeature_list_sparse型のリスト。各FeatureList内のデータのデータ型はfeature_list_sparse_keysで指定されます。

現在、 ParseSingleSequenceExample はDT_FLOAT (FloatList)、DT_INT64 (Int64List)、および DT_STRING (BytesList) をサポートしています。

デフォルトは[]