tf.raw_ops.MapStage
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
Stage (key, values) in the underlying container which behaves like a hashtable.
tf.raw_ops.MapStage(
key,
indices,
values,
dtypes,
capacity=0,
memory_limit=0,
container='',
shared_name='',
name=None
)
Args |
key
|
A Tensor of type int64. int64
|
indices
|
A Tensor of type int32.
|
values
|
A list of Tensor objects. a list of tensors
dtypes A list of data types that inserted values should adhere to.
|
dtypes
|
A list of tf.DTypes.
|
capacity
|
An optional int that is >= 0. Defaults to 0.
Maximum number of elements in the Staging Area. If > 0, inserts
on the container will block when the capacity is reached.
|
memory_limit
|
An optional int that is >= 0. Defaults to 0.
|
container
|
An optional string. Defaults to "".
If non-empty, this queue is placed in the given container. Otherwise,
a default container is used.
|
shared_name
|
An optional string. Defaults to "".
It is necessary to match this name to the matching Unstage Op.
|
name
|
A name for the operation (optional).
|
Returns |
|
The created Operation.
|
如未另行说明,则本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。如需了解详情,请参阅 Google Developers 网站政策。Java 是 Oracle 和/或其关联公司的注册商标。某些内容已根据 Numpy 许可获得了许可。
最后更新时间 (UTC):2024-04-26。
[null,null,["最后更新时间 (UTC):2024-04-26。"],[],[]]