텐서플로우:: 작전:: 구문 분석순서예

#include <parsing_ops.h>

Brain.SequenceExample proto의 벡터(문자열)를 형식화된 텐서로 변환합니다.

요약

인수:

  • 범위: 범위 개체
  • serialized: 바이너리 직렬화된 SequenceExample proto를 포함하는 벡터입니다.
  • debug_name: 직렬화된 proto의 이름을 포함하는 벡터입니다. 예를 들어 해당 직렬화된 proto에 대한 테이블 키(설명) 이름이 포함될 수 있습니다. 이는 디버깅 목적으로만 유용하며 여기에 값이 있어도 출력에는 영향을 미치지 않습니다. 이름을 사용할 수 없는 경우 빈 벡터일 수도 있습니다.
  • context_dense_defaults: Ncontext_dense Tensor 목록(일부는 비어 있을 수 있음) context_dense_defaults[j]는 SequenceExample의 컨텍스트 맵에 context_dense_key[j]가 없을 때 기본값을 제공합니다. context_dense_defaults[j]에 빈 Tensor가 제공되면 context_dense_keys[j] 기능이 필요합니다. 입력 유형은 비어 있는 경우에도 context_dense_defaults[j]에서 추론됩니다. context_dense_defaults[j]가 비어 있지 않은 경우 해당 모양은 context_dense_shapes[j]와 일치해야 합니다.
  • feature_list_dense_missing_assumed_empty: SequenceExamples에서 누락될 수 있는 FeatureList 키를 나열하는 벡터입니다. 연관된 FeatureList가 누락된 경우 비어 있는 것으로 처리됩니다. 기본적으로 이 벡터에 나열되지 않은 FeatureList는 SequenceExamples에 존재해야 합니다.
  • context_sparse_keys: Ncontext_sparse 문자열 텐서(스칼라) 목록입니다. context_sparse 값과 관련된 예제 기능에서 예상되는 키입니다.
  • context_dense_keys: Ncontext_dense 문자열 텐서(스칼라) 목록입니다. SequenceExamples의 컨텍스트 기능에서 예상되는 키는 밀집된 값과 연결되어 있습니다.
  • feature_list_sparse_keys: Nfeature_list_sparse 문자열 텐서(스칼라) 목록입니다. 희소 값과 연관된 FeatureLists에 예상되는 키입니다.
  • feature_list_dense_keys: Nfeature_list_dense 문자열 텐서(스칼라) 목록입니다. 조밀한 값 목록과 연결된 SequenceExamples의 feature_lists에 예상되는 키입니다.

선택적 속성( Attrs 참조):

  • context_sparse_types: Ncontext_sparse 유형 목록입니다. context_sparse_keys에 제공된 각 컨텍스트 기능의 데이터 유형입니다. 현재 ParseSingleSequenceExample 은 DT_FLOAT(FloatList), DT_INT64(Int64List) 및 DT_STRING(BytesList)을 지원합니다.
  • context_dense_shapes: Ncontext_dense 모양의 목록입니다. context_dense_keys에 제공된 각 컨텍스트 기능의 데이터 모양입니다. context_dense_key[j]에 해당하는 기능의 요소 수는 항상 context_dense_shapes[j].NumEntries()와 동일해야 합니다. context_dense_values[j]의 모양은 context_dense_shapes[j]와 일치합니다.
  • feature_list_sparse_types: Nfeature_list_sparse 유형 목록입니다. feature_list_sparse_keys에 제공된 각 FeatureList의 데이터 유형입니다. 현재 ParseSingleSequenceExample 은 DT_FLOAT(FloatList), DT_INT64(Int64List) 및 DT_STRING(BytesList)을 지원합니다.
  • feature_list_dense_shapes: Nfeature_list_dense 모양의 목록입니다. feature_list_dense_keys에 지정된 각 FeatureList의 데이터 모양. feature_list_dense_key[j]에 해당하는 FeatureList의 각 지형지물의 모양은 항상 feature_list_dense_shapes[j].NumEntries()와 동일해야 합니다.

보고:

  • OutputList context_sparse_indices
  • OutputList context_sparse_values
  • OutputList context_sparse_shapes
  • OutputList context_dense_values
  • OutputList feature_list_sparse_indices
  • OutputList feature_list_sparse_values
  • OutputList feature_list_sparse_shapes
  • OutputList feature_list_dense_values
  • OutputList feature_list_dense_lengths

생성자와 소멸자

