[TF FE] Fix leftovers from code review (#16422)
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
This commit is contained in:
1 parent
60436dee5a
commit
82a992b95d
1 file changed
+3
-2
@@ -27,9 +27,10 @@ OutputVector translate_strided_slice_op(const NodeContext& node) {
|
||||
return vector<int64_t>{};
|
||||
}
|
||||
size_t max_length = sizeof(mask) * CHAR_BIT;
|
||||
vector<int64_t> vec{};
|
||||
vector<int64_t> vec;
|
||||
vec.reserve(max_length);
|
||||
for (size_t i = 0; i < max_length; ++i) {
|
||||
if ((mask >> i & 0x1) == 1) {
|
||||
if (((mask >> i) & 0x1) == 1) {
|
||||
// resize the vector by appending with required number of zeros
|
||||
vec.resize(i + 1, 0);
|
||||
vec[i] = 1;
|
||||
|
||||
Reference in new issue
Block a user