提交 0b772099 编写于 作者: A A. Unique TensorFlower 提交者: TensorFlower Gardener

Go: Update generated wrapper functions for TensorFlow ops.

PiperOrigin-RevId: 295062985
Change-Id: Idbf963e6ff056ed721398b6f39aa466dc6465647
上级 cd8e8d82
......@@ -31146,6 +31146,17 @@ func VarHandleOpSharedName(value string) VarHandleOpAttr {
}
}
// VarHandleOpAllowedDevices sets the optional allowed_devices attribute to value.
//
// value: The allowed devices containing the resource variable. Set when the output
// ResourceHandle represents a per-replica/partitioned resource variable.
// If not specified, defaults to {}
func VarHandleOpAllowedDevices(value []string) VarHandleOpAttr {
return func(m optionalAttr) {
m["allowed_devices"] = value
}
}
// Creates a handle to a Variable resource.
//
// Arguments:
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册