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

Method MakeCallable

addons/triton/tensorflow_backend_tf.cc:520–534  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

518}
519
520TRITONTF_Error*
521ModelImpl::MakeCallable(const tensorflow::CallableOptions& opts)
522{
523 if (has_callable_) {
524 session_->ReleaseCallable(callable_).IgnoreError();
525 has_callable_ = false;
526 }
527
528 RETURN_IF_TF_ERROR(session_->MakeCallable(opts, &callable_));
529 for (int idx = 0; idx < opts.fetch_size(); idx++) {
530 output_index_map_[opts.fetch(idx)] = idx;
531 }
532 has_callable_ = true;
533 return nullptr;
534}
535
536TRITONTF_Error*
537ModelImpl::Run(

Callers 1

Calls 3

IgnoreErrorMethod · 0.45
ReleaseCallableMethod · 0.45
fetchMethod · 0.45

Tested by

no test coverage detected