Spec-Zone.ru › TensorFlow C++ 2.4

tensorflow::ops::DataFormatDimMap::Attrs

#include <nn_ops.h>

Дополнительные атрибуты для DataFormatDimMap.

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

Публичные атрибуты
dst_format_ = "NCHW"
StringPiece
src_format_ = "NHWC"
StringPiece
Публичные функции
DstFormat(StringPiece x)
TF_MUST_USE_RESULT Attrs
формат данных назначения.
SrcFormat(StringPiece x)
TF_MUST_USE_RESULT Attrs
формат данных источника.

Публичные атрибуты

dst_format_

StringPiece tensorflow::ops::DataFormatDimMap::Attrs::dst_format_ = "NCHW"

src_format_

StringPiece tensorflow::ops::DataFormatDimMap::Attrs::src_format_ = "NHWC"

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

DstFormat

TF_MUST_USE_RESULT Attrs tensorflow::ops::DataFormatDimMap::Attrs::DstFormat(
  StringPiece x
)

формат данных назначения.

По умолчанию "NCHW"

SrcFormat

TF_MUST_USE_RESULT Attrs tensorflow::ops::DataFormatDimMap::Attrs::SrcFormat(
  StringPiece x
)

формат данных источника.

По умолчанию "NHWC"

© 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/struct/tensorflow/ops/data-format-dim-map/attrs

Spec-Zone.ru

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