tensorflow:: ops:: RestoreSlice:: Attrs

#include <io_ops.h>

Optional attribute setters for RestoreSlice .

Summary

Public attributes

preferred_shard_ = -1
int64

Public functions

PreferredShard (int64 x)
TF_MUST_USE_RESULT Attrs
Index of file to open first if multiple files match file_pattern .

Public attributes

preferred_shard_

int64 tensorflow::ops::RestoreSlice::Attrs::preferred_shard_ = -1

Public functions

PreferredShard

TF_MUST_USE_RESULT Attrs tensorflow::ops::RestoreSlice::Attrs::PreferredShard(
  int64 x
)

Index of file to open first if multiple files match file_pattern .

See the documentation for Restore .

Defaults to -1