Unverified Commit 8d55382c authored by Robert Kimball's avatar Robert Kimball Committed by GitHub

rename metod in descriptor::Tensor (#1678)

parent 000b0b41
...@@ -30,7 +30,7 @@ descriptor::Tensor::Tensor(const element::Type& element_type, ...@@ -30,7 +30,7 @@ descriptor::Tensor::Tensor(const element::Type& element_type,
{ {
} }
void descriptor::Tensor::set_tensor_view_type(const element::Type& element_type, const Shape& shape) void descriptor::Tensor::set_tensor_type(const element::Type& element_type, const Shape& shape)
{ {
m_shape = shape; m_shape = shape;
m_element_type = element_type; m_element_type = element_type;
......
...@@ -44,7 +44,7 @@ namespace ngraph ...@@ -44,7 +44,7 @@ namespace ngraph
Tensor(const element::Type& element_type, const Shape& shape, const std::string& name); Tensor(const element::Type& element_type, const Shape& shape, const std::string& name);
const std::string& get_name() const { return m_name; } const std::string& get_name() const { return m_name; }
void set_tensor_view_type(const element::Type& element_type, const Shape& shape); void set_tensor_type(const element::Type& element_type, const Shape& shape);
const element::Type& get_element_type() const { return m_element_type; } const element::Type& get_element_type() const { return m_element_type; }
const Shape& get_shape() const { return m_shape; } const Shape& get_shape() const { return m_shape; }
......
...@@ -86,7 +86,7 @@ void Node::validate_and_infer_types() ...@@ -86,7 +86,7 @@ void Node::validate_and_infer_types()
void Node::set_output_type(size_t i, const element::Type& element_type, const Shape& shape) void Node::set_output_type(size_t i, const element::Type& element_type, const Shape& shape)
{ {
m_outputs.at(i).get_tensor_ptr()->set_tensor_view_type(element_type, shape); m_outputs.at(i).get_tensor_ptr()->set_tensor_type(element_type, shape);
} }
std::deque<descriptor::Output>& Node::get_outputs() std::deque<descriptor::Output>& Node::get_outputs()
......
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