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

Method ProcessConstTensor

tensorflow/core/common_runtime/executor.cc:830–838  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

828
829template <class PropagatorStateType>
830void ExecutorState<PropagatorStateType>::ProcessConstTensor(
831 const NodeItem& item, EntryVector* outputs, NodeExecStatsInterface* stats) {
832 nodestats::SetOpStart(stats);
833 nodestats::SetOpEnd(stats);
834 Entry& output = (*outputs)[0];
835 output.state = Entry::State::HAS_CONST_TENSOR;
836 output.const_tensor = item.const_tensor;
837 output.alloc_attr = item.output_attrs()[0];
838}
839
840template <class PropagatorStateType>
841void ExecutorState<PropagatorStateType>::Process(

Callers

nothing calls this directly

Calls 3

SetOpStartFunction · 0.85
SetOpEndFunction · 0.85
output_attrsMethod · 0.80

Tested by

no test coverage detected