Skip to content

Commit

Permalink
[onert] Fix typo in IPortableTensor.h (#13380)
Browse files Browse the repository at this point in the history
This commit fixes typos in IPortableTensor.h.

ONE-DCO-1.0-Signed-off-by: Hyeongseok Oh <[email protected]>
  • Loading branch information
hseok-oh authored Jul 10, 2024
1 parent 20e8e5e commit dfd595b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions runtime/onert/core/include/backend/IPortableTensor.h
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ class IPortableTensor : public ITensor
const ir::OperandInfo &get_info() const { return _info; }
const ir::Sparsity *sparsity() const { return _info.typeInfo().sparsity(); }

// Finailized methods for IPortableTensor by "_info" field read
// Finalized methods for IPortableTensor by "_info" field read
size_t total_size() const override final { return _info.total_size(); }
size_t calcOffset(const ir::Coordinates &coords) const override final;
ir::DataType data_type() const override final { return _info.typeInfo().type(); }
Expand All @@ -65,7 +65,7 @@ class IPortableTensor : public ITensor
bool is_dynamic() const override final { return _info.isDynamic(); }
ir::Shape getShape() const override final { return _info.shape(); }

// Finailized methods for IPortableTensor by no padding
// Finalized methods for IPortableTensor by no padding
bool has_padding() const final { return false; }
void access(const std::function<void(ITensor &tensor)> &fn) final { fn(*this); }

Expand Down

0 comments on commit dfd595b

Please sign in to comment.