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

Method __init__

lingvo/executor.py:632–759  ·  view source on GitHub ↗

Construct a HostDrivenExecutor BaseRunner. Args: train_cfg: SingleTaskModelParams or MultiTaskModelParams ps_params_dict: A dict of top-level task name -> ProgramSchedule params, if train_cfg is a SingleTaskModelParams, we expect only one entry. *args: List args to pas

(
      self,
      train_cfg: py_utils.InstantiableParams[
          lingvo_program.HostDrivenTrainProgram],
      ps_params_dict: Dict[str, lingvo_program.ProgramScheduleParamsT],
      *args,
      **kwargs,
  )

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 9

_CreateTpuStrategyMethod · 0.95
_WriteToLogMethod · 0.80
ToTextMethod · 0.80
ToProtoMethod · 0.80
SetStatusMessageFnMethod · 0.80
__init__Method · 0.45
InstantiateMethod · 0.45
ProgramsMethod · 0.45
BuildTpuSubgraphMethod · 0.45

Tested by

no test coverage detected