Searched refs:InferenceUsage (Results 1 – 7 of 7) sorted by relevance
319 enum class InferenceUsage { enum345 InferenceUsage usage = InferenceUsage::SUSTAINED_SPEED;
62 InferenceUsage ToUsage(int32_t usage) { in ToUsage()65 return InferenceUsage::FAST_SINGLE_ANSWER; in ToUsage()67 return InferenceUsage::SUSTAINED_SPEED; in ToUsage()69 return InferenceUsage::UNKNOWN; in ToUsage()
138 if (options.usage == InferenceUsage::UNKNOWN) { in IsValid()
660 if (options.usage == InferenceUsage::FAST_SINGLE_ANSWER) { in Initialize()663 } else if (options.usage == InferenceUsage::SUSTAINED_SPEED) { in Initialize()923 if (options.usage == InferenceUsage::FAST_SINGLE_ANSWER) { in BuildSerializedModel()926 } else if (options.usage == InferenceUsage::SUSTAINED_SPEED) { in BuildSerializedModel()
148 options.usage = InferenceUsage::FAST_SINGLE_ANSWER; in Prepare()
168 options.usage = InferenceUsage::SUSTAINED_SPEED; in RunModelSampleWithInternalAPI()292 options.usage = InferenceUsage::SUSTAINED_SPEED; in RunModelSampleWithInternalAPISerializedKernels()
560 options_.usage == InferenceUsage::SUSTAINED_SPEED && in Build()