tensorflow:: ops:: StringStrip

#include <string_ops.h>

הסירו את הרווחים הלבנים המובילים והנגררים מהטנזור .

תַקצִיר

טיעונים:

  • היקף: אובייקט היקף
  • קלט: Tensor מחרוזת מכל צורה שהיא.

החזרות:

דוגמאות:

tf.strings.strip(["\nTensorFlow", "ספריית הפייתון"]).numpy() array([b'TensorFlow', b'ספריית הפייתון'], dtype=אובייקט)

בנאים והורסים

StringStrip (const :: tensorflow::Scope & scope, :: tensorflow::Input input)

מאפיינים ציבוריים

operation
output

תפקידים ציבוריים

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

מאפיינים ציבוריים

מִבצָע

Operation operation

תְפוּקָה

::tensorflow::Output output

תפקידים ציבוריים

סטריפ

 StringStrip(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input input
)

צוֹמֶת

::tensorflow::Node * node() const 

אופרטור::tensorflow::קלט

 operator::tensorflow::Input() const 

אופרטור::tensorflow::פלט

 operator::tensorflow::Output() const