MCPcopy Create free account
hub / github.com/tensorflow/lingvo / CreateChildren

Method CreateChildren

lingvo/core/base_layer.py:1005–1039  ·  view source on GitHub ↗

Create a list or dict of sub layers. The created sub layer list can be accessed by `name`. E.g.:: self.CreateChildren('foo', ...) self.foo[10].FProp... or:: self.children['foo'][10].FProp... self.children.foo[10].FProp... Args: name: The name fo

(
      self, name: str, params: Union[List[BaseLayerParamsT],
                                     Mapping[str, BaseLayerParamsT]]
  )

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 15

__init__Method · 0.80
__init__Method · 0.80
__init__Method · 0.80
__init__Method · 0.80
__init__Method · 0.80
__init__Method · 0.80
__init__Method · 0.80
__init__Method · 0.80
testCreateChildrenMethod · 0.80
testGetDescendantMethod · 0.80
__init__Method · 0.80
__init__Method · 0.80

Calls 3

_CheckNameMethod · 0.95
_CreateChildContextMethod · 0.95
TransformMethod · 0.45

Tested by 2

testCreateChildrenMethod · 0.64
testGetDescendantMethod · 0.64