텐서플로우:: 작전:: 문자열 형식

#include <string_ops.h>

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

요약

텐서 목록을 사용하여 문자열 템플릿의 형식을 지정하고 텐서 요약을 예쁘게 인쇄합니다.

인수:

  • 범위: 범위 개체
  • 입력: 자리 표시자 문자열로 형식화할 텐서 목록입니다.

선택적 속성( Attrs 참조):

  • template_: 문자열, 텐서 요약의 형식을 지정하는 템플릿입니다.
  • placeholder: 템플릿의 각 자리 표시자에 후속 텐서 요약이 삽입되는 문자열입니다.
  • 요약: 텐서 요약의 형식을 지정할 때 각 텐서 차원의 첫 번째 및 마지막 요약 항목을 인쇄합니다.

보고:

  • 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
)