tensorflow::serving::SharedPtrHandle

#include <servable_handle.h>

An implementation of UntypedServableHandle using shared_ptr to do ref-counting on the Loader that owns the Servable.

Summary

Inheritance

Inherits from: tensorflow::serving::UntypedServableHandle

Constructors and Destructors

SharedPtrHandle(const ServableId & id, std::shared_ptr< Loader > loader)
~SharedPtrHandle()

Public functions

id() const override
virtual const ServableId &
servable() override
virtual AnyPtr

Public functions

SharedPtrHandle

 SharedPtrHandle(
  const ServableId & id,
  std::shared_ptr< Loader > loader
)

id

virtual const ServableId & id() const override

servable

virtual AnyPtr servable() override

~SharedPtrHandle

 ~SharedPtrHandle() override=default