Go: Update generated wrapper functions for TensorFlow ops.
PiperOrigin-RevId: 295231808 Change-Id: I6a6a4681a56031f872ffd6f1c52de81a662bc7de
This commit is contained in:
parent
6fc343905a
commit
4c838a38dd
@ -31146,17 +31146,6 @@ 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.
|
// Creates a handle to a Variable resource.
|
||||||
//
|
//
|
||||||
// Arguments:
|
// Arguments:
|
||||||
|
Loading…
Reference in New Issue
Block a user