Searched refs:prepareModel (Results 1 - 6 of 6) sorted by relevance

/frameworks/ml/nn/runtime/
H A DVersionedIDevice.h96 * prepareModel is used to make any necessary transformations or alternative
103 * prepareModel function must verify the inputs to the prepareModel function
104 * are correct. If there is an error, prepareModel must immediately invoke
107 * the prepareModel function are valid and there is no error, prepareModel
109 * and immediately return from prepareModel with ErrorStatus::NONE. If the
110 * asynchronous task fails to launch, prepareModel must immediately invoke
116 * prepareModel. If the model was prepared successfully, the callback object
130 * Multiple threads can call prepareModel o
[all...]
H A DVersionedIDevice.cpp92 ErrorStatus VersionedIDevice::prepareModel(const Model& model, ExecutionPreference preference, function in class:android::nn::VersionedIDevice
102 Return<ErrorStatus> ret = mDeviceV1_0->prepareModel(convertToV1_0(model), callback);
104 LOG(ERROR) << "prepareModel failure: " << ret.description();
111 LOG(ERROR) << "Could not handle prepareModel!";
H A DExecutionBuilder.cpp562 ErrorStatus prepareLaunchStatus = mDriver->prepareModel(model, preference,
H A DExecutionPlan.cpp49 Return<ErrorStatus> prepareLaunchStatus = device->getInterface()->prepareModel(
/frameworks/ml/nn/driver/sample/
H A DSampleDriver.h42 Return<ErrorStatus> prepareModel(const V1_0::Model& model,
H A DSampleDriver.cpp52 Return<ErrorStatus> SampleDriver::prepareModel(const V1_0::Model& model, function in class:android::nn::SampleDriver
55 VLOG(DRIVER) << "prepareModel";
56 LOG(ERROR) << "invalid callback passed to prepareModel";
60 VLOG(DRIVER) << "prepareModel";
76 LOG(ERROR) << "invalid callback passed to prepareModel";

Completed in 220 milliseconds