MCPcopy Create free account
hub / github.com/YunwenTechnology/QueryGeneration / host_call_fn

Function host_call_fn

train/utils.py:182–208  ·  view source on GitHub ↗

Training host call. Creates scalar summaries for training metrics. This function is executed on the CPU and should not directly reference any Tensors in the rest of the `model_fn`. To pass Tensors from the model to the `metric_fn`, provide as part of the `host_call`. See

(global_step, *args)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected