pub async fn run<'a>(
        &self,
        inputs: &HashMap<String, InputTensor<'a>>,
    ) -> Result<HashMap<String, OutputTensor>, SessionError> {
        Ok(self.gpu_model.infer(inputs).await?)
    }
/// Perform inference given the inputs provided and return all the outputs the model was compiled to return.
Perform inference given the inputs provided and return all the outputs the model was compiled to return.
Perform inference given the inputs provided and return all the outputs the model was compiled to return .
pub async fn run<'a>(
        &self,
        inputs: &HashMap<String, InputTensor<'a>>,
    ) -> Result<HashMap<String, OutputTensor>, SessionError> {
        Ok(self.gpu_model.infer(inputs).await?)
    }
pub async fn run < ' a > ( & self , inputs : & HashMap < String , InputTensor < ' a > > , ) -> Result < HashMap < String , OutputTensor > , SessionError > { Ok ( self . gpu_model . infer ( inputs ) . await ? ) }
Perform inference given the inputs provided and return all the outputs the model was compiled to return.
Perform inference given the inputs provided and return all the outputs the model was compiled to return .
&self
inputs
&HashMap<String, InputTensor<'a>>
&self
inputs
&HashMap<String, InputTensor<'a>>