ParseSequenceExample (const :: tensorflow::Scope & scope, :: tensorflow::Input serialized, :: tensorflow::Input debug_name, :: tensorflow::InputList context_dense_defaults, const gtl::ArraySlice< string > & feature_list_dense_missing_assumed_empty, const gtl::ArraySlice< string > & context_sparse_keys, const gtl::ArraySlice< string > & context_dense_keys, const gtl::ArraySlice< string > & feature_list_sparse_keys, const gtl::ArraySlice< string > & feature_list_dense_keys)
ParseSequenceExample (const :: tensorflow::Scope & scope, :: tensorflow::Input serialized, :: tensorflow::Input debug_name, :: tensorflow::InputList context_dense_defaults, const gtl::ArraySlice< string > & feature_list_dense_missing_assumed_empty, const gtl::ArraySlice< string > & context_sparse_keys, const gtl::ArraySlice< string > & context_dense_keys, const gtl::ArraySlice< string > & feature_list_sparse_keys, const gtl::ArraySlice< string > & feature_list_dense_keys, const ParseSequenceExample::Attrs & attrs)

공개 속성

context_dense_values
context_sparse_indices
context_sparse_shapes
context_sparse_values
feature_list_dense_lengths
feature_list_dense_values
feature_list_sparse_indices
feature_list_sparse_shapes
feature_list_sparse_values
operation

공개 정적 함수

ContextDenseShapes (const gtl::ArraySlice< PartialTensorShape > & x)
ContextSparseTypes (const DataTypeSlice & x)
FeatureListDenseShapes (const gtl::ArraySlice< PartialTensorShape > & x)
FeatureListDenseTypes (const DataTypeSlice & x)
FeatureListSparseTypes (const DataTypeSlice & x)
NcontextDense (int64 x)
NcontextSparse (int64 x)
NfeatureListDense (int64 x)
NfeatureListSparse (int64 x)

구조체

텐서플로우:: ops:: ParseSequenceExample:: Attrs

ParseSequenceExample 에 대한 선택적 속성 설정자입니다.

공개 속성

context_dense_values

::tensorflow::OutputList context_dense_values

context_sparse_indices

::tensorflow::OutputList context_sparse_indices

context_sparse_shapes

::tensorflow::OutputList context_sparse_shapes

context_sparse_values

::tensorflow::OutputList context_sparse_values

feature_list_dense_lengths

::tensorflow::OutputList feature_list_dense_lengths

feature_list_dense_values

::tensorflow::OutputList feature_list_dense_values

feature_list_sparse_indices

::tensorflow::OutputList feature_list_sparse_indices

feature_list_sparse_shapes

::tensorflow::OutputList feature_list_sparse_shapes

feature_list_sparse_values

::tensorflow::OutputList feature_list_sparse_values

작업

Operation operation

공공 기능

구문 분석순서예

 ParseSequenceExample(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input serialized,
  ::tensorflow::Input debug_name,
  ::tensorflow::InputList context_dense_defaults,
  const gtl::ArraySlice< string > & feature_list_dense_missing_assumed_empty,
  const gtl::ArraySlice< string > & context_sparse_keys,
  const gtl::ArraySlice< string > & context_dense_keys,
  const gtl::ArraySlice< string > & feature_list_sparse_keys,
  const gtl::ArraySlice< string > & feature_list_dense_keys
)

구문 분석순서예

 ParseSequenceExample(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input serialized,
  ::tensorflow::Input debug_name,
  ::tensorflow::InputList context_dense_defaults,
  const gtl::ArraySlice< string > & feature_list_dense_missing_assumed_empty,
  const gtl::ArraySlice< string > & context_sparse_keys,
  const gtl::ArraySlice< string > & context_dense_keys,
  const gtl::ArraySlice< string > & feature_list_sparse_keys,
  const gtl::ArraySlice< string > & feature_list_dense_keys,
  const ParseSequenceExample::Attrs & attrs
)

공개 정적 함수

ContextDenseShapes

Attrs ContextDenseShapes(
  const gtl::ArraySlice< PartialTensorShape > & x
)

ContextSparseTypes

Attrs ContextSparseTypes(
  const DataTypeSlice & x
)

FeatureListDenseShapes

Attrs FeatureListDenseShapes(
  const gtl::ArraySlice< PartialTensorShape > & x
)

FeatureListDenseTypes

Attrs FeatureListDenseTypes(
  const DataTypeSlice & x
)

FeatureListSparseTypes

Attrs FeatureListSparseTypes(
  const DataTypeSlice & x
)

NcontextDense

Attrs NcontextDense(
  int64 x
)

NcontextSparse

Attrs NcontextSparse(
  int64 x
)

NfeatureList밀도

Attrs NfeatureListDense(
  int64 x
)

NfeatureList스파스

Attrs NfeatureListSparse(
  int64 x
)