MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / load_ops

Method load_ops

tensorflow/python/tpu/tpu_embedding.py:819–828  ·  view source on GitHub ↗

Calls and returns the load ops for each embedding table. Returns: A list of ops to load embedding and slot variables from CPU to TPU.

()

Source from the content-addressed store, hash-verified

817 retrieve_op_fns.append(retrieve_ops_fn)
818
819 def load_ops():
820 """Calls and returns the load ops for each embedding table.
821
822 Returns:
823 A list of ops to load embedding and slot variables from CPU to TPU.
824 """
825 load_ops_list = []
826 for load_op_fn in load_op_fns:
827 load_ops_list.extend(load_op_fn())
828 return load_ops_list
829
830 def retrieve_ops():
831 """Calls and returns the retrieve ops for each embedding table.

Callers

nothing calls this directly

Calls 1

extendMethod · 0.45

Tested by

no test coverage detected