텐서플로우::ops::StringFormat

#include <string_ops.h>

텐서 목록을 사용하여 문자열 템플릿의 형식을 지정합니다.

요약

텐서 목록을 사용하여 문자열 템플릿 형식을 지정하고 텐서 요약을 보기 좋게 출력합니다.

논거:

  • 범위: Scope 객체
  • 입력: 플레이스홀더 문자열로 포맷할 텐서 목록입니다.

선택적 속성( Attrs 참조):

  • template_: 텐서 요약을 포맷팅하는 데 사용할 문자열 템플릿입니다.
  • 플레이스홀더: 템플릿의 각 플레이스홀더에는 후속 텐서 요약이 삽입될 문자열입니다.
  • 요약: 텐서 요약을 포맷팅할 때 각 텐서 차원의 첫 번째와 마지막 요약 항목을 출력합니다.

보고:

  • Output : = 결과 문자열 스칼라 값입니다.

생성자와 소멸자

StringFormat (const :: tensorflow::Scope & scope, :: tensorflow::InputList inputs)
StringFormat (const :: tensorflow::Scope & scope, :: tensorflow::InputList inputs, const StringFormat::Attrs & attrs)

공개 속성

operation
output

공공 기능

node () const
::tensorflow::Node *
operator::tensorflow::Input () const
operator::tensorflow::Output () const

공개 정적 함수

Placeholder (StringPiece x)
Summarize (int64 x)
Template (StringPiece x)

구조

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

StringFormat 에 대한 선택적 속성 설정기입니다.

공개 속성

작업

Operation operation

산출

::tensorflow::Output output

공공 기능

문자열 형식

 StringFormat(
  const ::tensorflow::Scope & scope,
  ::tensorflow::InputList inputs
)

문자열 형식

 StringFormat(
  const ::tensorflow::Scope & scope,
  ::tensorflow::InputList inputs,
  const StringFormat::Attrs & attrs
)

마디

::tensorflow::Node * node() const 

연산자::텐서플로우::입력

 operator::tensorflow::Input() const 

연산자::텐서플로우::출력

 operator::tensorflow::Output() const 

공개 정적 함수

자리 표시자

Attrs Placeholder(
  StringPiece x
)

요약하다

Attrs Summarize(
  int64 x
)

주형

Attrs Template(
  StringPiece x
)