return tensors[idx]->getName();
}
+/**
+ * @brief Get the number of Outputs tensor objects
+ *
+ * @return unsigned int number of output tensors
+ */
+unsigned int RunLayerContext::getNumOutputs() const { return outputs.size(); }
+
+/**
+ * @brief Get the number of inputs tensor objects
+ *
+ * @return unsigned int number of input tensors
+ */
+unsigned int RunLayerContext::getNumInputs() const { return inputs.size(); }
+
+/**
+ * @brief Get the number of weights tensor objects
+ *
+ * @return unsigned int number of weight tensors
+ */
+unsigned int RunLayerContext::getNumWeights() const { return weights.size(); }
+
+/**
+ * @brief Get the number of requested tensors objects
+ *
+ * @return unsigned int number of requested tensors
+ */
+unsigned int RunLayerContext::getNumTensors() const { return tensors.size(); }
+
/**
* @brief Set the batch for the run context
*
*
* @return unsigned int number of output tensors
*/
- unsigned int getNumOutputs() const { return outputs.size(); }
+ unsigned int getNumOutputs() const;
/**
* @brief Get the number of inputs tensor objects
*
* @return unsigned int number of input tensors
*/
- unsigned int getNumInputs() const { return inputs.size(); }
+ unsigned int getNumInputs() const;
/**
* @brief Get the number of weights tensor objects
*
* @return unsigned int number of weight tensors
*/
- unsigned int getNumWeights() const { return weights.size(); }
+ unsigned int getNumWeights() const;
/**
* @brief Get the Number of Weight Optimizer Variable tensor object
*
* @return unsigned int number of requested tensors
*/
- unsigned int getNumTensors() const { return tensors.size(); }
-
+ unsigned int getNumTensors() const;
/**
* @brief Set the batch for the run context
*