tensorflow::ops::Cast

#include <math_ops.h>

Преобразовать x типа SrcT в y типа DstT.

Краткое содержание

Аргументы:

  • scope: Объект Scope

Возвращает:

Конструкторы и Деструкторы

Cast (const :: tensorflow::Scope & scope, :: tensorflow::Input x, DataType DstT)
Cast (const :: tensorflow::Scope & scope, :: tensorflow::Input x, DataType DstT, const Cast::Attrs & attrs)

Общедоступные атрибуты

operation
y

Общественные функции

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

Открытые статические функции

Truncate (bool x)

Структуры

tensorflow::ops::Cast::Attrs

Дополнительные параметры установки атрибутов для Cast .

Общедоступные атрибуты

операция

Operation operation

й

::tensorflow::Output y

Общественные функции

Бросать

 Cast(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input x,
  DataType DstT
)

Бросать

 Cast(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input x,
  DataType DstT,
  const Cast::Attrs & attrs
)

узел

::tensorflow::Node * node() const 

оператор::tensorflow::Input

 operator::tensorflow::Input() const 

оператор::tensorflow::Output

 operator::tensorflow::Output() const 

Открытые статические функции

Усечь

Attrs Truncate(
  bool x
)