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

Method IsCompatible

lingvo/core/nested_map.py:480–491  ·  view source on GitHub ↗

Returns true if self and other are compatible. If x and y are two compatible `.NestedMap`, `x.Pack(y.Flatten())` produces y and vice versa. Args: other: Another `.NestedMap`.

(self, other: 'NestedMap')

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 10

testIsCompatibleMethod · 0.95
testWriteReadNpArraysMethod · 0.95
CellFnMethod · 0.80
AssertIsCompatibleFunction · 0.80
CreateTpuEnqueueOpsMethod · 0.80
ExtractMethod · 0.80
ExtractBatchMethod · 0.80
__init__Method · 0.80
TransformShapesMethod · 0.80
TransformShapesMethod · 0.80

Calls 1

_RecursiveMapMethod · 0.95

Tested by 2

testIsCompatibleMethod · 0.76
testWriteReadNpArraysMethod · 0.76