flux tensoriel : : opérations : : Casting

#include <math_ops.h>

Convertissez x de type SrcT en y de DstT.

Résumé

Arguments:

  • scope : un objet Scope

Retour:

Constructeurs et Destructeurs

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

Attributs publics

operation
y

Fonctions publiques

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

Fonctions statiques publiques

Truncate (bool x)

Structures

tensorflow :: ops :: Cast :: Attrs

Setters d'attributs facultatifs pour Cast .

Attributs publics

opération

Operation operation

oui

::tensorflow::Output y

Fonctions publiques

Casting

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

Casting

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

nœud

::tensorflow::Node * node() const 

opérateur :: tensorflow :: Entrée

 operator::tensorflow::Input() const 

opérateur :: tensorflow :: Sortie

 operator::tensorflow::Output() const 

Fonctions statiques publiques

Tronquer

Attrs Truncate(
  bool x
)