W3cubDocs

/TensorFlow Python

tf.contrib.kfac.layer_collection.LayerParametersDict

Class LayerParametersDict

Defined in tensorflow/contrib/kfac/python/ops/layer_collection.py.

An OrderedDict where keys are Tensors or tuples of Tensors.

Ensures that no Tensor is associated with two different keys.

Methods

__init__

__init__(
    *args,
    **kwargs
)

Initialize self. See help(type(self)) for accurate signature.

__new__

__new__(
    type,
    *args,
    **kwargs
)

__contains__

__contains__(key)

True if D has a key k, else False.

__delitem__

__delitem__(key)

Delete self[key].

__eq__

__eq__(value)

__ge__

__ge__(value)

__getattribute__

__getattribute__(name)

__getitem__

__getitem__(key)

x.getitem(y) <==> x[y]

__gt__

__gt__(value)

__iter__

__iter__()

__le__

__le__(value)

__len__

__len__()

__lt__

__lt__(value)

__ne__

__ne__(value)

__setitem__

__setitem__(
    key,
    value
)

Set self[key] to value.

© 2018 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/python/tf/contrib/kfac/layer_collection/LayerParametersDict