• Home
  • Raw
  • Download

Lines Matching refs:model

37      * Gets the supported operations in a model.
39 * getSupportedOperations indicates which operations of a model are fully
43 * @param model A model whose operations--and their corresponding
49 * - INVALID_ARGUMENT if provided model is invalid
57 getSupportedOperations(Model model)
61 * Creates a prepared model for execution.
64 * representations to a model for execution, possiblly including
65 * transformations on the constant data, optimization on the model's graph,
66 * or compilation into the device's native binary format. The model itself
69 * The model is prepared asynchronously with respect to the caller. The
75 * must launch an asynchronous task to prepare the model in the background,
81 * When the asynchronous task has finished preparing the model, it must
83 * prepareModel. If the model was prepared successfully, the callback object
85 * produced IPreparedModel object. If an error occurred preparing the model,
89 * The only information that may be unknown to the model at this stage is
92 * the prepared model can only be finished when it is paired with a set of
93 * inputs to the model. Note that the same prepared model object can be
97 * Multiple threads can call prepareModel on the same model concurrently.
99 * @param model The model to be prepared for execution.
101 * preparing the model for execution and the prepared model
104 * model could not be prepared.
105 * @return status Error status of launching a task which prepares the model
113 prepareModel(Model model, IPreparedModelCallback callback)