Spec-Zone.ru › TensorFlow C++ 2.4

tensorflow::InputList

#include <ops.h>

Тип для представления входных данных для операций, требующих список тензоров.

Краткое описание

Конструкторы и деструкторы
InputList(const OutputList & out)
Неявное преобразование списка выходов в список входов.
InputList(const std::initializer_list< Input > & inputs)
InputList(const tensorflow::gtl::ArraySlice< Input > & inputs)
InputList(const std::initializer_list< Output > & out)
Публичные функции
begin()
std::vector< Input >::iterator
begin() const
std::vector< Input >::const_iterator
end()
std::vector< Input >::iterator
end() const
std::vector< Input >::const_iterator

Публичные функции

InputList

 InputList(
  const OutputList & out
)

Неявное преобразование списка выходов в список входов.

Это полезно для написания кода, например, ops::Concat(ops::Split(x, 4)).

InputList

 InputList(
  const std::initializer_list< Input > & inputs
)

InputList

 InputList(
  const tensorflow::gtl::ArraySlice< Input > & inputs
)

InputList

 InputList(
  const std::initializer_list< Output > & out
)

begin

std::vector< Input >::iterator begin()

begin

std::vector< Input >::const_iterator begin() const 

end

std::vector< Input >::iterator end()

end

std::vector< Input >::const_iterator end() const 

© 2020 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 4.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/versions/r2.4/api_docs/cc/class/tensorflow/input-list

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API