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

Method StoreTensor

lingvo/core/builder_layers.py:603–628  ·  view source on GitHub ↗

Add tensor 't' to 'named_tensors' at 'path'. A path may be a name or a path into a NestedMap. For instance, StoreTensor('a.b.c', [1]), is equivalent to this: {'a', {'b': {'c': [1]}}. NestedMaps will be created if they do not already exist, or modified if they do exist. However,

(self, path, tensor)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 5

FPropMetaMethod · 0.95
PrepareExternalInputsMethod · 0.95
FPropMethod · 0.95
testGraphTensorsMethod · 0.95
FPropMethod · 0.80

Calls 1

splitMethod · 0.80

Tested by 1

testGraphTensorsMethod · 0.76