tensorflow::ops::RestoreSlice::Attrs

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)
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

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

© 2017 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/api_docs/cc/struct/tensorflow/ops/restore-slice/attrs.html

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部