コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
#include <nn_ops.h>
指定された宛先データ形式で並べ替えられたベクトル/テンソルを返します。
まとめ
1 つはソース データ形式です。
引数:
- スコープ:スコープオブジェクト
- x: ソース データ形式のサイズ 4 のベクトルまたは形状 (4, 2) のテンソル。
オプションの属性 ( Attrs
を参照):
- src_format: ソースデータ形式。
- dst_format: 宛先データ形式。
戻り値:
パブリック属性
公共機能
パブリック静的関数
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-07-26 UTC。
[null,null,["最終更新日 2025-07-26 UTC。"],[],[],null,["# tensorflow::ops::DataFormatVecPermute Class Reference\n\ntensorflow::ops::DataFormatVecPermute\n=====================================\n\n`#include \u003cnn_ops.h\u003e`\n\nReturns the permuted vector/tensor in the destination data format given the.\n\nSummary\n-------\n\none in the source data format.\n\nArguments:\n\n- scope: A [Scope](/versions/r2.1/api_docs/cc/class/tensorflow/scope#classtensorflow_1_1_scope) object\n- x: Vector of size 4 or [Tensor](/versions/r2.1/api_docs/cc/class/tensorflow/tensor#classtensorflow_1_1_tensor) of shape (4, 2) in source data format.\n\n\u003cbr /\u003e\n\nOptional attributes (see [Attrs](/versions/r2.1/api_docs/cc/struct/tensorflow/ops/data-format-vec-permute/attrs#structtensorflow_1_1ops_1_1_data_format_vec_permute_1_1_attrs)):\n\n- src_format: source data format.\n- dst_format: destination data format.\n\n\u003cbr /\u003e\n\nReturns:\n\n- [Output](/versions/r2.1/api_docs/cc/class/tensorflow/output#classtensorflow_1_1_output): Vector of size 4 or [Tensor](/versions/r2.1/api_docs/cc/class/tensorflow/tensor#classtensorflow_1_1_tensor) of shape (4, 2) in destination data format.\n\n\u003cbr /\u003e\n\n| ### Constructors and Destructors ||\n|---|---|\n| [DataFormatVecPermute](#classtensorflow_1_1ops_1_1_data_format_vec_permute_1a8babb4c1e126e473efe79cc7083f1f6d)`(const ::`[tensorflow::Scope](/versions/r2.1/api_docs/cc/class/tensorflow/scope#classtensorflow_1_1_scope)` & scope, ::`[tensorflow::Input](/versions/r2.1/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` x)` ||\n| [DataFormatVecPermute](#classtensorflow_1_1ops_1_1_data_format_vec_permute_1a6d0e6d800f5d0411c873343c3ce89ba9)`(const ::`[tensorflow::Scope](/versions/r2.1/api_docs/cc/class/tensorflow/scope#classtensorflow_1_1_scope)` & scope, ::`[tensorflow::Input](/versions/r2.1/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` x, const `[DataFormatVecPermute::Attrs](/versions/r2.1/api_docs/cc/struct/tensorflow/ops/data-format-vec-permute/attrs#structtensorflow_1_1ops_1_1_data_format_vec_permute_1_1_attrs)` & attrs)` ||\n\n| ### Public attributes ||\n|-----------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------|\n| [operation](#classtensorflow_1_1ops_1_1_data_format_vec_permute_1ac65cce7f5ddf5ef7efd6543c6f83c491) | [Operation](/versions/r2.1/api_docs/cc/class/tensorflow/operation#classtensorflow_1_1_operation) |\n| [y](#classtensorflow_1_1ops_1_1_data_format_vec_permute_1a47a3e96570db483721681a470526eacd) | `::`[tensorflow::Output](/versions/r2.1/api_docs/cc/class/tensorflow/output#classtensorflow_1_1_output) |\n\n| ### Public functions ||\n|-----------------------------------------------------------------------------------------------------------------------------------|------------------------|\n| [node](#classtensorflow_1_1ops_1_1_data_format_vec_permute_1ac6c53640d6b53b6bb728f92a7d426855)`() const ` | `::tensorflow::Node *` |\n| [operator::tensorflow::Input](#classtensorflow_1_1ops_1_1_data_format_vec_permute_1a8c97823cde5e0028f42b19a28d8855d0)`() const ` | ` ` ` ` |\n| [operator::tensorflow::Output](#classtensorflow_1_1ops_1_1_data_format_vec_permute_1a19f5f9a816b2d7941524d4966f60c5a5)`() const ` | ` ` ` ` |\n\n| ### Public static functions ||\n|----------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [DstFormat](#classtensorflow_1_1ops_1_1_data_format_vec_permute_1af8e8527150fac801f3e4db0686f97871)`(StringPiece x)` | [Attrs](/versions/r2.1/api_docs/cc/struct/tensorflow/ops/data-format-vec-permute/attrs#structtensorflow_1_1ops_1_1_data_format_vec_permute_1_1_attrs) |\n| [SrcFormat](#classtensorflow_1_1ops_1_1_data_format_vec_permute_1a466d9b4a767bff538cc2de0b2c8992aa)`(StringPiece x)` | [Attrs](/versions/r2.1/api_docs/cc/struct/tensorflow/ops/data-format-vec-permute/attrs#structtensorflow_1_1ops_1_1_data_format_vec_permute_1_1_attrs) |\n\n| ### Structs ||\n|--------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [tensorflow::ops::DataFormatVecPermute::Attrs](/versions/r2.1/api_docs/cc/struct/tensorflow/ops/data-format-vec-permute/attrs) | Optional attribute setters for [DataFormatVecPermute](/versions/r2.1/api_docs/cc/class/tensorflow/ops/data-format-vec-permute#classtensorflow_1_1ops_1_1_data_format_vec_permute). |\n\nPublic attributes\n-----------------\n\n### operation\n\n```text\nOperation operation\n``` \n\n### y\n\n```text\n::tensorflow::Output y\n``` \n\nPublic functions\n----------------\n\n### DataFormatVecPermute\n\n```gdscript\n DataFormatVecPermute(\n const ::tensorflow::Scope & scope,\n ::tensorflow::Input x\n)\n``` \n\n### DataFormatVecPermute\n\n```gdscript\n DataFormatVecPermute(\n const ::tensorflow::Scope & scope,\n ::tensorflow::Input x,\n const DataFormatVecPermute::Attrs & attrs\n)\n``` \n\n### node\n\n```gdscript\n::tensorflow::Node * node() const \n``` \n\n### operator::tensorflow::Input\n\n```gdscript\n operator::tensorflow::Input() const \n``` \n\n### operator::tensorflow::Output\n\n```gdscript\n operator::tensorflow::Output() const \n``` \n\nPublic static functions\n-----------------------\n\n### DstFormat\n\n```text\nAttrs DstFormat(\n StringPiece x\n)\n``` \n\n### SrcFormat\n\n```text\nAttrs SrcFormat(\n StringPiece x\n)\n```"]]