TensorFlow Serving C++ API Documentation
Public Member Functions | List of all members
tensorflow::serving::MockServable Class Reference
Inheritance diagram for tensorflow::serving::MockServable:
Inheritance graph
[legend]
Collaboration diagram for tensorflow::serving::MockServable:
Collaboration graph
[legend]

Public Member Functions

 MOCK_METHOD (absl::Status, Classify,(const tensorflow::serving::Servable::RunOptions &run_options, const tensorflow::serving::ClassificationRequest &request, tensorflow::serving::ClassificationResponse *response),(final))
 
 MOCK_METHOD (absl::Status, Regress,(const tensorflow::serving::Servable::RunOptions &run_options, const tensorflow::serving::RegressionRequest &request, tensorflow::serving::RegressionResponse *response),(final))
 
 MOCK_METHOD (absl::Status, Predict,(const tensorflow::serving::Servable::RunOptions &run_options, const tensorflow::serving::PredictRequest &request, tensorflow::serving::PredictResponse *response),(final))
 
 MOCK_METHOD (absl::StatusOr< std::unique_ptr< PredictStreamedContext >>, PredictStreamed,(const tensorflow::serving::Servable::RunOptions &run_options, absl::AnyInvocable< void(absl::StatusOr< tensorflow::serving::PredictResponse >)> response_callback),(final))
 
 MOCK_METHOD (absl::Status, MultiInference,(const tensorflow::serving::Servable::RunOptions &run_options, const tensorflow::serving::MultiInferenceRequest &request, tensorflow::serving::MultiInferenceResponse *response),(final))
 
 MOCK_METHOD (absl::Status, GetModelMetadata,(const tensorflow::serving::GetModelMetadataRequest &request, tensorflow::serving::GetModelMetadataResponse *response),(final))
 
 MOCK_METHOD (bool, SupportsPaging,(),(const, final))
 
 MOCK_METHOD (absl::Status, Suspend,(),(final))
 
 MOCK_METHOD (absl::Status, Resume,(),(final))
 
- Public Member Functions inherited from tensorflow::serving::Servable
 Servable (absl::string_view name, int64_t version, bool is_critical=false)
 
absl::string_view name () const
 
int64_t version () const
 
bool IsCritical () const
 
virtual absl::Status Classify (const RunOptions &run_options, const ClassificationRequest &request, ClassificationResponse *response)=0
 
virtual absl::Status Regress (const RunOptions &run_options, const RegressionRequest &request, RegressionResponse *response)=0
 
virtual absl::Status Predict (const RunOptions &run_options, const PredictRequest &request, PredictResponse *response)=0
 
virtual absl::StatusOr< std::unique_ptr< PredictStreamedContext > > PredictStreamed (const RunOptions &run_options, absl::AnyInvocable< void(absl::StatusOr< PredictResponse >)> response_callback)=0
 
virtual absl::Status MultiInference (const RunOptions &run_options, const MultiInferenceRequest &request, MultiInferenceResponse *response)=0
 
virtual absl::Status GetModelMetadata (const GetModelMetadataRequest &request, GetModelMetadataResponse *response)=0
 
virtual bool SupportsPaging () const
 
virtual absl::Status Suspend ()
 
virtual absl::Status Resume ()
 

Additional Inherited Members

- Public Types inherited from tensorflow::serving::Servable
using RunOptions = tensorflow::serving::servables::RunOptions
 

Detailed Description

Definition at line 43 of file mock_servable.h.


The documentation for this class was generated from the following file: