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

Method GetPerBatchSize

lingvo/core/base_input_generator.py:327–348  ·  view source on GitHub ↗

Returns the number of examples in input_batch. This is useful when the batch size needs to be calculated dynamically as input_batch changes. It has a higher priority than `GlobalBatchSize`. The implementation should not depend on any other implicit/side input tensors, as this metho

(self, input_batch)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

_FPropResultMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected