tensorflow:: ops:: MergeV2Checkpoints

#include <io_ops.h>

V2形式固有の機能:シャーディングされたチェックポイントのメタデータファイルをマージします。

まとめ

の

結果として、1つの論理チェックポイント、1つの物理メタデータファイル、および名前が変更されたデータファイルが生成されます。

シャーディングされたチェックポイント構成において、複数のチェックポイントを「グループ化」することを目的としています。

delete_old_dirsがtrueの場合、入力checkpoint_prefixes内の各パスのdirnameを再帰的に削除しようとします。これは、これらのパスがユーザーに直接アクセスできない一時的な場所である場合に便利です。

議論:

  • スコープ:スコープオブジェクト
  • checkpoint_prefixes: マージするV2チェックポイントのプレフィックス。
  • destination_prefix: スカラー値。最終的な接頭辞を指定します。checkpoint_prefix のいずれかと同じ値にすることも可能です。

オプション属性( Attrs参照):

  • delete_old_dirs: 上記を参照。

返品:

コンストラクターとデストラクタ

MergeV2Checkpoints (const :: tensorflow::Scope & scope, :: tensorflow::Input checkpoint_prefixes, :: tensorflow::Input destination_prefix)
MergeV2Checkpoints (const :: tensorflow::Scope & scope, :: tensorflow::Input checkpoint_prefixes, :: tensorflow::Input destination_prefix, const MergeV2Checkpoints::Attrs & attrs)

公開属性

operation

公的機能

operator::tensorflow::Operation () const

パブリック静的関数

DeleteOldDirs (bool x)

構造

tensorflow:: ops:: MergeV2Checkpoints:: Attrs

MergeV2Checkpointsのオプション属性設定子。

公開属性

手術

Operation operation

公的機能

MergeV2Checkpoints

 MergeV2Checkpoints(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input checkpoint_prefixes,
  ::tensorflow::Input destination_prefix
)

MergeV2Checkpoints

 MergeV2Checkpoints(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input checkpoint_prefixes,
  ::tensorflow::Input destination_prefix,
  const MergeV2Checkpoints::Attrs & attrs
)

オペレーター::tensorflow::Operation

 operator::tensorflow::Operation() const 

パブリック静的関数

DeleteOldDirs

Attrs DeleteOldDirs(
  bool x
)