Commit 28c16d47 authored by Robert Kimball's avatar Robert Kimball

style

parent f13257e4
...@@ -135,13 +135,13 @@ shared_ptr<runtime::Tensor> runtime::Executable::create_output_tensor(size_t out ...@@ -135,13 +135,13 @@ shared_ptr<runtime::Tensor> runtime::Executable::create_output_tensor(size_t out
} }
vector<shared_ptr<runtime::Tensor>> runtime::Executable::create_input_tensor(size_t input_index, vector<shared_ptr<runtime::Tensor>> runtime::Executable::create_input_tensor(size_t input_index,
size_t pipeline_depth) size_t pipeline_depth)
{ {
throw runtime_error("create_input_tensor unimplemented"); throw runtime_error("create_input_tensor unimplemented");
} }
vector<shared_ptr<runtime::Tensor>> runtime::Executable::create_output_tensor(size_t output_index, vector<shared_ptr<runtime::Tensor>> runtime::Executable::create_output_tensor(size_t output_index,
size_t pipeline_depth) size_t pipeline_depth)
{ {
throw runtime_error("create_output_tensor unimplemented"); throw runtime_error("create_output_tensor unimplemented");
} }
...@@ -91,8 +91,8 @@ public: ...@@ -91,8 +91,8 @@ public:
/// \param pipeline_depth The number of stages in the input pipeline. For double-buffered input /// \param pipeline_depth The number of stages in the input pipeline. For double-buffered input
/// you would specify pipeline_depth=2 /// you would specify pipeline_depth=2
/// \returns A vector of Tensors, one for each stage of the pipeline /// \returns A vector of Tensors, one for each stage of the pipeline
virtual std::vector<std::shared_ptr<runtime::Tensor>> create_input_tensor(size_t input_index, virtual std::vector<std::shared_ptr<runtime::Tensor>>
size_t pipeline_depth); create_input_tensor(size_t input_index, size_t pipeline_depth);
/// \brief Create a vector of output Tensors /// \brief Create a vector of output Tensors
/// \param output_index The index position in the output Result vector. This would be the same /// \param output_index The index position in the output Result vector. This would be the same
...@@ -100,8 +100,8 @@ public: ...@@ -100,8 +100,8 @@ public:
/// \param pipeline_depth The number of stages in the output pipeline. For double-buffered output /// \param pipeline_depth The number of stages in the output pipeline. For double-buffered output
/// you would specify pipeline_depth=2 /// you would specify pipeline_depth=2
/// \returns A vector of Tensors, one for each stage of the pipeline /// \returns A vector of Tensors, one for each stage of the pipeline
virtual std::vector<std::shared_ptr<runtime::Tensor>> create_output_tensor(size_t output_index, virtual std::vector<std::shared_ptr<runtime::Tensor>>
size_t pipeline_depth); create_output_tensor(size_t output_index, size_t pipeline_depth);
protected: protected:
/// \brief Called at the end of compile to the values to be returned by get_parameters /// \brief Called at the end of compile to the values to be returned by get_parameters
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment