16 #include "tensorflow_serving/servables/tensorflow/oss/resource_estimator.h"
18 #include "tensorflow/core/platform/path.h"
19 #include "tensorflow_serving/resources/resource_values.h"
20 #include "tensorflow_serving/servables/tensorflow/util.h"
22 namespace tensorflow {
25 Status EstimateMainRamBytesFromValidationResult(
const string& path,
26 ResourceAllocation* estimate) {
27 return errors::Unimplemented(
"Reading validation results is not supported");
30 Status EstimateMainRamBytesFromPath(
const string& path,
31 bool use_validation_result,
33 ResourceAllocation* estimate) {
34 return EstimateResourceFromPathUsingDiskState(path, env, estimate);