Spec-Zone.ru › TensorFlow C++ 1.15

tensorflow::ops::RecordInput

#include <data_flow_ops.h>

Выпускает случайные записи.

Summary

Arguments:

  • scope: An object Scope
  • file_pattern: Шаблон имен файлов для данных.

Optional attributes (see Attrs):

  • file_random_seed: Случайные значения, используемые для генерации случайных записей.
  • file_shuffle_shift_ratio: Смещает список файлов после случайной перестановки.
  • file_buffer_size: Буфер случайной перестановки.
  • file_parallelism: Количество файлов SSTable, которые открываются и обрабатываются одновременно.
  • batch_size: Размер пакета.
  • compression_type: Тип сжатия файла. В настоящее время поддерживаются ZLIB и GZIP. По умолчанию — без сжатия.

Returns:

  • Output: A tensor of shape [batch_size].
Конструкторы и деструкторы
RecordInput(const ::tensorflow::Scope & scope, StringPiece file_pattern)
RecordInput(const ::tensorflow::Scope & scope, StringPiece file_pattern, const RecordInput::Attrs & attrs)
Общедоступные атрибуты
operation
Operation
records
::tensorflow::Output
Общедоступные функции
node() const
::tensorflow::Node *
operator::tensorflow::Input() const
operator::tensorflow::Output() const
Общедоступные статические функции
BatchSize(int64 x)
Attrs
CompressionType(StringPiece x)
Attrs
FileBufferSize(int64 x)
Attrs
FileParallelism(int64 x)
Attrs
FileRandomSeed(int64 x)
Attrs
FileShuffleShiftRatio(float x)
Attrs
Структуры
tensorflow::ops::RecordInput::Attrs

Настройка дополнительных атрибутов для RecordInput.

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

operation

Operation operation

records

::tensorflow::Output records

Общедоступные функции

RecordInput

 RecordInput(
  const ::tensorflow::Scope & scope,
  StringPiece file_pattern
)

RecordInput

 RecordInput(
  const ::tensorflow::Scope & scope,
  StringPiece file_pattern,
  const RecordInput::Attrs & attrs
)

node

::tensorflow::Node * node() const 

operator::tensorflow::Input

operator::tensorflow::Input() const 

operator::tensorflow::Output

operator::tensorflow::Output() const 

Общедоступные статические функции

BatchSize

Attrs BatchSize(
  int64 x
)

CompressionType

Attrs CompressionType(
  StringPiece x
)

FileBufferSize

Attrs FileBufferSize(
  int64 x
)

FileParallelism

Attrs FileParallelism(
  int64 x
)

FileRandomSeed

Attrs FileRandomSeed(
  int64 x
)

FileShuffleShiftRatio

Attrs FileShuffleShiftRatio(
  float x
)

© 2020 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 3.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/versions/r1.15/api_docs/cc/class/tensorflow/ops/record-input

Spec-Zone.ru

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