Skip to content
Snippets Groups Projects
Unverified Commit 808aa47e authored by Li Xinqi's avatar Li Xinqi Committed by GitHub
Browse files

fixed_vector (#2372)

* 1) class Symbol; 2) return const Shape& from Blob::shape() (#2360)

* 1) class Symbol; 2) return const Shape& from Blob::shape()

* const Symbol<Shape> => const Symbol<Shape>&

* refactor Symbol<T>

* CachedCaller

* define Symbol<T>::ptr_ as std::atomic<const T*>

* replace unique_lock with lock_guard

* refactor Blob::shape()

* refactor Blob::shape_sym

* backup

* refactor cached caller

* op_infer_cache

* ThreadLocalCachedCall

* clang-format

* refactor Blob::shape()

* CheckNumAxesIdenticalAndAssign

* refactor symbol

* rename: FindOrInsertPtr => GetOrCreatePtr

* 1) LeftOnesExtendedAssign; 2) LeftOnesStrippedAssign

* fix a stupid bug in Symbol::operator!=

* fixed_vector

* rename: ToDimVec => ToDimVector
parent 47cc1b1f
No related branches found
No related tags found
No related merge requests found
Showing
with 250 additions and 64 deletions
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